Information Security Stack Exchange is a question and answer site for information security professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am looking for an open source firewall with country based ip blocking feature for Linux OS.

share|improve this question

closed as not constructive by AviD Oct 3 '12 at 18:57

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.If this question can be reworded to fit the rules in the help center, please edit the question.

Hi sampath, welcome to Information Security. Please see the FAQ, and also read How to Ask - product recommendation questions are not a good fit for our site (or really any SE site...). – AviD Oct 3 '12 at 18:57
  1. iptables
  2. Access to a geolocation database. As far as I'm aware, these all come with a fee.
  3. A shell script.
share|improve this answer
+1 and see this page for a sample script and free source of geo-ip data: – Colin Pickard Oct 3 '12 at 16:58 has a free geolocation database that can be used to get IP addresses per country. There's a bash script for using this database with iptables on this page.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.