Subject: GNUtella + ipf + ipnat - port-forwarding?
To: None <netbsd-users@netbsd.org>
From: Benjamin Walkenhorst <krylon@gmx.net>
List: netbsd-users
Date: 11/22/2003 15:01:05
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello everybody,
I connect to the internet through a NetBSD-gateway that has an ISDN card=20
(isic*) and an ethernet card (rtk*), using ipf + ipnat.
Now I want to run GNUtella on my desktop machine, and I want others to=20
be able to connect to my machine.
I tried to allow incoming connection on GNUtella's port in ipf.conf, but=20
if I understand everything correctly, due to ipnat, GNUtella will=20
appear on a different port on my outside ip-adress, and probably on a=20
random one. So allowing incoming connections on GNUtella's port=20
probably won't work anyway.
But if I remember correctly, there's something called port-forwarding,=20
which forwards connection-requests to outside ports to the same ports=20
on internal machines, transparent to the outside machine connecting.
This seems to be exactly what I want to do. I guess this has to be done=20
in ipnat.conf. But how?=20
I see from the man-page this is done with the rdr command. The problem=20
is, since I'm using a dial-up connection, there's no way to know my=20
external ip-adress in advance. Can I use a variable for my external=20
ip-adress?
Thank you very much,
Kind regards,
Benjamin Walkenhorst
- --=20
Benjamin Walkenhorst
eMail: krylon@gmx.net
http://www.krylon.de
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (NetBSD)
iD8DBQE/v2wh/JWwsvZUqOwRAtwvAJ9VggU1QGIhGUrRREZeOOEhy1IEAgCfWVM7
bqbzqQgS66vaSdcLN6WTV70=3D
=3DBTLw
-----END PGP SIGNATURE-----