----- Original Message ----- From: "Stan Hoeppner" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, February 24, 2003 11:08 AM Subject: RE: [hlds_linux] CS-server behind router
> > > my thoughts: > > IP:PORT from the network-package AFTER NAT > > for example my server has ip 192.168.1.3, port 27015. Now the > > router get's > > the package and changes the ip to my online-ip and uses a random port. > > So the server apears at the masterlist, but with a wrong > > port. So connecting > > via masterlist doesn't work. > > When the router doesn't change the port, all is fine and > > connection works > > via masterlist. > > > > Would be great if someone who KNOWS how it works can give me > > some hints :) > > > You've hit the nail on the head. To fix this problem, you'll have to force > your NAT device to leave the port intact after NAT'ing the IP address. > Depending on the firmware of the router, you may or may not be able to do > this (if it's a hardware router). If your NAT device is a PC with Linux or > another OS, you should be able to fix this problem with a rule. > > Please respond with full details of your NAT device, and we'll see what we > can come up with for you. > > StanTheMan Hi Stan, thanks for your answer. As told i know about the router/NAT-problem, also how to fix it with my linux-router. What i want to know: are my thoughts right or does it only look like it works this way? Again, someone told me: it works if you change the IP of the server (normally a LAN-IP) to the online-ip (at the server-console with ip XXX...) while it is running. Just didn't try for myself. But i know if you try to pass a ip with the commandline (+ip ...) you get a errormessage if you use a ip that isn't located at the server. And yes, you can change the value of the variable "ip" in the server-console with ip "new_ip". Damn, i should improve my english :) But now i got the question: How does the won/masterserver get the port? Is the "sending-port" used (which is after NAT not the port the server is listening)? Juergen btw, there is also a thread at the forums @server.counter-strike.net: http://server.counter-strike.net/forums/showthread.php?s=&threadid=22851 _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux

