Skip to contentSkip to conversation

iptables 1.2.7a management problem

DISCUSSION Afshin Lamei 2 participants 2 messages Dec 4, 2002

lore
Share & tools
lore
#0 lore raw

Hi,
How can I deal with iptables like a service? I've installed it according to the netfilter's guide, after that, I expected that I could deal with it as a service, but I coudn't. Do I need to manually setup iptables after each system boot??
--afshin

_________________________________________________________________
The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail

#1 lore raw

if your using redhat Linux.

1. create a shell script that will accept stop/start parameter and put in in the /etc/init.d directory.

2. use chkconfig command to add your script as a service

you can see look some file in the /etc/init.d directory.

Thanks
SR

----- Original Message -----
From: "Afshin Lamei" <[email protected]>
To: <[email protected]>
Sent: Wednesday, December 04, 2002 11:28 AM
Subject: iptables 1.2.7a management problem

Quoted 2 lines

Hi,
How can I deal with iptables like a service? I've installed it according

to

Quoted 1 line

the netfilter's guide, after that, I expected that I could deal with it as

a

Quoted 9 lines

service, but I coudn't.
Do I need to manually setup iptables after each system boot?? --afshin

_________________________________________________________________
The new MSN 8: advanced junk mail protection and 2 months FREE*
http://join.msn.com/?page=features/junkmail