Subject: Transparent Proxy
To: None <tech-net@netbsd.org>
From: Zafer Aydogan <zafer@gmx.org>
List: tech-net
Date: 06/17/2004 17:17:54
Hello Newsgroup,

i'm stuck with one Problem setting up my transparent Web-Proxy.
Everything seems to be fine working.
But, the Proxy and the Router are two different machines on the same
Network. Though, the redirecting rule, loops back, if the Proxy is going to
get the website from the internet.

How can I exlude the proxy from the Ruleset?

I'm using this on the Router:

rdr ex1 0.0.0.0/0 port 80 -> 192.168.0.12 port 8080

The Proxy (192.168.0.12) tries to get the Website on Port 80 and matches the
ruleset and loops back.

I thought about this:
rdr ex1 0.0.0.0/0 port 80 ! 192.168.0.12/32 port 80 -> 192.168.0.12 port
8080

but this doesn't work.
I'm sure there is a Solution, but i dont get it.

Can anybody help?
thanks, Z.