hello everybody... :)

can someone please help me translate these ipchains access list into 
commnads?...

0 
target        prot    opt     source          destination             ports
1 
ACCEPT        all     ------  localhost       localhost               n/a
2 ACCEPT        tcp     ------  anywhere        webcache.spc.int        any 
-> www
3 REDIRECT      tcp     ------  202.0.157.0/24  anywhere                any 
->www => squid
4 
ACCEPT        all     ------  202.0.157.0/24  anywhere                n/a
5 
ACCEPT        all     ------  202.0.156.0/24  anywhere                n/a
6 
ACCEPT        all     ------  anywhere        202.0.157.0/24          n/a
7 
ACCEPT        all     ------  anywhere        202.0.156.0/24          n/a

im particularly having trouble with lines 2 and 3... "any -> www" and "any 
->www => squid" escapes me... :(

are these correct?...

1 ipchains -A INPUT -s 127.0.0.0/32 -d 127.0.0.0/32 -j ACCEPT
2 ????
3 ????
4 ipchains -A INPUT -s 202.0.157.0/24 -d 0/0 -j ACCEPT
5 ipchains -A INPUT -s 202.0.156.0/24 -d 0/0 -j ACCEPT
6 ipchains -A INPUT -s 0/0 -d 202.0.157.0/24 -j ACCEPT
7 ipchains -A INPUT -s 0/0 -d 202.0.156.0/24 -j ACCEPT

thanks in advance... :)


:: [EMAIL PROTECTED]  | http://pgpkey.melecio.org/
:: Key Fingerprint: 3bb0 4a3a 1fac c9ea d20a  d838 7308 2114 7fd9 994c 

_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

To subscribe to the Linux Newbies' List: send "subscribe" in the body to 
[EMAIL PROTECTED]

Reply via email to