On Sat, 18 May 2002, Gatis Gailis wrote:
> Http traffic can be handled easily by
> setting up Squid (proxy) on the first router, which has that other router
> set up as a parent cache (and squid can alter requests by destination IP);
> IPFilter on first router deals with transparent proxying.

So there is no way to do a rdr and nat on the same box?  I can set
up squid on the first router, but it just seems like a lot of extra
latency and work to do.

What I wish I could do is chain two ipnat rules.

rdr eth0 0.0.0.0/32 port 80 -> x.x.x.x port n
map eth0 10.1.1.0/24 -> 0.0.0.0/32 portmap tcp/udp 10000:40000

So outgoing traffic to port 80 would get redirected
to the external proxy machine.. then run through NAT.

Any way to achieve this?

--
Ian Smith
www.ian.org
www.baseballmogul.com

Reply via email to