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.
|