New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
IP Tables / GEOIP Help
agoldenberg
Member, Host Rep
in Help
So I followed this tutorial: http://terminal28.com/how-to-block-countries-using-iptables-debian/
However when I try
iptables -A INPUT -m geoip --src-cc CN,UA,TW -j DROP
It fails saying
iptables: No chain/target/match by that name.
Any ideas?
Comments
Lol, just found out that the owner of that website terminal28.com doesn't like our country
That leaves the impression the geoip extension was not installed properly.
You need to install the GeoIPT patch to block countries as whole.
Yesterday I have just added Debian instructions to my GeoIP tutorial.
These have been tested and working on 32/64-bit Debian 7.0 (wheezy). Give it a try:
IPTables GeoIP, Port Knocking and Port Scan Detection