Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Jul 2005 00:21:03 +0100
From:      Richard Tector <richardtector@thekeelecentre.com>
To:        Aguiar Magalhaes <magalhj@yahoo.com.br>
Cc:        freebsd-pf@freebsd.org
Subject:   Re: Bypass squid with transparent proxy
Message-ID:  <20050722002103.gzbjkro5wso8kscc@webmail.thekeelecentre.com>
In-Reply-To: <20050721204837.52343.qmail@web31611.mail.mud.yahoo.com>
References:  <20050721204837.52343.qmail@web31611.mail.mud.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Quoting Aguiar Magalhaes <magalhj@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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050722002103.gzbjkro5wso8kscc>