View Single Post
Old 13th November 2010, 03:09
biggdog biggdog is offline
Join Date: Nov 2010
Posts: 62
Thanks: 3
Thanked 6 Times in 6 Posts

Thanks for the info.
I would like to know how to implement this into the exsisting iptables or through ispconfig3.

I did this and once I rebooted I do not see it after an iptables -L
"iptables -N GEOIP_REJECT
iptables -I GEOIP_REJECT -m geoip --src-cc UA -j REJECT
iptables -A INPUT -j GEOIP_REJECT"

I am not a complete nube but I am looking for some help if possible.

The file I have "country codes setup is taken from your little example. I left out 4 countries.
7267 ranges for CA Canada
12102 ranges for DE Germany
13028 ranges for GB United Kingdom
19724 ranges for US United States
Germany is because I talk to astaro
The UK is for some downloads I think.

If this helps anyone please feel free to use it.
Also should we add an "ACCEPT" for those we want.
Attached Files
File Type: txt Country Codes setup.txt (27.3 KB, 357 views)
Reply With Quote