Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 20th October 2010, 17:08
linus3x linus3x is offline
Junior Member
Join Date: Oct 2010
Posts: 16
Thanks: 2
Thanked 4 Times in 3 Posts
Default Blocking Based on Country with GeoIP, xtables-addons, and iptables

Is anyone blocking countries at the iptables level using a combination of xtables-addons and GeoIP on Debian Lenny?

I've found a couple of tutorials on the web but they talk about altering the kernel to get it to work. Maybe this isn't a big deal - I don't know - it just that I've never done it before.

I've seen the HowToForge tutorial on Blocking IPs but this adds a ton of rules to iptables (like 32,000) which is why I'm pursuing GeoIP.

Any advice would be appreciated - thanks!
Reply With Quote
Sponsored Links
Old 21st October 2010, 16:11
falko falko is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,749 Times in 2,579 Posts

I've never tried this, so I can't tell if this is possible and how it would work.
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Old 5th October 2013, 00:56
sethuper sethuper is offline
Junior Member
Join Date: Feb 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts

I have followed step by step in this tutorial, everything is describe, how to install and use iptables with geoip to block countries.
Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 06:44.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.