Page 1 of 1

Iptables

Posted: Mon Jul 20, 2009 10:51 pm
by steeleweb
Were do I locate the iptables in ubuntu 8.10, I have been unsuccesful at locating, or even knowing what commands to run.

Posted: Wed Sep 02, 2009 8:10 am
by pollucts
You should use the iptables command to list the current rules. Update your rules as needed. Any changes you make to iptables should be persisted and can be done so using the iptables-save command. On Ubuntu, I believe by default the file is dropped to /etc/

For Red Hat based systems you could run the same command and expect the output in /etc/sysconfig/iptables. I think you can also use the save switch with the service command with iptables to also create this file.