Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Dec 2006 09:16:52 -0600
From:      "Roger Miranda (Digital Relay)" <rmiranda@digitalrelay.ca>
To:        freebsd-pf@freebsd.org
Subject:   PF rdr from one port to another
Message-ID:  <200612060916.53866.rmiranda@digitalrelay.ca>

next in thread | raw e-mail | index | archive | help
Hey Everyone, First time poster here.

I have a freebsd 6.1 setup with if_bridge. Two nics.
I am running squid on the bridge itself.

I having some issues doing the routing with PF.
i have:

rdr on $int_if inet proto tcp from $net to any port www -> $proxy port 3128
pass in log all keep state
pass out log all keep state

Now fromt the workstation I type in "http://slashdot.org" and it see pass 
through squid, but now it is trying to connect to "http://slashdot.org:3128"

is there anyone to repackage to packet to force port 80 instead of 3128

Thanks
Roger





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