PF rdr from one port to another
Gergely CZUCZY
phoemix at harmless.hu
Wed Dec 6 07:22:52 PST 2006
On Wed, Dec 06, 2006 at 09:16:52AM -0600, Roger Miranda (Digital Relay) wrote:
> 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
is $int_if the internal or the bridged interface?
what is $proxy?
> pass in log all keep state
> pass out log all keep state
it'd be wise to specify interfaces also here.
> 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"
what is "it" that conects to :3128 ?
1) it == the client
2) it == the squid proxy
Bye,
Gergely Czuczy
mailto: gergely.czuczy at harmless.hu
--
Weenies test. Geniuses solve problems that arise.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 1154 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-pf/attachments/20061206/9cdca19c/attachment.pgp
More information about the freebsd-pf
mailing list