Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


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.

IP Tables / GEOIP Help

agoldenbergagoldenberg Member, Host Rep

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

  • rds100rds100 Member
    edited July 2014

    Lol, just found out that the owner of that website terminal28.com doesn't like our country :)

  • nerouxneroux Member

    That leaves the impression the geoip extension was not installed properly.

  • BlaZeBlaZe Host Rep, Veteran

    You need to install the GeoIPT patch to block countries as whole.

  • howardsl2howardsl2 Member
    edited July 2014

    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

Sign In or Register to comment.