Page 1 of 1

Need help playing Linux D3 on LAN

Posted: Sun Feb 10, 2008 8:24 am
by thwart
I am able to start a new game OK. However the 2nd computer can't see the game when selecting \"scan for local games\". I tried typing the local IP for the computer running the game (without a port #) but it still doesn't work.

Any idea what I need to do next?

Thanks in advance,
thwart

Posted: Sun Feb 10, 2008 9:17 am
by Cuda68
Usually getting the game to load is the problem, due to getting the rights setup correctly. Rights could be jerking you around. Try opening a shell and useing the SU command, and then launching the game from within the shell.
then move onto normal LAN connectivty issues, Both machines are pulling the proper IP address, cabling and such. Also try to ping one another from each machine. You know the usual stuff.
Once that has been addressed move on over to disabling firewalls and such.
Once all that has been addressed the game should at least seen useing IP addressing with the port ie.. 192.168.1.100:2090 or whatever you are useing, but do specify the port if not the default. I don't remember what the proper default port number is.

Posted: Sun Feb 10, 2008 3:17 pm
by Duper
sounds like Windows ME.

Posted: Sun Feb 10, 2008 3:36 pm
by fliptw
firewall up?

Re:

Posted: Sun Feb 10, 2008 4:44 pm
by thwart
fliptw wrote:firewall up?
Yep, on both. Cuda68 was mentioning this also. The strange thing is I can connect to games on the internet with both machines. Maybe because clients can and servers are blocked??

Does anyone know what port D3 uses for LAN games so I can open it up rather than shutting the whole firewall down?

Thanks again.

Posted: Sun Feb 10, 2008 4:58 pm
by Krom
Default port on D3 is 2092 for both internet and LAN games for all versions and operating systems.

If you can access internet games on both computers, it sounds like your router is screwing something up on the internal LAN side. Have you tried starting a game from the other computer on direct IP?

Posted: Sun Feb 10, 2008 6:21 pm
by thwart
Thanks for all the help. That port number was invaluable. I got it working by:

Add this line to /etc/shorewall/rules

ACCEPT net:192.xxx.x.x fw udp 2092

The IP address is the other computer that is allowed to connect. Notice the udp not tcp. This is only needed for the computer starting the game (running the server).

Restart shorewall with

shorewall restart

The other computer connects to game using address:

192.xxx.x.x:2092

Press \"search for games at address\" to see game.

Replace the IP addresses with your LAN IPs


On another note, ping still doesn't work between the 2 machines because of the firewall. Linux keeps the network very tight by default. I leave it that way.

Thanks again,
thwart

Posted: Sun Feb 10, 2008 8:04 pm
by Duper
Great info and well done thwart.

Is there any chance we can get this posted in the \"How to..\" thread in the Multi forum?