networking with the Monk
Published on January 31, 2008 By the_Monk In Technical

I have already posted this information to several other forums including the World in Conflict forums where it has received much attention and helped many people with posts such as "I can't connect to servers" , "I can't see all the servers" , "my friends can't see/connect to my server" etc. I have decided to post it again and hopefully it'll be made into a sticky!

I work in IT (design complex NAT/network structures for coporate clients) so that's how I know what I'm talking about. Second, I've had my server the Monk's [PROVING GROUNDS] running a dedicated server for most multiplayer games released since HW1/Operation Flashpoint, so anyone with game hosting issues, ask away! NAT and the misconceptions/inability to configure it are the single largest cause for people not being able to see/connect to/host internet servers today!

 

A quick lesson on NAT:

NAT (Strict) - Port AND Address-restricted NAT (the router/firewall insists that the packet return from both the same IP Address AND Port the packet was originally sent out to)

NAT (Moderate) - Port-restricted NAT (the router/firewall insists that the packet return from the same Port the packet was originally sent out to but doesn't care if the IP Address isn't the same)

NAT (OPEN) - Port AND Address independent NAT (the router/firewall doesn't care which Port OR IP Address the return packet comes from and simply forwards the data packet on to the internal IP you will have specified in your "port-forwarding") Obviously OPEN-NAT is the least secure and also by extension the most flexible for hosting/connecting-to games.

MOST games will work having TCP set to STRICT and UDP set to MODERATE. ALL games will work setting both TCP and UDP NAT filtering to OPEN. (your routers may or may not even let you modify NAT filtering, many SOHO routers do not!) I have "real" routers/firewalls (very expensive also ) so I have granular control over many things that many SOHO routers don't even reference such as the above.

If your router DOES allow NAT control then my suggestions above willwork! Plain and simple. NAT, when not implemented with any sort of controls (like on many SOHO routers, and crappy retail anti-malware/firewall software) is the single biggest reason for sour gamers!

Happy gaming/hosting, monk out!

xfire: the1monk

 

EDIT: here is a link a "networking guide for the gamer" I wrote which may also come in handy the "[url=http://www.themonk.ca/Monk/Networking_for_the_Gamer_by_the_Monk.pdf]Networking for the Gamer[/url]" guide I compiled of all the "generic" networking information I posted to various forums.

EDIT:

Here is the link to my SINS-specific guide "Networking and SINS" (version 1.0 written Feb 14/2008) which contains all information necessary in order to play/host SINS!

http://themonk.ca/Monk/Networking_and_Sins_by_the_Monk.pdf


Comments (Page 9)
9 PagesFirst 7 8 9 
on Aug 08, 2008
Hi Monk tanks for your reply I had a go at the gide
and configured the router

Fire wall is off (this cant be right as I living myself open to hacking)

I have tried to host but so far nothing.


Ironclad says that this is an onlyne game the way I see it is that it is verry difficoult to get it to work and therefore they are in breach of the trade description act

on Aug 08, 2008
Bksabath,

1. As I replied to you earlier, you could just update to the 1.1 BETA (v1.09) via IMPULSE (download from www.impulsedriven.com). The new BETA has "optional netcode" which tunnels past routers/firewalls (like Hamachi) and doesn't require any port-forwarding etc.

2. If you don't want to use the BETA of 1.1 (v1.09) and would rather stay on version 1.05 then you will need to go back through my guide and see which steps you missed/didn't complete correctly. You could be in the "double-NAT" situation I described in my guide where eventhough you've configured your router now, farther upstream at your cable-modem the connection may still be being blocked.

By the way, unless you have programs actively "listening" for connection on your PC and some malware happens to use the very same port for traffic, disabling your firewall to play SINS is not making you "open to hacking". Firewalls on SOHO routers TRY to inspect and verify that data passing through is actually what it says it is. I have yet to see a SPI-type firewall on consumer-level routers that isn't nearly useless at said task (ie. more than a marketing ploy...).

thanks,

the Monk
on Aug 27, 2008
hey monk, just thought i'd update you on the good news. the 1.1 beta really helps with the networking issues. i havent had a problem hosting or joining games thus far except for the lack of people playing the game now, : (

meanwhile, your info was great! thank you.
on Aug 27, 2008

hey monk, just thought i'd update you on the good news. the 1.1 beta really helps with the networking issues. i havent had a problem hosting or joining games thus far except for the lack of people playing the game now, : (

meanwhile, your info was great! thank you.




pvster,

Glad to hear it!...and as you can seen by this thread the "new netcode" in version 1.1 BETA effortlessly tunnels past all of the routing devices on my own network with ease.


Happy hosting!

the Monk
on Oct 31, 2008

hiya there! nice post, lot of effort in it, nice .pdf in your link. well done, hopefully some people find this information useful and can fix their problems hosting a sins game.

on Nov 22, 2008

I have a Westell C90 model and under the NAT/Gaming configuration there is an option for Static NAT.  Do I need to enable this to host a Sins game?  Will my friend be able to connect to my IP address if I host with the "Multiplayer" option instead of going through ironclad? I have ports forwarded/firewall exceptions added.  I'm thinking that the NAT is the only thing giving me the problem.

There is also an option for IP Passthrough, however looking at your guide it does not mention if this needs to be enabled or disabled.  Thanks

on Nov 22, 2008

I have a Westell C90 model and under the NAT/Gaming configuration there is an option for Static NAT.  Do I need to enable this to host a Sins game?  Will my friend be able to connect to my IP address if I host with the "Multiplayer" option instead of going through ironclad? I have ports forwarded/firewall exceptions added.  I'm thinking that the NAT is the only thing giving me the problem.

There is also an option for IP Passthrough, however looking at your guide it does not mention if this needs to be enabled or disabled.  Thanks

 

I think you may have misunderstood me. 

1.  I'm not suggesting people stop their routers from performing NAT (Network Address Translation), I'm simply saying if one's router has specific options regarding NAT-filtering then relaxing the level of "filtering" will help ensure connection.  So make sure you're not talking about disabling NAT entirely on your modem/router combo.

2.  The ports need to be forwarded to the correct PC behind the router.  Make sure the IP of the PC you want to forward all traffic on the specified ports to isn't/hasn't changed.

3.  Make sure (at least for testing) that all anti-malware software and other third-party software firewalls are disabled.

 

I'm of course assuming that the modem/router combo you have (if memory serves me it is a combo modem/router right?) is the only router between your PC and the internet?  The answer to this question is ALL IMPORTANT! 

Alternatively you and your friend could use IMPULSE (www.impulsedriven.com ) to update to version 1.1 and not have to forward any traffic at all.  Game version 1.1 employs new netcode (alloy) which tunnels past/through everything with no need for port-forwarding etc.

 

thanks,

the Monk 

 

on Nov 22, 2008

2. The ports need to be forwarded to the correct PC behind the router. Make sure the IP of the PC you want to forward all traffic on the specified ports to isn't/hasn't changed.

This has caused me a few issues in the last week and a bit - my PC address changed on me (stupid DHCP)...

I also had to open port 7000 on my router to get Sins to work in 1.1 (actually 1.11 by the time I got it working....)

on Jun 21, 2009

It's the monk!!!

 

How funny to see you here making the exact same thread

on Aug 06, 2009

 It's the monk!!!

 

How funny to see you here making the exact same thread 

 

Yes it's me....hehe

 

You'll find I've made a habit of hanging around gaming forums writing guides, and posting technical threads.  Sometimes I don't even play the games.    

 

the Monk

on Jul 25, 2012

I am having trouble finding the link on the website you specified as well as using a search engine to find it. Can you post the link to the file at a website or possibly have it uploaded to a file server like rapidshare.com or etc.. I am trying to host rebellion match on my computer. 

on Jul 25, 2012

caster91
I am having trouble finding the link on the website you specified as well as using a search engine to find it. Can you post the link to the file at a website or possibly have it uploaded to a file server like rapidshare.com or etc.. I am trying to host rebellion match on my computer. 

 

The link is back in the OP now.

 

I have to say though that the port numbers in my guide may be obsolete now (as this guide was written for SINS vanilla back in 2008).

 

Having said that, the STEPS you have to take on your router(s) or other network devices remain the same. 

 

 

If you want to know the new port numbers follow the following steps:

1.  Start SINS REBELLION and HOST a game. 

2.  Then ALT-TAB, go to RUN and type "CMD".  Hit <enter>.

3.  Type "netstat -a".  Again hit <enter> 

4.  You will see all ports currently open/using/listening for traffic listed.

5.  Make note of the port listening for SINS and replace the port(s) in my old guide with the new one.

 

Happy hosting!     

9 PagesFirst 7 8 9