Date: Mon, 03 Jul 2006 07:10:36 -0700 From: Skylar Thompson <skylar@cs.earlham.edu> To: "Oliver A. Rojo" <oliverrojo@anticogroup.com> Cc: FreeBSD Mailing List <freebsd-questions@freebsd.org> Subject: Re: transparent proxy howto Message-ID: <44A9255C.8040300@cs.earlham.edu> In-Reply-To: <44A8DF19.7070003@anticogroup.com> References: <44A24315.8000502@anticogroup.com> <44A343D8.7040307@cs.earlham.edu> <44A8DF19.7070003@anticogroup.com>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig76BB626F09FEF84DF0B88111 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Oliver A. Rojo wrote: > Skylar Thompson wrote: >> Oliver A. Rojo wrote: >> =20 >>> hi! >>> >>> Im using freebsd-5.2.1-RELEASE-p14 and I just want to ask if how can = I >>> setup transparent proxying with squid using ipnat? >>> =20 >> >> You're going to want something like this in your ipnat configuration: >> >> rdr int0 0/0 port 80 -> 192.168.0.1 port 3128 >> >> Where int0 is your internal interface name, and 192.168.0.1 is your >> internal interface IP address. You'll also want this in your squid.con= f: >> >> http_port 8080 >> httpd_accel_host virtual >> httpd_accel_port 80 >> httpd_accel_with_proxy on >> >> Full documentation here: >> >> http://www.squid-cache.org/Doc/FAQ/FAQ-17.html >> httpd_accel_uses_host_header on >> >> >> >> =20 > is there anything to be done with the kernel? I've done this one but > it didn't worked... Make sure that ipnat is loaded by putting ipnat_enable=3D"YES" in /etc/rc.conf, and you should be good to go. --=20 -- Skylar Thompson (skylar@cs.earlham.edu) -- http://www.cs.earlham.edu/~skylar/ --------------enig76BB626F09FEF84DF0B88111 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEqSVcsc4yyULgN4YRAqRkAKCkyT0Dz4L+0R9e8TMInpb0YtEBaQCePHm2 ygSgRX064xaStQZwPj0Mleg= =IMaE -----END PGP SIGNATURE----- --------------enig76BB626F09FEF84DF0B88111--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44A9255C.8040300>