Hi:
 
I have been using ipchains for a long time , but know i want to turn to iptables.
I have a script file in /etc/rc.d/init.d/iptables
 
What I do is :

# service iptables save
 
after that  I got a new file in /etc/sysconfig/iptables .
and then :
 
#/etc/rc.d/init.d/ipchains restart
 
First I got a lot of errrors and  it does not seem to apply my rules, because if for example ,I comment (#) the rules for http client , it allow me to get the web anyway.
 
I use Red Hat 7.2 and Here's my script,
 

Attachment: Iptables.zip
Description: application/compressed

Reply via email to