Re: IPtables doubt !!!

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

 




Tiago  wrote:

>          Hello people !!!
>
>          I have a doubt about IPtables. How can I do to deny the packages to cross 
>the firewall when IPtables failed at restart ?
>
>           Thanks in advance !
>
>          Tiago Fioreze
>
Hi Tiago,
   
Probably the easiest thing to do is this:

/sbin/iptables-save > /some/path/to/iptables-fw-saved
/etc or /usr/local/etc  would be a good place.

then in your /etc/rc.d/rc.local file put :
/sbin/iptables-restore < /usr/local/etc/iptables-fw-saved  for example..

I am assuming that IPTables works, it just isn't loading at startup.

Hope this help,
Jeff




------------------------------------------------------------------------
     To unsubscribe email security-discuss-request@linuxsecurity.com
         with "unsubscribe" in the subject of the message.


[Index of Archives]     [Fedora Announce]     [Linux Crypto]     [Kernel]     [Netfilter]     [Bugtraq]     [USB]     [Fedora Security]

  Powered by Linux