PDA

View Full Version : iptables without gui


aliyanage
October 16th, 2006, 04:52 PM
Hi all,

I've seen quite a few posts on how to install firestarter to get a gui to configure the iptables. I would rather be interested in getting to know how to configuring and playing around with it over the terminal without a gui. Could someone tell me where I can find the iptables file or config file?

regards
aliyanage

rklauco
October 16th, 2006, 06:38 PM
I used this howto:
https://help.ubuntu.com/community/IptablesHowTo

Using step by step tests I get a working firewall.
And, I advice to get a knockd package and read documentation too.

OmegaBLK
October 16th, 2006, 06:57 PM
You could also use firehol if you don't want to deal with IPTable syntax. Firehol's syntax is pretty simple. http://firehol.sourceforge.net/

Ride Jib
October 16th, 2006, 08:05 PM
http://www.netfilter.org/

aliyanage
October 17th, 2006, 03:34 AM
thank you very much for the hints and help, appreciate it!!! :-D

autosuggested
October 17th, 2006, 01:37 PM
Hi aliyanage,

If you're lazy (like me), you can generate a firewall at http://easyfwgen.morizot.net/gen/index.php

Once you have the iptables commands on file, you can start messing with them. The learning curve is a bit less steep than going about building a firewall from scratch.

// autosuggested