Dear Russell,
 
I have this setup in ipchains and now I want to convert in iptables. plz help me.
/sbin/ipchains  -F forward  
/sbin/ipchains  -F input    
/sbin/ipchains  -F output   
 
/sbin/ipchains  -P forward   ACCEPT
/sbin/ipchains  -P input     ACCEPT
/sbin/ipchains  -P output    ACCEPT

echo "1" > /proc/sys/net/ipv4/ip_forward
 
# for transparent proxy
/sbin/ipchains -A input -j REDIRECT 8080 -p tcp -s 0.0.0.0/0 -d 0.0.0.0/0 80
# for direct connection excluding HTTP
/sbin/ipchains  -A forward -j -p all -s 0.0.0.0/0 -d 0.0.0.0/0
 
It was my old setup in RedHat Linux 7.0Rel.
 
Now I have installed new verions of RedHat Linux 7.2, with Kernel 2.4.7-10 and iptables version 1.2.3.
 

thanks in advance
 
shakir


Join the world’s largest e-mail service with MSN Hotmail. Click Here