[SQU] Using ipnat with a separate transparent proxy.

From: John Heller <jheller@dont-contact.us>
Date: Tue, 24 Oct 2000 17:47:50 +1100

Sorry if this question has been posted before, but I can't find the
answer I want in the archives. It seems to me a common enough situation.

I have an OpenBSD firewall with two interfaces (internet and internal)
running ipf and ipnat, and I want to set up Squid as a transparent proxy
on another machine inside the network.

I can set up an 'rdr' command with ipnat to redirect all port 80
requests to the proxy, but how do I allow the proxy to make port 80
requests through the same interface without being looped back?

e.g.
map tun0 172.16.0.0/16 -> 0/32 portmap tcp/udp 10000:20000
map tun0 172.16.0.0/16 -> 0/32
rdr fxp0 0.0.0.0/0 port 80 -> 172.16.0.3 port 3128 tcp

Thanks in advance.

--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Tue Oct 24 2000 - 00:50:08 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:55:53 MST