Block Amazon AWS traffic with CSF

spiros · 1 · 1564

spiros

  • Administrator
  • Hero Member
  • *****
    • Posts: 855814
    • Gender:Male
  • point d’amour
How to block Amazon AWS traffic - PlotHost
how can I create a block list - ConfigServer Community Forum

Attached their current IPs (March 2024) in one IP range per line format.

Upload the file to home directory and in csf.deny add
Code: [Select]
Include /home/amazonrange.txt
Be aware that this may make your sites slower.
One possible side effect is that Cpanel installations might be unable to have SSL certificates auto-renewed (maybe because one of the IPs blocked belongs to an SSL issuer).

Current IP ranges in json format
https://ip-ranges.amazonaws.com/ip-ranges.json
« Last Edit: 09 Jul, 2024, 09:31:54 by spiros »


 

Search Tools