Bypass squid with transparent proxy
Richard Tector
richardtector at thekeelecentre.com
Thu Jul 21 23:21:15 GMT 2005
Quoting Aguiar Magalhaes <magalhj at yahoo.com.br>:
> Can the host 192.168.10.100 bypass the squid using
> transparent proxy ?
>
> I have a rule in my pf.conf:
>
> rdr on $dmz_if proto tcp from any to any port
> $web_ports -> 127.0.0.1 port 3128
>
You could try something like:
table <bypassproxy> { 192.168.10.100 }
rdr on $dmz_if proto tcp from !<bypassproxy> to any port $web_ports ->
127.0.0.1
port 3128
Or without using tables, just:
rdr on $dmz_if proto tcp from !192.168.10.100 to any port $web_ports ->
127.0.0.1 port 3128
Regards,
Richard
More information about the freebsd-pf
mailing list