Re: iptables question

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

 



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! :)



Hi Phil,

Assuming the rules currently in place are what you want to save, try the following command as root:

service iptables save

That will save the rules and load them automagically when the iptables service starts.


Tom



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

  Powered by Linux