games using DirectPlay through suse firewall
Hi, I have a LAN with few Ms boxes and one suse9 box with firewall (needed for notebook connected to other netcard). I want to be able to play network games, that use DirectPlay under windows, on my notebook, so that I could access other computers on LAN. I already added static routes to MS boxes and notebook and I can ping in both ways. I used Yast for firewall configuration. LAN: 192.168.1.x NOTEBOOK: 192.168.0.x Suse9 BOX: eth0 - LAN, eth1 - notebook What do I have to do to get ports used by MS games using DirectPlay forwarded to box inside (notebook)? rgds, himba -- This €-mail was Kmailed.
On Saturday 29 November 2003 16:01 pm, himbA wrote:
Hi,
<SNIP>
What do I have to do to get ports used by MS games using DirectPlay forwarded to box inside (notebook)?
First thing to do is make sure you enable forwarding and masquerading on the box. Why don't you just plug the laptop into the LAN? I assume the laptop has an IP address in a different subnet from the LAN. Dylan -- Sweet moderation Heart of this nation Desert us not We are between the wars - Billy Bragg
On Saturday 29 of November 2003 17:23, Dylan wrote:
On Saturday 29 November 2003 16:01 pm, himbA wrote:
Hi,
<SNIP>
What do I have to do to get ports used by MS games using DirectPlay forwarded to box inside (notebook)?
First thing to do is make sure you enable forwarding and masquerading on the box. yes forwarding and masquerading is enabled.
Why don't you just plug the laptop into the LAN? LAN is on coax cable while notebook has UTP jack.
I assume the laptop has an IP address in a different subnet from the LAN. yes, notebook is on 192.168.0.0/24 other boxes on LAN are on 192.168.1.0/24 and linux box has two NICs.
Dylan
-- Sweet moderation Heart of this nation Desert us not We are between the wars - Billy Bragg
-- This €-mail was Kmailed.
On Saturday 29 November 2003 16:30 pm, himbA wrote:
On Saturday 29 of November 2003 17:23, Dylan wrote:
On Saturday 29 November 2003 16:01 pm, himbA wrote:
Hi,
<SNIP>
What do I have to do to get ports used by MS games using DirectPlay forwarded to box inside (notebook)?
First thing to do is make sure you enable forwarding and masquerading on the box.
yes forwarding and masquerading is enabled.
Good.
Why don't you just plug the laptop into the LAN?
LAN is on coax cable while notebook has UTP jack.
Fair enough
I assume the laptop has an IP address in a different subnet from the LAN.
yes, notebook is on 192.168.0.0/24 other boxes on LAN are on 192.168.1.0/24 and linux box has two NICs.
OK, you need to identify which ports are being used by the DirectPlay system. If that info is not generally available to you, it should be possible to identify them by trial and error while monitoring the firewall logs. Set the log all dropped packets option on, then try to start a gaming session - you should see all the dropped packets listed in the log. They will be SuSE-FW-DROP-DEFAULT with a bunch of info following. One of which will be SRC=<IP of laptop>, another will be SPT=<number>. In the firewall config page, open the "other services" box and enter that number. If all goes well, you're away, otherwise check for another port. Dylan -- Sweet moderation Heart of this nation Desert us not We are between the wars - Billy Bragg
DirectPLay uses several ports for MS games. One in particular is 47426. It also uses some dynimicaly allocated UDP and TCP ports 2300:2400. I already have all ports open (1:65000) on linux firewall and still network based games do not work. I belive I have to forward these ports to my notebook?! I have found some resources on the net regarding this topic, now- since Suse firewall is setup with yast, where do I manually add rules/chains that would be applied during each boot? I see that all chains are terminated with DROP rule, so I guess adding another rule after this is useless... rgds, himba On Saturday 29 of November 2003 18:06, Dylan wrote:
On Saturday 29 November 2003 16:30 pm, himbA wrote:
On Saturday 29 of November 2003 17:23, Dylan wrote:
On Saturday 29 November 2003 16:01 pm, himbA wrote:
Hi,
<SNIP>
What do I have to do to get ports used by MS games using DirectPlay forwarded to box inside (notebook)?
First thing to do is make sure you enable forwarding and masquerading on the box.
yes forwarding and masquerading is enabled.
Good.
Why don't you just plug the laptop into the LAN?
LAN is on coax cable while notebook has UTP jack.
Fair enough
I assume the laptop has an IP address in a different subnet from the LAN.
yes, notebook is on 192.168.0.0/24 other boxes on LAN are on 192.168.1.0/24 and linux box has two NICs.
OK, you need to identify which ports are being used by the DirectPlay system. If that info is not generally available to you, it should be possible to identify them by trial and error while monitoring the firewall logs. Set the log all dropped packets option on, then try to start a gaming session - you should see all the dropped packets listed in the log. They will be SuSE-FW-DROP-DEFAULT with a bunch of info following. One of which will be SRC=<IP of laptop>, another will be SPT=<number>.
In the firewall config page, open the "other services" box and enter that number. If all goes well, you're away, otherwise check for another port.
Dylan
-- Sweet moderation Heart of this nation Desert us not We are between the wars - Billy Bragg
-- This €-mail was Kmailed.
The Saturday 2003-11-29 at 20:18 +0100, himbA wrote:
I already have all ports open (1:65000) on linux firewall and still network based games do not work. I belive I have to forward these ports to my notebook?!
A firewall with all ports open is useless, like a house with doors removed. -- Cheers, Carlos Robinson
At 01:27 PM 11/30/2003 +0100, Carlos E. R. wrote:
The Saturday 2003-11-29 at 20:18 +0100, himbA wrote:
I already have all ports open (1:65000) on linux firewall and still network based games do not work. I belive I have to forward these ports to my notebook?!
A firewall with all ports open is useless, like a house with doors removed.
As mentioned above, opening all ports on your firewall makes your firewall useless. To figure out what ports you actually need open use the info at either of these links: - DirectX: Ports Required to Play on a Network, http://support.microsoft.com/default.aspx?kbid=240429 - Which ports are used by insert game here, http://www.u.arizona.edu/~trw/games/ports.htm, Most likely your firewall is using some form of Network Address Translation (NAT). If this is the case, you may or may not be able to get your games to work. DirectPlay tends to be somewhat problematic with firewalls & NAT. For more info: - NAT and Network Games, http://www.u.arizona.edu/~trw/games/nat.htm - Gaming Help, http://www.practicallynetworked.com/support/gaming_help.htm If none of that helps, try doing some searches on Google for more info. Mark McKibben manzabar@mchsi.com http://www.avalon.net/~manzabar ICQ# 8476502 May there always be work for your hands to do; may your purse always hold a coin or two; may the sun always shine on your windowpane; may a rainbow be certain to follow each rain; may the hand of a friend always be near you; may God fill your heart with gladness to cheer you.
participants (4)
-
Carlos E. R.
-
Dylan
-
himbA
-
Manzabar