It's easy

To save the chains;
  run
       ipchains-save>filename

 To restore it when the pc reboots,simply put "ipchains-restore<filename"
in rc script.

   ipchains-restore and ipchains-save r usually found in /sbin/


Rgds,
B.D.Joshi 
Mercantile Communications



"Mother is the dearest one on Earth"
=====================================


On Mon, 2 Apr 2001, Essy Ren wrote:

> 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