PDA

View Full Version : NAT negotiation failed



Nikodil
11-11-2006, 23:28
Haven't been able to join a single game :furious3:

MTW works flawlessy, but M2TW complains "NAT negotiation failed". And I'm not the only one, there were others in the lobby with the same problem. Any ideas what's going on?

http://en.wikipedia.org/wiki/Network_address_translation

Puzz3D
11-12-2006, 07:33
You're probably going to have to open certain ports on the router, but as usual CA hasn't provided the port numbers.

Nikodil
11-12-2006, 09:04
No, I don't think that's the (only) problem. I tried set my computer as DMZ host in my router, to make sure all ports are forwarded my local IP, but it still said "NAT negotiation failed".

But at least I was "luckier" that many other in the lobby, cause they didn't see any games at all. :thumbsdown:

[edit]
It seems unplausible that you're not supposed to be able to join games if you're on a natted IP. I'm curious, who else has this problem? Or sits behind a natting router still but can play? I'm behind a D-Link DI-804HV.

PaolinoPaperino
11-12-2006, 15:15
it is true, it's quite common..
sometimes I just hit the game line to join it a couple of times and at the third usually the NAT error disappear (it happens as well with games hosted with 90 as ping). When there is no chance.. well, I disconnet from the foyer and logon again. Usually in this way I can join that specific game.
Just a note.. never had any problem with this pc joining games in Rome or Shogun.
:juggle2:

Nikodil
11-12-2006, 22:23
Hmm, i get either the NAT error or sometimes "No response from server". I have tried at various times during the weekend, relogging several times.


Just a note.. never had any problem with this pc joining games in Rome or Shogun.

Yup, seems to be yet another tweaking of the MP aspect of the game. I'll try a few more times, but then I'm ready to give up. Sad to loose the game on walk-over.

tgi01
11-13-2006, 18:34
Have exactly the same issue ... its some kinda bug I guess .. I tried removing my firewall /router and connecting directly to the adsl modem and it still didnt help ... all othe mp games work

:furious3:


TGI

Puzz3D
11-13-2006, 19:25
No, I don't think that's the (only) problem. I tried set my computer as DMZ host in my router, to make sure all ports are forwarded my local IP, but it still said "NAT negotiation failed".
I'm astonished that CA has implimented code that makes using a router with DMZ enabled problematic.

NihilisticCow
11-13-2006, 22:11
You're probably going to have to open certain ports on the router, but as usual CA hasn't provided the port numbers.

I noticed in the medieval2.preference.cfg file, it seems to allow the port used to be configured, and defaults to 27750. So you could try forwarding that one.

ObeliX
11-16-2006, 07:53
I get this prolems as well connecting to a certain m8 online. However if another hosts we can all connect to his game fine? Wierd...

Stig
11-16-2006, 18:12
I'm having it too, quick reading in wikipedia learned me that nat has to do with a private network using the same internet on differents IP's.

What I do is:
log off, log on
It always worked, and I had this problem 3 times

AggonyKing
11-16-2006, 18:20
I really though that CA would fix all the MP problems, guess not. If i can never connect in RTW, I have low hopes in MTW2

Stig
11-16-2006, 18:36
It's Gamespy that does this to you not CA, but I agree it's irritating, and I doubt you can play well if you can't even play MTW2

tgi01
11-17-2006, 20:45
Well I could both connect and host in Rome ( not like I wanted to do either :smash: ) ... but it doesnt work at all here ...

TGI

Stig
11-17-2006, 23:14
Because of this same problem?
Have you tried logging out logging in again?

