[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-ipchains
Subject:    Re: [Ipchains] ICMP tcp port 80 unreachable [tos 0xc0] with   Squid
From:       Andy Walden <andy () enigma ! mtco ! com>
Date:       1999-05-24 13:29:49
[Download RAW message or body]

> So I tried:
> 
> ipchains -A forward -s 200.231.199.0/24 -d 0.0.0.0/0 -j MASQ
> ipchains -A forward -s 200.231.184.0/24 -d 0.0.0.0/0 -j MASQ
> ipchains -A forward -s 200.246.104.0/24 -d 0.0.0.0/0 -j MASQ
> ipchains -A forward -s 200.224.215.0/24 -d 0.0.0.0/0 -j MASQ
> ipchains -A input -p tcp -s 200.231.199.0/24 -d 0.0.0.0/0 80 -j REDIRECT 3128
> ipchains -A input -p tcp -s 200.231.184.0/24 -d 0.0.0.0/0 80 -j REDIRECT 3128
> ipchains -A input -p tcp -s 200.246.104.0/24 -d 0.0.0.0/0 80 -j REDIRECT 3128
> ipchains -A input -p tcp -s 200.224.215.0/24 -d 0.0.0.0/0 80 -j REDIRECT 3128
> 
> But it didn't work.  Is the forward line really correct?  I ask this
> because since I am using real inet addresses, I don't need masquerading.
> Right?

I am going to assume so. So did you try it without the forward lines?

andy


----------------------------------------------
To unsubscribe to this list, write an email to
ipchains-request@rustcorp.com with a body of
'unsubscribe'.

www.rustcorp.com - web site
ftp.rustcorp.com - ftp site

Mail Archives:
http://ww.rustcorp.com/archives
http://www.progressive-comp.com/Lists/?l=linux-ipchains&r=1&w=2#linux-ipchains
----------------------------------------------

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic