Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Dec 2006 20:06:19 +0100
From:      Fabian Keil <freebsd-listen@fabiankeil.de>
To:        freebsd-questions@freebsd.org
Subject:   Re: managing traffic from localhost with pf
Message-ID:  <20061220200619.1e1313a7@localhost>
In-Reply-To: <458974E0.30702@gmx.de>
References:  <458974E0.30702@gmx.de>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
--Sig_DDwxDxuZzkEjkp5wX/k9=b4
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

"[LoN]Kamikaze" <LoN_Kamikaze@gmx.de> wrote:

> I'm using pf for NAT and redirecting traffic from my home network into a
> transparent proxy (squid26). I'd also like to send traffic from
> localhost into the proxy, but everyone I ask "thinks" it's not possible.
> Direct http and ftp access is blocked here, the proxy forwards to an
> external one, so the whole situation is a real pain, because my gateway
> is the only machine without http and ftp access. Even though it's
> providing that for all other machines on the net.
>=20
> So my question is, is it possible? What would I have to do to make it
> possible?

Use route-to to have the outgoing traffic come in on second loX
interface and redirect from there.

Have a look at:
<http://wiki.noreply.org/noreply/TheOnionRouter/TransparentProxy#head-cb42b=
2ce9d6110e19b5abecf51a9629c5115c3ea-2>
for an example.

Fabian
--=20
http://www.fabiankeil.de/

--Sig_DDwxDxuZzkEjkp5wX/k9=b4
Content-Type: application/pgp-signature; name=signature.asc
Content-Disposition: attachment; filename=signature.asc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (FreeBSD)

iD8DBQFFiYmxBYqIVf93VJ0RAtjRAKC9dtWF5R+yyODsgu3ZlzKsaIEDwgCggLsI
Fd7lccmjb2r0xAcOA7FMtzc=
=e/jP
-----END PGP SIGNATURE-----

--Sig_DDwxDxuZzkEjkp5wX/k9=b4--



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?20061220200619.1e1313a7>