ArmaEtLorica_Mongoclint
11-18-2006, 10:19
Keep getting "NAT negotiation failed error." When hundreds of other games on the internet create seamless play, how, after so many titles and so many loyal followers can CA (or gamespy...I don't know) still have so many problems in offering a workable Multiplayer?

Mongo

Stig
11-18-2006, 13:36
It's a Gamespy error, has something to do with a "complicated" internet connection

ObeliX
11-20-2006, 23:26
I managed to solve this problem by requesting a static IP address from my ISP. Even connecting to the ppl i got the message everytime before.

Hope this helps!

tootee
11-21-2006, 04:25
I managed to solve this problem by requesting a static IP address from my ISP. Even connecting to the ppl i got the message everytime before.

Hope this helps!
Does this mean if I'm using a router, I have to disable DHCP?

ObeliX
11-21-2006, 08:39
Does this mean if I'm using a router, I have to disable DHCP?
No, the computers behind the the router can still have their network IPs dynamically assigned. Mines still enabled.

NihilisticCow
11-21-2006, 11:10
I really don't see how a static IP address from your ISP would change anything, I would suspect it was more of a coincidence. The problem is not necessarily your end if you're having trouble connecting to certain people.

In RTW, I've had issues with my router getting paranoid and blocking certain IP addresses (since it believed they were trying to launch an attack) and this of course stopped me from joining their games or vice versa, so I had to restart my router after each game with them...

tgi01
11-21-2006, 20:21
I have a static IP adress ... always had ... and removed the router so its just the adsl modem and my pc and still ...

TGI

Nikodil
11-21-2006, 21:22
I don't know what method gamespy is using, but the following articles give a hint on what's going on behind the scenes.

http://en.wikipedia.org/wiki/NAT_traversal
http://en.wikipedia.org/wiki/STUN

[edit]
I can see M2TW is chatting with a guy called medieval2.natneg1.gamespy.com. Sounds suspicious. Will run some Ethereal logs to see what they are talking about.

ELITEofWARMANGINGERYBREADMEN88
11-25-2006, 04:32
having ploblems right now also, don't know what is going on with mine..

Nikodil
11-25-2006, 20:42
I reinstalled M2TW on a different computer and didn't get a single NAT error on it. Which is kinda wierd, I suspected it to be ISP related.

tgi01
12-03-2006, 15:44
I reinstalled M2TW on a different computer and didn't get a single NAT error on it. Which is kinda wierd, I suspected it to be ISP related.



I got mine fixed by updating the network driver from the motherboard manufacturer instead of the windows , default driver , and it started to work.

It is still very weird as NAT issues are usually router related ( besides the default driver worked with everything else ).

It seems that Blutzeit also had the same kinda problem ( other pc other driver ::idea2: ) so updating it might solve the problem ...

TGI :wall:

ELITEofWARMANGINGERYBREADMEN88
12-03-2006, 17:04
Hey,

now I can't join any games, and no one can join my games. I don't know whats going on. I never ever had this ploblems last week, and started 3 days ago..

|C|GOS|{Prince}Angus
12-16-2006, 03:59
Ok think I have answer for this..so try this
go to Start button then control panel...
open up your network connections ..this allows you to view your computers connetions..if you have more than one then the one that is not your main ISP need to be disabled..having both active can chew up bandwidth and cause NAT probs..hope it works for yas...it did for one of my clannies :)

ELITEofWARMANGINGERYBREADMEN88
12-16-2006, 04:15
hmmm Angus, this may help me out, since I can join 88% of my games, but there a few I can't join Because of NAT.... Thanks m8 :) :)

FearSimbol
12-18-2006, 20:10
Hello everybody, just to try help out.

NAT means= Network Adress Translation

NAT is uses to avoid the problem with IP adress over internet, since on internet are to many people, is imposible to every one on internet have a valid IP adress. That is why some one invented NAT.

With that you can share 1 Valid IP adress(WAN IP) with many LAN IP adress, wich mean for example in a company with 120 computers that need internet, you will not need 120 WAN IP ADDRES, only 1 WAN IP ADDRESS and it is shared across all the corporation.

this is a example or NAT

IP Adress on Home Public IP Adress or WAN IP
or Corporation

192.168.1.1 - 192.168.1.254 ----> 200.44.32.12

All the computers internal have the IP 192.168.1.1 tru 192.168.1.254, but any one of this computers to access internet will use 200.44.32.12.

This process is called NAT, that is use by Routers, and Proxy Servers.

If you are having this issue and you dont have a router it could be a problem with your ISP, or with the user that is hosting the game (who maybe have a router), in the worse of cases could be GameSpy who have a CRAPY SERVER with crapy NAT resolution and his ports are geting full.

Remember with nat you share a Valid Ip internet Adress, and also all the ports, is something like this:

IP Adress on Home PORT Public IP Adress or WAN IP
or Corporation

192.168.1.1 : 8080 -------------> 200.44.32.12:8080
192.168.1.20: 27740 ------------> 200.44.32.12:27740
192.168.1.40: 27740 ------------> 200.44.32.12:27740
192.168.1.50: 27740 ------------> 200.44.32.12:27740
192.168.1.60: 27740 ------------> 200.44.32.12:27740

In this case check out that 3 computers are using the same port 27740 (MTW) if the routers is a crap router the users will get conections errors
since the routers cant handle to many users sharing same port number.

this could hapend from Gamespy side, or from your side.

Hope this help to understand better the NAT Error.

Bye bye

gino23
12-21-2006, 04:03
Is that port 27740 TCP or UDP?

Thanks

FearofFucyMan
06-16-2007, 01:58
After working for 3 days on the Ports and reconfiguring my modem, to play MTW2, with no positive results. Was getting ' Nat negotiation failed 'every time, when trying to join a game.

Then by good luck, thinking of old STW times, where u had to change a file within the program, I found that in ' medieval2.preference.CFG ' under [network]
use_ip= ........ was blank.
I than put in my ip address. Now I am able to join games and Host games with no problem.

So if you have problems with 'Nat negotiation failed' and put in all the ports, check the medieval2.prefence.CFG file. if it is blank put in your own ip Address.
It might solve the problem.

Ghost of Rom
06-16-2007, 03:36
I was getting the nat translation error quite often until I installed a router that was equipped with nat. Have not seen the error since.

caravel
06-16-2007, 10:19
The Windows Firewall/ICS service is also a NAT router. You should disable this entirely if you're using a hardware based NAT router, as this will cause negotiation problems.

Shadow
07-08-2007, 12:41
So did anyone work out a solution to this problem? Cause i am experiencing this myself

