From owner-freebsd-questions@FreeBSD.ORG Wed Dec 20 19:35:34 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7A1F416A412 for ; Wed, 20 Dec 2006 19:35:34 +0000 (UTC) (envelope-from freebsd-listen@fabiankeil.de) Received: from smtprelay04.ispgateway.de (smtprelay04.ispgateway.de [80.67.18.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2384643CA2 for ; Wed, 20 Dec 2006 19:35:32 +0000 (GMT) (envelope-from freebsd-listen@fabiankeil.de) Received: (qmail 25644 invoked from network); 20 Dec 2006 19:06:27 -0000 Received: from unknown (HELO localhost) (775067@[217.50.141.110]) (envelope-sender ) by smtprelay04.ispgateway.de (qmail-ldap-1.03) with SMTP for ; 20 Dec 2006 19:06:27 -0000 Date: Wed, 20 Dec 2006 20:06:19 +0100 From: Fabian Keil To: freebsd-questions@freebsd.org Message-ID: <20061220200619.1e1313a7@localhost> In-Reply-To: <458974E0.30702@gmx.de> References: <458974E0.30702@gmx.de> X-Mailer: Sylpheed-Claws 2.5.2 (GTK+ 2.10.6; i386-portbld-freebsd6.2) X-PGP-KEY-URL: http://www.fabiankeil.de/gpg-keys/freebsd-listen-2008-08-18.asc Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_DDwxDxuZzkEjkp5wX/k9=b4"; protocol="application/pgp-signature"; micalg=PGP-SHA1 Subject: Re: managing traffic from localhost with pf X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Dec 2006 19:35:34 -0000 --Sig_DDwxDxuZzkEjkp5wX/k9=b4 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable "[LoN]Kamikaze" 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: 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--