Save these rules to a file called rc.firewall. Put the file in /etc/rc.d.
edit the rc.local file and at the bottom of the rc.local file type
/etc/rc.d/rc.firewall This will ensure that the script is run at the
appropriate time during the boot process.
----- Original Message -----
From: "Essy Ren" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, April 02, 2001 6:04 AM
Subject: ipchains , the permanent rules


> how can I make the permanent rules ? because what i've done is make the
> rules like this :
> /sbin/ipchains -P input ACCEPT
> /sbin/ipchains -A input -p tcp -s 192.168.1.0/24  -d 127.0.0.1/32 80 -j
> ACCEPT
> /sbin/ipchains -A input -p tcp -s 192.168.1.0/24  -d 192.168.1.251/32
80 -j
> ACCEPT
> /sbin/ipchains -A input -p tcp -s 192.168.1.0/24  -d 0.0.0.0/0 80 -j
> REDIRECT 3128
> but after the system was shutdown, it can't save all the rules I've made
...
>
>
> -
> [To unsubscribe, send mail to [EMAIL PROTECTED] with
> "unsubscribe firewalls" in the body of the message.]
>

-
[To unsubscribe, send mail to [EMAIL PROTECTED] with
"unsubscribe firewalls" in the body of the message.]

Reply via email to