How I dealth with an EC2 Clickagy Intelligence Bot v2 Attack from amazonaws.com

First, credit to the tech support people at Codero. Now, I logged into the website server root directory by opening the Terminal (MAC). On a PC I would have had to use the Command window and use PuTTY.

The tech support person installed iftop on the server and detected lots of traffic from amazonaws.com domains and alerted me to that. I had to run iftop and capture screen after screen and extract the IP addresses, and block them. This required opening another Terminal window, and logging in. To log in, at the prompt, I entered:

ssh 69.64.83.144 -l root
but you of course would not use 69.64.83.144 unless you are hacking into my server. You would use the IP address of your web domain. If you don’t know it, you would at the prompt enter

ping example.com
or whatever the domain happens to be. The IP address will be revealed. After entering my password I had to enter a long list of commands. I was not sure whether I was supposed to block INPUT or OUTPUT so I blocked both, for every block of 256 IP addresses.

Here is a list of commands you can enter. I found that when I pasted the list into the Terminal window while it was logged on, the remote server ate the text line by line. However, do not enter too many lines at one time. Enter no more than 20 lines, I would say. This, of course, from a webmaster who has no idea what he is doing. I pasted in too many but I cleared the whole list by entering

iptables -F


and then re-loaded the list a few at a time.Here is the list. Enjoy:
iptables -A OUTPUT -s 107.20.38.0/24  -j DROP
iptables -A INPUT -s 107.20.38.0/24  -j DROP
iptables -A OUTPUT -s 107.21.31.0/24  -j DROP
iptables -A INPUT -s 107.21.31.0/24  -j DROP
iptables -A OUTPUT -s 107.23.178.0/24  -j DROP
iptables -A INPUT -s 107.23.178.0/24  -j DROP
iptables -A OUTPUT -s 107.23.224.0/24  -j DROP
iptables -A INPUT -s 107.23.224.0/24  -j DROP
iptables -A OUTPUT -s 174.129.126.0/24  -j DROP
iptables -A INPUT -s 174.129.126.0/24  -j DROP
iptables -A OUTPUT -s 184.72.197.0/24  -j DROP
iptables -A INPUT -s 184.72.197.0/24  -j DROP
iptables -A OUTPUT -s 184.72.92.0/24  -j DROP
iptables -A INPUT -s 184.72.92.0/24  -j DROP
iptables -A OUTPUT -s 184.72.95.0/24  -j DROP
iptables -A INPUT -s 184.72.95.0/24  -j DROP
iptables -A OUTPUT -s 184.73.118.0/24  -j DROP
iptables -A INPUT -s 184.73.118.0/24  -j DROP
iptables -A OUTPUT -s 184.73.141.0/24  -j DROP
iptables -A INPUT -s 184.73.141.0/24  -j DROP
iptables -A OUTPUT -s 184.73.142.0/24  -j DROP
iptables -A INPUT -s 184.73.142.0/24  -j DROP
iptables -A OUTPUT -s 184.73.72.0/24  -j DROP
iptables -A INPUT -s 184.73.72.0/24  -j DROP
iptables -A OUTPUT -s 204.236.222.0/24  -j DROP
iptables -A INPUT -s 204.236.222.0/24  -j DROP
iptables -A OUTPUT -s 204.236.252.0/24  -j DROP
iptables -A INPUT -s 204.236.252.0/24  -j DROP
iptables -A OUTPUT -s 34.201.139.0/24  -j DROP
iptables -A INPUT -s 34.201.139.0/24  -j DROP
iptables -A OUTPUT -s 34.201.153.0/24  -j DROP
iptables -A INPUT -s 34.201.153.0/24  -j DROP
iptables -A OUTPUT -s 34.201.162.0/24  -j DROP
iptables -A INPUT -s 34.201.162.0/24  -j DROP
iptables -A OUTPUT -s 34.201.166.0/24  -j DROP
iptables -A INPUT -s 34.201.166.0/24  -j DROP
iptables -A OUTPUT -s 34.201.168.0/24  -j DROP
iptables -A INPUT -s 34.201.168.0/24  -j DROP
iptables -A OUTPUT -s 34.201.220.0/24  -j DROP
iptables -A INPUT -s 34.201.220.0/24  -j DROP
iptables -A OUTPUT -s 34.201.221.0/24  -j DROP
iptables -A INPUT -s 34.201.221.0/24  -j DROP
iptables -A OUTPUT -s 34.202.9.0/24  -j DROP
iptables -A INPUT -s 34.202.9.0/24  -j DROP
iptables -A OUTPUT -s 34.203.195.0/24  -j DROP
iptables -A INPUT -s 34.203.195.0/24  -j DROP
iptables -A OUTPUT -s 34.203.207.0/24  -j DROP
iptables -A INPUT -s 34.203.207.0/24  -j DROP
iptables -A OUTPUT -s 34.203.210.0/24  -j DROP
iptables -A INPUT -s 34.203.210.0/24  -j DROP
iptables -A OUTPUT -s 34.203.220.0/24  -j DROP
iptables -A INPUT -s 34.203.220.0/24  -j DROP
iptables -A OUTPUT -s 34.203.229.0/24  -j DROP
iptables -A INPUT -s 34.203.229.0/24  -j DROP
iptables -A OUTPUT -s 34.203.231.0/24  -j DROP
iptables -A INPUT -s 34.203.231.0/24  -j DROP
iptables -A OUTPUT -s 34.204.100.0/24  -j DROP
iptables -A INPUT -s 34.204.100.0/24  -j DROP
iptables -A OUTPUT -s 34.204.71.0/24  -j DROP
iptables -A INPUT -s 34.204.71.0/24  -j DROP
iptables -A OUTPUT -s 34.204.73.0/24  -j DROP
iptables -A INPUT -s 34.204.73.0/24  -j DROP
iptables -A OUTPUT -s 34.204.75.0/24  -j DROP
iptables -A INPUT -s 34.204.75.0/24  -j DROP
iptables -A OUTPUT -s 34.204.94.0/24  -j DROP
iptables -A INPUT -s 34.204.94.0/24  -j DROP
iptables -A OUTPUT -s 34.207.100.0/24  -j DROP
iptables -A INPUT -s 34.207.100.0/24  -j DROP
iptables -A OUTPUT -s 34.207.105.0/24  -j DROP
iptables -A INPUT -s 34.207.105.0/24  -j DROP
iptables -A OUTPUT -s 34.207.132.0/24  -j DROP
iptables -A INPUT -s 34.207.132.0/24  -j DROP
iptables -A OUTPUT -s 34.207.133.0/24  -j DROP
iptables -A INPUT -s 34.207.133.0/24  -j DROP
iptables -A OUTPUT -s 34.207.135.0/24  -j DROP
iptables -A INPUT -s 34.207.135.0/24  -j DROP
iptables -A OUTPUT -s 34.207.139.0/24  -j DROP
iptables -A INPUT -s 34.207.139.0/24  -j DROP
iptables -A OUTPUT -s 34.207.142.0/24  -j DROP
iptables -A INPUT -s 34.207.142.0/24  -j DROP
iptables -A OUTPUT -s 34.207.199.0/24  -j DROP
iptables -A INPUT -s 34.207.199.0/24  -j DROP
iptables -A OUTPUT -s 34.207.202.0/24  -j DROP
iptables -A INPUT -s 34.207.202.0/24  -j DROP
iptables -A OUTPUT -s 34.207.204.0/24  -j DROP
iptables -A INPUT -s 34.207.204.0/24  -j DROP
iptables -A OUTPUT -s 34.207.215.0/24  -j DROP
iptables -A INPUT -s 34.207.215.0/24  -j DROP
iptables -A OUTPUT -s 34.207.217.0/24  -j DROP
iptables -A INPUT -s 34.207.217.0/24  -j DROP
iptables -A OUTPUT -s 34.207.240.0/24  -j DROP
iptables -A INPUT -s 34.207.240.0/24  -j DROP
iptables -A OUTPUT -s 34.207.247.0/24  -j DROP
iptables -A INPUT -s 34.207.247.0/24  -j DROP
iptables -A OUTPUT -s 34.207.249.0/24  -j DROP
iptables -A INPUT -s 34.207.249.0/24  -j DROP
iptables -A OUTPUT -s 34.207.250.0/24  -j DROP
iptables -A INPUT -s 34.207.250.0/24  -j DROP
iptables -A OUTPUT -s 34.207.97.0/24  -j DROP
iptables -A INPUT -s 34.207.97.0/24  -j DROP
iptables -A OUTPUT -s 34.208.107.0/24  -j DROP
iptables -A INPUT -s 34.208.107.0/24  -j DROP
iptables -A OUTPUT -s 34.209.104.0/24  -j DROP
iptables -A INPUT -s 34.209.104.0/24  -j DROP
iptables -A OUTPUT -s 34.223.211.0/24  -j DROP
iptables -A INPUT -s 34.223.211.0/24  -j DROP
iptables -A OUTPUT -s 35.160.107.0/24  -j DROP
iptables -A INPUT -s 35.160.107.0/24  -j DROP
iptables -A OUTPUT -s 35.160.35.0/24  -j DROP
iptables -A INPUT -s 35.160.35.0/24  -j DROP
iptables -A OUTPUT -s 35.161.103.0/24  -j DROP
iptables -A INPUT -s 35.161.103.0/24  -j DROP
iptables -A OUTPUT -s 35.165.180.0/24  -j DROP
iptables -A INPUT -s 35.165.180.0/24  -j DROP
iptables -A OUTPUT -s 35.166.140.0/24  -j DROP
iptables -A INPUT -s 35.166.140.0/24  -j DROP
iptables -A OUTPUT -s 52.2.10.0/24  -j DROP
iptables -A INPUT -s 52.2.10.0/24  -j DROP
iptables -A OUTPUT -s 52.200.171.0/24  -j DROP
iptables -A INPUT -s 52.200.171.0/24  -j DROP
iptables -A OUTPUT -s 52.200.227.0/24  -j DROP
iptables -A INPUT -s 52.200.227.0/24  -j DROP
iptables -A OUTPUT -s 52.200.97.0/24  -j DROP
iptables -A INPUT -s 52.200.97.0/24  -j DROP
iptables -A OUTPUT -s 52.202.122.0/24  -j DROP
iptables -A INPUT -s 52.202.122.0/24  -j DROP
iptables -A OUTPUT -s 52.203.168.0/24  -j DROP
iptables -A INPUT -s 52.203.168.0/24  -j DROP
iptables -A OUTPUT -s 52.203.182.0/24  -j DROP
iptables -A INPUT -s 52.203.182.0/24  -j DROP
iptables -A OUTPUT -s 52.204.254.0/24  -j DROP
iptables -A INPUT -s 52.204.254.0/24  -j DROP
iptables -A OUTPUT -s 52.204.46.0/24  -j DROP
iptables -A INPUT -s 52.204.46.0/24  -j DROP
iptables -A OUTPUT -s 52.205.213.0/24  -j DROP
iptables -A INPUT -s 52.205.213.0/24  -j DROP
iptables -A OUTPUT -s 52.207.195.0/24  -j DROP
iptables -A INPUT -s 52.207.195.0/24  -j DROP
iptables -A OUTPUT -s 52.207.229.0/24  -j DROP
iptables -A INPUT -s 52.207.229.0/24  -j DROP
iptables -A OUTPUT -s 52.207.231.0/24  -j DROP
iptables -A INPUT -s 52.207.231.0/24  -j DROP
iptables -A OUTPUT -s 52.207.6.0/24  -j DROP
iptables -A INPUT -s 52.207.6.0/24  -j DROP
iptables -A OUTPUT -s 52.23.247.0/24  -j DROP
iptables -A INPUT -s 52.23.247.0/24  -j DROP
iptables -A OUTPUT -s 52.27.179.0/24  -j DROP
iptables -A INPUT -s 52.27.179.0/24  -j DROP
iptables -A OUTPUT -s 52.33.111.0/24  -j DROP
iptables -A INPUT -s 52.33.111.0/24  -j DROP
iptables -A OUTPUT -s 52.34.96.0/24  -j DROP
iptables -A INPUT -s 52.34.96.0/24  -j DROP
iptables -A OUTPUT -s 52.36.214.0/24  -j DROP
iptables -A INPUT -s 52.36.214.0/24  -j DROP
iptables -A OUTPUT -s 52.36.43.0/24  -j DROP
iptables -A INPUT -s 52.36.43.0/24  -j DROP
iptables -A OUTPUT -s 52.38.226.0/24  -j DROP
iptables -A INPUT -s 52.38.226.0/24  -j DROP
iptables -A OUTPUT -s 52.4.244.0/24  -j DROP
iptables -A INPUT -s 52.4.244.0/24  -j DROP
iptables -A OUTPUT -s 52.40.246.0/24  -j DROP
iptables -A INPUT -s 52.40.246.0/24  -j DROP
iptables -A OUTPUT -s 52.41.249.0/24  -j DROP
iptables -A INPUT -s 52.41.249.0/24  -j DROP
iptables -A OUTPUT -s 52.42.86.0/24  -j DROP
iptables -A INPUT -s 52.42.86.0/24  -j DROP
iptables -A OUTPUT -s 52.54.181.0/24  -j DROP
iptables -A INPUT -s 52.54.181.0/24  -j DROP
iptables -A OUTPUT -s 52.55.111.0/24  -j DROP
iptables -A INPUT -s 52.55.111.0/24  -j DROP
iptables -A OUTPUT -s 52.55.16.0/24  -j DROP
iptables -A INPUT -s 52.55.16.0/24  -j DROP
iptables -A OUTPUT -s 52.55.195.0/24  -j DROP
iptables -A INPUT -s 52.55.195.0/24  -j DROP
iptables -A OUTPUT -s 52.55.33.0/24  -j DROP
iptables -A INPUT -s 52.55.33.0/24  -j DROP
iptables -A OUTPUT -s 52.55.36.0/24  -j DROP
iptables -A INPUT -s 52.55.36.0/24  -j DROP
iptables -A OUTPUT -s 52.55.37.0/24  -j DROP
iptables -A INPUT -s 52.55.37.0/24  -j DROP
iptables -A OUTPUT -s 52.70.78.0/24  -j DROP
iptables -A INPUT -s 52.70.78.0/24  -j DROP
iptables -A OUTPUT -s 52.71.232.0/24  -j DROP
iptables -A INPUT -s 52.71.232.0/24  -j DROP
iptables -A OUTPUT -s 52.71.252.0/24  -j DROP
iptables -A INPUT -s 52.71.252.0/24  -j DROP
iptables -A OUTPUT -s 52.71.64.0/24  -j DROP
iptables -A INPUT -s 52.71.64.0/24  -j DROP
iptables -A OUTPUT -s 52.90.10.0/24  -j DROP
iptables -A INPUT -s 52.90.10.0/24  -j DROP
iptables -A OUTPUT -s 52.90.119.0/24  -j DROP
iptables -A INPUT -s 52.90.119.0/24  -j DROP
iptables -A OUTPUT -s 52.90.123.0/24  -j DROP
iptables -A INPUT -s 52.90.123.0/24  -j DROP
iptables -A OUTPUT -s 52.90.162.0/24  -j DROP
iptables -A INPUT -s 52.90.162.0/24  -j DROP
iptables -A OUTPUT -s 52.90.17.0/24  -j DROP
iptables -A INPUT -s 52.90.17.0/24  -j DROP
iptables -A OUTPUT -s 52.90.211.0/24  -j DROP
iptables -A INPUT -s 52.90.211.0/24  -j DROP
iptables -A OUTPUT -s 52.90.227.0/24  -j DROP
iptables -A INPUT -s 52.90.227.0/24  -j DROP
iptables -A OUTPUT -s 52.90.48.0/24  -j DROP
iptables -A INPUT -s 52.90.48.0/24  -j DROP
iptables -A OUTPUT -s 52.90.62.0/24  -j DROP
iptables -A INPUT -s 52.90.62.0/24  -j DROP
iptables -A OUTPUT -s 52.90.63.0/24  -j DROP
iptables -A INPUT -s 52.90.63.0/24  -j DROP
iptables -A OUTPUT -s 52.90.80.0/24  -j DROP
iptables -A INPUT -s 52.90.80.0/24  -j DROP
iptables -A OUTPUT -s 52.90.81.0/24  -j DROP
iptables -A INPUT -s 52.90.81.0/24  -j DROP
iptables -A OUTPUT -s 52.91.0.0/24  -j DROP
iptables -A INPUT -s 52.91.0.0/24  -j DROP
iptables -A OUTPUT -s 52.91.36.0/24  -j DROP
iptables -A INPUT -s 52.91.36.0/24  -j DROP
iptables -A OUTPUT -s 52.91.44.0/24  -j DROP
iptables -A INPUT -s 52.91.44.0/24  -j DROP
iptables -A OUTPUT -s 52.91.47.0/24  -j DROP
iptables -A INPUT -s 52.91.47.0/24  -j DROP
iptables -A OUTPUT -s 54.144.104.0/24  -j DROP
iptables -A INPUT -s 54.144.104.0/24  -j DROP
iptables -A OUTPUT -s 54.145.189.0/24  -j DROP
iptables -A INPUT -s 54.145.189.0/24  -j DROP
iptables -A OUTPUT -s 54.145.60.0/24  -j DROP
iptables -A INPUT -s 54.145.60.0/24  -j DROP
iptables -A OUTPUT -s 54.146.109.0/24  -j DROP
iptables -A INPUT -s 54.146.109.0/24  -j DROP
iptables -A OUTPUT -s 54.146.110.0/24  -j DROP
iptables -A INPUT -s 54.146.110.0/24  -j DROP
iptables -A OUTPUT -s 54.146.144.0/24  -j DROP
iptables -A INPUT -s 54.146.144.0/24  -j DROP
iptables -A OUTPUT -s 54.147.108.0/24  -j DROP
iptables -A INPUT -s 54.147.108.0/24  -j DROP
iptables -A OUTPUT -s 54.147.196.0/24  -j DROP
iptables -A INPUT -s 54.147.196.0/24  -j DROP
iptables -A OUTPUT -s 54.147.197.0/24  -j DROP
iptables -A INPUT -s 54.147.197.0/24  -j DROP
iptables -A OUTPUT -s 54.152.2.0/24  -j DROP
iptables -A INPUT -s 54.152.2.0/24  -j DROP
iptables -A OUTPUT -s 54.152.206.0/24  -j DROP
iptables -A INPUT -s 54.152.206.0/24  -j DROP
iptables -A OUTPUT -s 54.152.223.0/24  -j DROP
iptables -A INPUT -s 54.152.223.0/24  -j DROP
iptables -A OUTPUT -s 54.152.225.0/24  -j DROP
iptables -A INPUT -s 54.152.225.0/24  -j DROP
iptables -A OUTPUT -s 54.152.249.0/24  -j DROP
iptables -A INPUT -s 54.152.249.0/24  -j DROP
iptables -A OUTPUT -s 54.152.255.0/24  -j DROP
iptables -A INPUT -s 54.152.255.0/24  -j DROP
iptables -A OUTPUT -s 54.152.87.0/24  -j DROP
iptables -A INPUT -s 54.152.87.0/24  -j DROP
iptables -A OUTPUT -s 54.157.29.0/24  -j DROP
iptables -A INPUT -s 54.157.29.0/24  -j DROP
iptables -A OUTPUT -s 54.159.14.0/24  -j DROP
iptables -A INPUT -s 54.159.14.0/24  -j DROP
iptables -A OUTPUT -s 54.160.57.0/24  -j DROP
iptables -A INPUT -s 54.160.57.0/24  -j DROP
iptables -A OUTPUT -s 54.161.102.0/24  -j DROP
iptables -A INPUT -s 54.161.102.0/24  -j DROP
iptables -A OUTPUT -s 54.161.25.0/24  -j DROP
iptables -A INPUT -s 54.161.25.0/24  -j DROP
iptables -A OUTPUT -s 54.164.116.0/24  -j DROP
iptables -A INPUT -s 54.164.116.0/24  -j DROP
iptables -A OUTPUT -s 54.164.143.0/24  -j DROP
iptables -A INPUT -s 54.164.143.0/24  -j DROP
iptables -A OUTPUT -s 54.164.175.0/24  -j DROP
iptables -A INPUT -s 54.164.175.0/24  -j DROP
iptables -A OUTPUT -s 54.164.232.0/24  -j DROP
iptables -A INPUT -s 54.164.232.0/24  -j DROP
iptables -A OUTPUT -s 54.165.226.0/24  -j DROP
iptables -A INPUT -s 54.165.226.0/24  -j DROP
iptables -A OUTPUT -s 54.165.26.0/24  -j DROP
iptables -A INPUT -s 54.165.26.0/24  -j DROP
iptables -A OUTPUT -s 54.165.35.0/24  -j DROP
iptables -A INPUT -s 54.165.35.0/24  -j DROP
iptables -A OUTPUT -s 54.172.109.0/24  -j DROP
iptables -A INPUT -s 54.172.109.0/24  -j DROP
iptables -A OUTPUT -s 54.172.157.0/24  -j DROP
iptables -A INPUT -s 54.172.157.0/24  -j DROP
iptables -A OUTPUT -s 54.172.36.0/24  -j DROP
iptables -A INPUT -s 54.172.36.0/24  -j DROP
iptables -A OUTPUT -s 54.172.55.0/24  -j DROP
iptables -A INPUT -s 54.172.55.0/24  -j DROP
iptables -A OUTPUT -s 54.173.0.0/24  -j DROP
iptables -A INPUT -s 54.173.0.0/24  -j DROP
iptables -A OUTPUT -s 54.173.117.0/24  -j DROP
iptables -A INPUT -s 54.173.117.0/24  -j DROP
iptables -A OUTPUT -s 54.173.157.0/24  -j DROP
iptables -A INPUT -s 54.173.157.0/24  -j DROP
iptables -A OUTPUT -s 54.173.162.0/24  -j DROP
iptables -A INPUT -s 54.173.162.0/24  -j DROP
iptables -A OUTPUT -s 54.173.202.0/24  -j DROP
iptables -A INPUT -s 54.173.202.0/24  -j DROP
iptables -A OUTPUT -s 54.174.140.0/24  -j DROP
iptables -A INPUT -s 54.174.140.0/24  -j DROP
iptables -A OUTPUT -s 54.174.142.0/24  -j DROP
iptables -A INPUT -s 54.174.142.0/24  -j DROP
iptables -A OUTPUT -s 54.174.161.0/24  -j DROP
iptables -A INPUT -s 54.174.161.0/24  -j DROP
iptables -A OUTPUT -s 54.174.22.0/24  -j DROP
iptables -A INPUT -s 54.174.22.0/24  -j DROP
iptables -A OUTPUT -s 54.175.142.0/24  -j DROP
iptables -A INPUT -s 54.175.142.0/24  -j DROP
iptables -A OUTPUT -s 54.175.160.0/24  -j DROP
iptables -A INPUT -s 54.175.160.0/24  -j DROP
iptables -A OUTPUT -s 54.175.83.0/24  -j DROP
iptables -A INPUT -s 54.175.83.0/24  -j DROP
iptables -A OUTPUT -s 54.196.109.0/24  -j DROP
iptables -A INPUT -s 54.196.109.0/24  -j DROP
iptables -A OUTPUT -s 54.196.70.0/24  -j DROP
iptables -A INPUT -s 54.196.70.0/24  -j DROP
iptables -A OUTPUT -s 54.196.77.0/24  -j DROP
iptables -A INPUT -s 54.196.77.0/24  -j DROP
iptables -A OUTPUT -s 54.197.216.0/24  -j DROP
iptables -A INPUT -s 54.197.216.0/24  -j DROP
iptables -A OUTPUT -s 54.198.223.0/24  -j DROP
iptables -A INPUT -s 54.198.223.0/24  -j DROP
iptables -A OUTPUT -s 54.204.128.0/24  -j DROP
iptables -A INPUT -s 54.204.128.0/24  -j DROP
iptables -A OUTPUT -s 54.204.130.0/24  -j DROP
iptables -A INPUT -s 54.204.130.0/24  -j DROP
iptables -A OUTPUT -s 54.205.134.0/24  -j DROP
iptables -A INPUT -s 54.205.134.0/24  -j DROP
iptables -A OUTPUT -s 54.205.161.0/24  -j DROP
iptables -A INPUT -s 54.205.161.0/24  -j DROP
iptables -A OUTPUT -s 54.205.165.0/24  -j DROP
iptables -A INPUT -s 54.205.165.0/24  -j DROP
iptables -A OUTPUT -s 54.205.171.0/24  -j DROP
iptables -A INPUT -s 54.205.171.0/24  -j DROP
iptables -A OUTPUT -s 54.208.115.0/24  -j DROP
iptables -A INPUT -s 54.208.115.0/24  -j DROP
iptables -A OUTPUT -s 54.208.251.0/24  -j DROP
iptables -A INPUT -s 54.208.251.0/24  -j DROP
iptables -A OUTPUT -s 54.208.253.0/24  -j DROP
iptables -A INPUT -s 54.208.253.0/24  -j DROP
iptables -A OUTPUT -s 54.208.45.0/24  -j DROP
iptables -A INPUT -s 54.208.45.0/24  -j DROP
iptables -A OUTPUT -s 54.209.225.0/24  -j DROP
iptables -A INPUT -s 54.209.225.0/24  -j DROP
iptables -A OUTPUT -s 54.209.228.0/24  -j DROP
iptables -A INPUT -s 54.209.228.0/24  -j DROP
iptables -A OUTPUT -s 54.209.66.0/24  -j DROP
iptables -A INPUT -s 54.209.66.0/24  -j DROP
iptables -A OUTPUT -s 54.210.129.0/24  -j DROP
iptables -A INPUT -s 54.210.129.0/24  -j DROP
iptables -A OUTPUT -s 54.210.249.0/24  -j DROP
iptables -A INPUT -s 54.210.249.0/24  -j DROP
iptables -A OUTPUT -s 54.210.29.0/24  -j DROP
iptables -A INPUT -s 54.210.29.0/24  -j DROP
iptables -A OUTPUT -s 54.210.40.0/24  -j DROP
iptables -A INPUT -s 54.210.40.0/24  -j DROP
iptables -A OUTPUT -s 54.210.45.0/24  -j DROP
iptables -A INPUT -s 54.210.45.0/24  -j DROP
iptables -A OUTPUT -s 54.210.71.0/24  -j DROP
iptables -A INPUT -s 54.210.71.0/24  -j DROP
iptables -A OUTPUT -s 54.211.129.0/24  -j DROP
iptables -A INPUT -s 54.211.129.0/24  -j DROP
iptables -A OUTPUT -s 54.211.150.0/24  -j DROP
iptables -A INPUT -s 54.211.150.0/24  -j DROP
iptables -A OUTPUT -s 54.211.51.0/24  -j DROP
iptables -A INPUT -s 54.211.51.0/24  -j DROP
iptables -A OUTPUT -s 54.211.54.0/24  -j DROP
iptables -A INPUT -s 54.211.54.0/24  -j DROP
iptables -A OUTPUT -s 54.221.174.0/24  -j DROP
iptables -A INPUT -s 54.221.174.0/24  -j DROP
iptables -A OUTPUT -s 54.226.151.0/24  -j DROP
iptables -A INPUT -s 54.226.151.0/24  -j DROP
iptables -A OUTPUT -s 54.227.192.0/24  -j DROP
iptables -A INPUT -s 54.227.192.0/24  -j DROP
iptables -A OUTPUT -s 54.227.59.0/24  -j DROP
iptables -A INPUT -s 54.227.59.0/24  -j DROP
iptables -A OUTPUT -s 54.234.206.0/24  -j DROP
iptables -A INPUT -s 54.234.206.0/24  -j DROP
iptables -A OUTPUT -s 54.236.11.0/24  -j DROP
iptables -A INPUT -s 54.236.11.0/24  -j DROP
iptables -A OUTPUT -s 54.236.122.0/24  -j DROP
iptables -A INPUT -s 54.236.122.0/24  -j DROP
iptables -A OUTPUT -s 54.242.11.0/24  -j DROP
iptables -A INPUT -s 54.242.11.0/24  -j DROP
iptables -A OUTPUT -s 54.242.25.0/24  -j DROP
iptables -A INPUT -s 54.242.25.0/24  -j DROP
iptables -A OUTPUT -s 54.70.246.0/24  -j DROP
iptables -A INPUT -s 54.70.246.0/24  -j DROP
iptables -A OUTPUT -s 54.70.86.0/24  -j DROP
iptables -A INPUT -s 54.70.86.0/24  -j DROP
iptables -A OUTPUT -s 54.71.158.0/24  -j DROP
iptables -A INPUT -s 54.71.158.0/24  -j DROP
iptables -A OUTPUT -s 54.82.195.0/24  -j DROP
iptables -A INPUT -s 54.82.195.0/24  -j DROP
iptables -A OUTPUT -s 54.82.201.0/24  -j DROP
iptables -A INPUT -s 54.82.201.0/24  -j DROP
iptables -A OUTPUT -s 54.82.204.0/24  -j DROP
iptables -A INPUT -s 54.82.204.0/24  -j DROP
iptables -A OUTPUT -s 54.83.112.0/24  -j DROP
iptables -A INPUT -s 54.83.112.0/24  -j DROP
iptables -A OUTPUT -s 54.83.138.0/24  -j DROP
iptables -A INPUT -s 54.83.138.0/24  -j DROP
iptables -A OUTPUT -s 54.83.151.0/24  -j DROP
iptables -A INPUT -s 54.83.151.0/24  -j DROP
iptables -A OUTPUT -s 54.83.181.0/24  -j DROP
iptables -A INPUT -s 54.83.181.0/24  -j DROP
iptables -A OUTPUT -s 54.84.179.0/24  -j DROP
iptables -A INPUT -s 54.84.179.0/24  -j DROP
iptables -A OUTPUT -s 54.84.4.0/24  -j DROP
iptables -A INPUT -s 54.84.4.0/24  -j DROP
iptables -A OUTPUT -s 54.84.56.0/24  -j DROP
iptables -A INPUT -s 54.84.56.0/24  -j DROP
iptables -A OUTPUT -s 54.84.92.0/24  -j DROP
iptables -A INPUT -s 54.84.92.0/24  -j DROP
iptables -A OUTPUT -s 54.85.194.0/24  -j DROP
iptables -A INPUT -s 54.85.194.0/24  -j DROP
iptables -A OUTPUT -s 54.85.248.0/24  -j DROP
iptables -A INPUT -s 54.85.248.0/24  -j DROP
iptables -A OUTPUT -s 54.86.10.0/24  -j DROP
iptables -A INPUT -s 54.86.10.0/24  -j DROP
iptables -A OUTPUT -s 54.86.226.0/24  -j DROP
iptables -A INPUT -s 54.86.226.0/24  -j DROP
iptables -A OUTPUT -s 54.86.243.0/24  -j DROP
iptables -A INPUT -s 54.86.243.0/24  -j DROP
iptables -A OUTPUT -s 54.87.185.0/24  -j DROP
iptables -A INPUT -s 54.87.185.0/24  -j DROP
iptables -A OUTPUT -s 54.87.4.0/24  -j DROP
iptables -A INPUT -s 54.87.4.0/24  -j DROP
iptables -A OUTPUT -s 54.88.13.0/24  -j DROP
iptables -A INPUT -s 54.88.13.0/24  -j DROP
iptables -A OUTPUT -s 54.88.15.0/24  -j DROP
iptables -A INPUT -s 54.88.15.0/24  -j DROP
iptables -A OUTPUT -s 54.88.67.0/24  -j DROP
iptables -A INPUT -s 54.88.67.0/24  -j DROP
iptables -A OUTPUT -s 54.89.104.0/24  -j DROP
iptables -A INPUT -s 54.89.104.0/24  -j DROP
iptables -A OUTPUT -s 54.89.105.0/24  -j DROP
iptables -A INPUT -s 54.89.105.0/24  -j DROP
iptables -A OUTPUT -s 54.89.236.0/24  -j DROP
iptables -A INPUT -s 54.89.236.0/24  -j DROP
iptables -A OUTPUT -s 54.89.237.0/24  -j DROP
iptables -A INPUT -s 54.89.237.0/24  -j DROP
iptables -A OUTPUT -s 54.89.60.0/24  -j DROP
iptables -A INPUT -s 54.89.60.0/24  -j DROP
iptables -A OUTPUT -s 54.89.94.0/24  -j DROP
iptables -A INPUT -s 54.89.94.0/24  -j DROP
iptables -A OUTPUT -s 54.90.135.0/24  -j DROP
iptables -A INPUT -s 54.90.135.0/24  -j DROP
iptables -A OUTPUT -s 54.90.191.0/24  -j DROP
iptables -A INPUT -s 54.90.191.0/24  -j DROP
iptables -A OUTPUT -s 54.90.230.0/24  -j DROP
iptables -A INPUT -s 54.90.230.0/24  -j DROP
iptables -A OUTPUT -s 54.91.153.0/24  -j DROP
iptables -A INPUT -s 54.91.153.0/24  -j DROP
iptables -A OUTPUT -s 54.91.242.0/24  -j DROP
iptables -A INPUT -s 54.91.242.0/24  -j DROP
iptables -A OUTPUT -s 54.91.254.0/24  -j DROP
iptables -A INPUT -s 54.91.254.0/24  -j DROP
iptables -A OUTPUT -s 54.91.28.0/24  -j DROP
iptables -A INPUT -s 54.91.28.0/24  -j DROP
iptables -A OUTPUT -s 54.91.76.0/24  -j DROP
iptables -A INPUT -s 54.91.76.0/24  -j DROP
iptables -A OUTPUT -s 75.101.210.0/24  -j DROP
iptables -A INPUT -s 75.101.210.0/24  -j DROP
iptables -A OUTPUT -s 75.101.226.0/24  -j DROP
iptables -A INPUT -s 75.101.226.0/24  -j DROP
service iptables save


It is the last line that saves them but you may also need to reboot your server. Good luck. webmaster@oklavoters.com