Dominik Zalewski <[EMAIL PROTECTED]> writes:

> My question is can redirect traffic on $int_if to another machine connected 
> to the same interface? Does this rule is corrrect ?

You can redirect, but you need to let the packets from the proxy pass
without redirection to the rest of the world.

> rdr pass on $int_if proto tcp from any to any port 80 -> $squid port 8080

I would supplement this with a 'no rdr' rule for the proxy generated traffic.

-- 
Peter N. M. Hansteen, member of the first RFC 1149 implementation team
http://www.blug.linux.no/rfc1149/ http://www.datadok.no/ http://www.nuug.no/
"First, we kill all the spammers" The Usenet Bard, "Twice-forwarded tales"
20:11:56 delilah spamd[26905]: 146.151.48.74: disconnected after 36099 seconds

Reply via email to