LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   Using firestarter to generate an iptables script (https://www.linuxquestions.org/questions/linux-security-4/using-firestarter-to-generate-an-iptables-script-302853/)

jc materi 03-17-2005 02:15 PM

Using firestarter to generate an iptables script
 
Using firestarter to generate an iptables script can be quite useful if you need to tweek or know the status of your firewall remotely and do not have X11 forwarding. The same procedure can be used with any similar GUI that sets your iptables rules.

The procedure is quite simple. With firestarter configured and your base set of rules in place and operating:

iptables-save > /etc/sysconfig/iptables
/etc/rc.d/init.d/firestarter stop
/etc/rc.d/init.d/iptables start

You can then edit /etc/sysconfig/iptables remotely and restart your firewall
/etc/rc.d/init.d/iptables restart

To see its new status:
/etc/rc.d/init.d/iptables status

XavierP 03-28-2005 02:19 PM

Cool. Useful handy hint for anyone new to iptables.

doublejoon 03-28-2005 10:15 PM

guarddog is good at creating rulesets as well. I have used both firestarter and guarddog...both are easy to setup


All times are GMT -5. The time now is 04:30 PM.