Date: Wed, 6 Dec 2006 16:22:14 +0100 From: Gergely CZUCZY <phoemix@harmless.hu> To: "Roger Miranda (Digital Relay)" <rmiranda@digitalrelay.ca> Cc: freebsd-pf@freebsd.org Subject: Re: PF rdr from one port to another Message-ID: <20061206152214.GA95527@harmless.hu> In-Reply-To: <200612060916.53866.rmiranda@digitalrelay.ca> References: <200612060916.53866.rmiranda@digitalrelay.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
--DocE+STaALJfprDB Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Dec 06, 2006 at 09:16:52AM -0600, Roger Miranda (Digital Relay) wro= te: > Hey Everyone, First time poster here. >=20 > I have a freebsd 6.1 setup with if_bridge. Two nics. > I am running squid on the bridge itself. >=20 > I having some issues doing the routing with PF. > i have: >=20 > rdr on $int_if inet proto tcp from $net to any port www -> $proxy port 31= 28 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= =20 > through squid, but now it is trying to connect to "http://slashdot.org:31= 28" what is "it" that conects to :3128 ? 1) it =3D=3D the client 2) it =3D=3D the squid proxy Bye, Gergely Czuczy mailto: gergely.czuczy@harmless.hu --=20 Weenies test. Geniuses solve problems that arise. --DocE+STaALJfprDB Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) owFtVM+LFEcUXn8RKPQgSY6Bx7D4c7q3p2Xb2ZbZVXfWNYJJkAUJwUhN95vuYnuq 2qrX09t60KOIhxC8iKDXRBBE/B+85ZxDDvkf8g/kdY+7+YHQh65X733v+75XVT+d OLJ0+ORvb9//cP7pzy8OvTk6mJybVUQ682bSzpX2BkEw8NZWV8OLXuSFw0mUopSR TIbRWrg1//PUptGEmrydpsQYCPdopSyk0pcgyaV1SKOKpt5Q7OeNlSuNU6SMjkHp Qmk82NuxUrspWm9LJyZVOovhXmUIU6+0SpOcFCjEtxpuY9qHMSYQRH0IgyACSRCs xYMoXg2v3AQviIKgD7dMhhZuKkZNJZwZq0yRLOAWFrI5C7U1I0EYi3W4jg1szdE2 RmMfrinrCEjNEJgpMUSOFn2xPgoDTv4acjlHkDC1iBOXQuQPgHVWJdSKclDTuxOr 0gx92KkNaJU4vyuTM7CV1iwL3L1KpWA0UI6wyAZFDovpf9t0uYaJKOcqdJCaNtIW WVNR+9+1/O5a20F1xOJ9AJvatsMyG3dXTdlqJCitIQOUlEzezGC5jXFA6oalWoK6 rsFbh2XO2/sYujAYiXAolDtAatvzL1rNZhr7Lw3pIj6VCW6IOuehtGUd2AYzKqVz nAGFyUAWBewiluBIEu5vsqhP7So6ncIEWazDlq8rMVHT5p9ujiuc+TgnBvvG1J1C 6sjVxu62QHzk2Fbig9qy6OVEZbyy4grp8tSQb2zWYytYBPE8sWM0EgszKWfDs3wx uD5MmKfmHqpTSLbpxmIgMVpj0nn6Kfh4YWbvwJueoh5j84IrudC1lZwVDmFDDM62 +KMLY/46HUmh+JaI8P/xxWnqbBbiaoN9IbbRZlg0sHm/Su43YiZVQSaGbBH2ky58 mS/orEDn/LwSwvNaqbcRtWI/CR35sM2LyvHSmYLPPLfgKzhzC8rS8jh88XjjyLGl 9iXYf0VOHn72y9KrGx+OP//jzutj2y8fvNt14y+94a/l0qsfHz386vcvTm1+tpcJ nP915/sn7z7/Gw== =Jg8o -----END PGP SIGNATURE----- --DocE+STaALJfprDB--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061206152214.GA95527>