LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Iptables helping (https://www.linuxquestions.org/questions/slackware-14/iptables-helping-798228/)

ujku2288 03-27-2010 07:09 AM

Iptables helping
 
Hi!
Can you help me telling in which file can I save the Iptables?
Because I have made e Iptables cript, but I don't know where I save it.
My Operating System is Slackware 13.0 and my Iptables version is 1.4.7.
Please, Help Me!
Best Regards!

win32sux 03-27-2010 07:22 AM

Quote:

Originally Posted by ujku2288 (Post 3914321)
Hi!
Can you help me telling in which file can I save the Iptables?
Because I have made e Iptables cript, but I don't know where I save it.
My Operating System is Slackware 13.0 and my Iptables version is 1.4.7.
Please, Help Me!
Best Regards!

Save the script as /etc/rc.d/rc.firewall and make it executable.

That is, assuming this really is a script and not a config file (such as the ones generated by iptables-save).


All times are GMT -5. The time now is 06:30 AM.