3.6. Saving Network Packet Filter Settings
After configuring the appropriate network packet filters for your situation, save the settings so they get restored after a reboot. For iptables
, type the following command:
Once this file is written, you are able to use the
/sbin/service
command to start, stop, and check the status (using the status switch) of
iptables
. The
/sbin/service
will automatically load the appropriate module for you. For an example of how to use the
/sbin/service
command, see
Section 2.3, “Starting the Piranha Configuration Tool Service”.