Subject: tircproxy as a transparent proxy
To: None <netbsd-users@netbsd.org>
From: Julio Merino <juli@merino.net>
List: netbsd-users
Date: 02/03/2002 15:29:06
--u3/rZRmxL6MmkK24
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Hi all,
I'll start explaining my network layout:
Firewall/router: 192.168.1.1 - ed0 is local network iface, and rl0 is
internet iface. This will run tircproxy.
Other computers: 192.168.1.[2-4], they connect to outside IRC servers.
Network: 192.168.1.0, Broadcast: 192.168.1.255 (as usual)
In the firewall, I've setup ipf+ipnat, and I want to get dcc working.
So I went and installed tircproxy. I setup the following rule in the
ipnat config, at the beginning of the file (before the 'map' rule):
rdr ed0 192.168.1.0/24 port 6667 -> 127.0.0.1 port 7666 tcp
I reload the configuration and I start tircproxy:
tircproxy -d8 -MHR -s 7666 -i 192.168.1.1
But... it does not catch connections. As it is explained in the
documentation, this configuration should get all outgoing connections
to remote IRC servers and map them to the local tircproxy.
I don't know if it is a problem of my config, or a problem of ipf/ipnat
version.
Any idea?
Thanks a lot!
--=20
Of course it runs NetBSD - http://www.netbsd.org
Julio Merino (Slink) <juli@merino.net>
--u3/rZRmxL6MmkK24
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
iD8DBQE8XUkyzz00ZOPKycwRAiWHAJ0TICJ2hCyAg74RLdoduE94xgET3QCfWSuM
C6nk3ouwklCnzNUm6sMMd8A=
=V5VZ
-----END PGP SIGNATURE-----
--u3/rZRmxL6MmkK24--