Stig
07-08-2007, 14:09
The proper solution would be going to the cfg file and putting in the IP adress of the server in the open slot. But no-one knows this IP.

Shadow
07-10-2007, 10:09
so that means there is not solution to the problem?

Stig
07-10-2007, 10:14
Correct, and that sucks

Sun of Chersonesos
08-11-2007, 10:52
I use a modem so I don't get these router issues with opening ports thank god. But every so often I don't see any games in the lobby so I have to relog or NAT negotiation issues, but it's always with one particular game. For example I join one game and I have NAT negotiation, I join another game and it works, I leave that game and join the game that first said NAT negotiation and NAT happens again.

IMO, one more thing for the wishlist for 1.3 is that CA give some port numbers. I figure that a lot more people will be seen in the lobby.

Sun

PS ; @ Stig and Shadow: Is that what Puzz3D was talking about earlier? is the port number the IP address that's put into the slot? I doubt it because to open ports on the router you need to put in numbers and these numbers correspond with whatever port you wish to open; to which the CA haven't provided any resources. On the other hand there's the IP of the server so actually I think the server IP and the port number needs to be specified by the CA in the next patch.

Kronos
08-11-2007, 14:40
You're probably going to have to open certain ports on the router, but as usual CA hasn't provided the port numbers.


Yes they have:

27750 (Medieval II - Total War)
* 6667 (IRC)
* 3783 (Voice Chat Port)
* 27900 (Master Server UDP Heartbeat)
* 28900 (Master Server List Request)
* 29900 (GP Connection Manager)
* 29901 (GP Search Manager)
* 13139 (Custom UDP Pings)
* 6515 (Dplay UDP)
* 6500 (Query Port)

A clan mate of mine is having the same issues when trying to connect to me, however can play perfectly fine with alot of other people. I think it might be because I have a router as well, although i've had no problems with it.

Hunter KIng George
08-11-2007, 16:26
I also have no router just a modem and I've had this problem for some time now...I have opened all the ports, turned off all firewalls, reinstalled game, patches , AOL, tried setting up different gamespy accounts, almost everything that has been mentioned. I've had the "NAT FAILED" problem since the patch came out. I used to play MTW2 before with no problem and now I can't. I still can log in but I cannot join or host in any reindeer games. :embarassed: While I was messing around with the computer trying to figure out solutions, I also somehow made mtw/vi also stop working in a similar way...I can also log in but I cannot see any games or no one can see my hosted games. The only way I can play VI is but loggin in thru 56k dialup (so embarrasing). :no: I believe both issues are related and something is blocking for both games to function properly...:help:

I hope the Mizu guys don't see this, they may not let me join any games on Sam Wars Sunday. Who wants to play w/someone on 56k...Gah! :wall:

Denali
09-02-2007, 12:25
Does anybody know which are the trigger ports and which the public ports?

I assume its both UDP and TCP?

Sun of Chersonesos
09-02-2007, 22:44
Hello everybody, just to try help out.

NAT means= Network Adress Translation

NAT is uses to avoid the problem with IP adress over internet, since on internet are to many people, is imposible to every one on internet have a valid IP adress. That is why some one invented NAT.

With that you can share 1 Valid IP adress(WAN IP) with many LAN IP adress, wich mean for example in a company with 120 computers that need internet, you will not need 120 WAN IP ADDRES, only 1 WAN IP ADDRESS and it is shared across all the corporation.

this is a example or NAT

IP Adress on Home Public IP Adress or WAN IP
or Corporation

192.168.1.1 - 192.168.1.254 ----> 200.44.32.12

All the computers internal have the IP 192.168.1.1 tru 192.168.1.254, but any one of this computers to access internet will use 200.44.32.12.

This process is called NAT, that is use by Routers, and Proxy Servers.

If you are having this issue and you dont have a router it could be a problem with your ISP, or with the user that is hosting the game (who maybe have a router), in the worse of cases could be GameSpy who have a CRAPY SERVER with crapy NAT resolution and his ports are geting full.

Remember with nat you share a Valid Ip internet Adress, and also all the ports, is something like this:

IP Adress on Home PORT Public IP Adress or WAN IP
or Corporation

192.168.1.1 : 8080 -------------> 200.44.32.12:8080
192.168.1.20: 27740 ------------> 200.44.32.12:27740
192.168.1.40: 27740 ------------> 200.44.32.12:27740
192.168.1.50: 27740 ------------> 200.44.32.12:27740
192.168.1.60: 27740 ------------> 200.44.32.12:27740

In this case check out that 3 computers are using the same port 27740 (MTW) if the routers is a crap router the users will get conections errors
since the routers cant handle to many users sharing same port number.

this could hapend from Gamespy side, or from your side.

Hope this help to understand better the NAT Error.

Bye bye

I think that this post has been very helpful to everyone. I don't have a router, I have a modem which means it doesn't occur so much for me unless the person on the other side has a truly corrupt and invalid source as I specified more clearly above.

Could someone please explain the situation regarding my question above which prefixes "PS ; @Stig & Shadow." Thanks