Hello, I am trying to get familiar with IPTABLES. My questions are these Assuming that I have my IPTABLES commands in a file called say FW, what is the best way to ensure that this file is executed on booting. If I want to temporarily disable the IPTABLES commands, to relax the firewall for a while, how can I achieve this? John --------------------------------- Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now
* John Ryan;
Assuming that I have my IPTABLES commands in a file called say FW, what is the best way to ensure that this file is executed on booting.
man insserv man init.d will show you the syntax
If I want to temporarily disable the IPTABLES commands, to relax the firewall for a while, how can I achieve this?
without knowing your tables it is difficult to say yet iptables -F INPUT iptables -F OUTPUT iptables -F FORWARD iptables -P INPUT ACCEPT iptables -P OUTPUT ACCEPT iptables -P FORWARD ACCEPT iptables -F iptables -X iptables -t nat -F iptables -t nat -X iptables -t mangle -F iptables -t mangle -X On the other hand I would say use the SuSEfirewall2 as it is easier. One comment firewalls are not to be in "relaxed mode" they should do their job protecting your network -- Togan Muftuoglu | Unofficial SuSE FAQ Maintainer | Please reply to the list; http://susefaq.sf.net | Please don't put me in TO/CC. Nisi defectum, haud refiecendum
participants (2)
-
John Ryan
-
Togan Muftuoglu