iptables question

Amadeus W.M. amadeus84 at verizon.net
Mon Jun 25 23:59:15 UTC 2007


On Mon, 25 Jun 2007 13:54:49 -0400, Phil wrote:

> I am using iptables and I save my iptables script in rc.local for it to
> start when the pc starts.
> 
> I there a command that will save the iptables script that is currently
> in use to a file that will load automatically?
> 
> I did a quick good search but I thought I would ask the pro's! :) I am
> using iptables and I save my iptables script in rc.local for it to start
> when the pc starts.<br><br>I there a command that will save the iptables
> script that is currently in use to a file that will load automatically?
> <br><br>I did a quick good search but I thought I would ask the
> pro's! :)<br><br><br>



/sbin/iptables-save > output

Usually ouput = /etc/sysconfig/iptables (after backing up the original).

I may be wrong (someone correct me), but the "service" thing might be 
fedora specific. The iptables-save command will work on anything.




More information about the fedora-list mailing list