LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   iptables startup script (https://www.linuxquestions.org/questions/linux-security-4/iptables-startup-script-318391/)

vishamr2000 04-29-2005 06:05 AM

iptables startup script
 
Hi to all,

I wanted to know abt what we actually need to start iptables service on a
PC. Do we have to write startup or initialisation scripts?

If yes, can I have a sample of these scripts?

Thx in advance..

Regards,
Visham

musicman_ace 04-29-2005 06:56 AM

if you already have a firewal, you can put a line it /etc/init.d/local.start.

win32sux 04-29-2005 07:41 AM

Re: iptables startup script
 
Quote:

Originally posted by vishamr2000
can I have a sample of these scripts?
you can find several example scripts here:

http://www.linuxguruz.com/iptables/

Quote:

Originally posted by musicman_ace
if you already have a firewal, you can put a line it /etc/init.d/local.start.
wouldn't that make it get executed way after the network is started and daemons are run??

perfect_circle 04-29-2005 08:21 AM

if you are using a 2.4 kernel, can use this iptables firewall generator to generate a script:
http://easyfwgen.morizot.net/gen/index.php


All times are GMT -5. The time now is 11:08 PM.