Re: iptables question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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&#39;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.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux