Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Feb 2005 09:31:11 -0600
From:      Jason Hunt <jhunt@niicommunications.com>
To:        <freebsd-pf@freebsd.org>
Cc:        pf@freebsd.org
Subject:   pf Transparent Proxy Return
Message-ID:  <BE41FDDF.1D2B7%jhunt@niicommunications.com>
In-Reply-To: <421B66E5.7020402@raxion.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Greetings,

Pretty new to pf, but was wondering how it would be possible to redirect
traffic to a specific site back to port 80 instead of going through 3128.


Using iptables, it is pretty much like so:

$IPTABLES -t nat -I PREROUTING -p tcp --dport 80 -d x.x.x.x/32 -j RETURN

Also in iptables, I could exclude a specific IP from even going through the
proxy:

$IPTABLES -t nat -I PREROUTING -p tcp -s 192.168.x.x --dport 80 -j RETURN

I'm sure this can be done through pf, but was wondering what exactly the
rule would be. 

Is there any good books out on pf?  Or does one believe the man pages from
online are good enough to get a good understanding.  Thanks for the help.






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BE41FDDF.1D2B7%jhunt>