Subject: Re: tircproxy as a transparent proxy
To: None <netbsd-users@netbsd.org>
From: Julio Merino <juli@merino.net>
List: netbsd-users
Date: 02/03/2002 17:27:38
--x+6KMIRAuhnl3hBn
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Feb 03, 2002 at 04:44:29PM +0100, Michael Kukat wrote:
> Hi !
>=20
> On Sun, 3 Feb 2002, Julio Merino wrote:
>=20
> Ah. Okay, maybe i found it. Here is what i use:
>=20
> zeus# bash-2.05# ipnat -l|grep 80
> rdr fxp0 0.0.0.0/0 port 80 -> 192.168.177.1 port 80 tcp
> bash-2.05# netstat -naf inet|grep "\.80.*LISTEN"
> tcp        0      0  192.168.177.1.80       *.*                    LISTEN
>=20
> This work fine, every connect to _ANY_ address on port 80 on fxp0 (the in=
ternal
> interface of my firewall) will be redirected to my squid here. Maybe you
> should use 0.0.0.0/0, as in your statement, only connections to 192.168.1=
.0/24
> will be redirected to 127.0.0.1 on port 6667 i think.

Well, using the thing of 127.0.0.1 and this of 0.0.0.0/0... it WORKED!!
Thanks a lot! I now have to setup an active-ftp proxy, but it will be
easier now.

Thanks again.

>=20
> ...Michael
>=20
> --=20
> http://www.bsdfans.org/    Home network powered by: NetBSD OpenBSD FreeBS=
D IRIX
> Solaris AIX HP-UX Tru64 MUNIX Ultrix VMS SINIX Dolphin_Unix OpenStep MacO=
S A/UX

--=20
Of course it runs NetBSD - http://www.netbsd.org
Julio Merino (Slink) <juli@merino.net>

--x+6KMIRAuhnl3hBn
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (NetBSD)
Comment: For info see http://www.gnupg.org

iD8DBQE8XWT6zz00ZOPKycwRAu4LAJ9B6PXDS9TJ/RGMvAj30fbPOUQeLACcCjBN
FxEF+dUg26ET3cCJ9YQ0PLs=
=5uMv
-----END PGP SIGNATURE-----

--x+6KMIRAuhnl3hBn--