Re: network / nat / port forward -- problem
YR (email@example.com on 2012-01-12 16:34 -0500):
> The system has 2 network cards. Debian accesses the internet via eth0
> without problems. (typical dhcp getting IP from ISP)
> the internet connection is shared, and the xp machine connected to
> eth1 connects to the internet also without problems (none that I saw
> anyway) the dhcp server on debian assigns an ip to the eth1 machine
> successfully in the 10.x.x.x range
First things first -- you have no modem, or the modem is in bridge mode
(i.e. your Debian machine is directly connected to the Internet)? In
what range is the IP address of your Debian box?
> my problem is that I cannot access the machine on eth1 when it
> serves. For example, from the machine connected to eth1 I could play
> quake 3 connecting to a server on the internet flawlessly, but I
> cannot host a server myself, others can't connect to me.
> how to I forward the ports to the eth1 machine so that I can have a
> server on it? (or as routers often call it "virtual servers")
You need port forwarding, known as DNAT to friends. The official
documentation is here:
Some examples: http://linux-ip.net/html/nat-dnat.html
> I also want to activate the firewall on the debian machine but that
> also has caused problems with the internet connection sharing,
> leaving the machine on eth1 connectionless.
You already have a firewall, or you would have serious issues with
connectivity from your eth1 box. How did you activate the firewall?