10-23-2005, 04:53 AM
Hello. I am running a linux server for Counter-Strike Source and I can get the server to run, but it is not running properly. To be specific, my router (I guess) will constantly assign a weird public port to the server that is usually in the 63000 range. This prevents the server from being a true "dedicated" server in the sense that the IP address is changed every time I restart the server. I tried specifying a port in the "-port" switch in the command line when starting the server but my server just refuses to start with an error message telling me that it cannot allocate a dedicated UDP port for the server. Also, I HAVE to reconfigure my router every time I start the server to forward the ports the server is using. For example, if the router assigns the port 63440 to the server, I will go in an forward the public port 63440 to the private port 27015. I also do the same thing for 63435 ---> 27010 and 63445 -----> 27020. I am also forwarding the public to private IP address in each instance. Another problem I have with the server is that I cannot use RCON on the server. typing "status" in the console in game or on the server just gives me what I suppose is the subnet mask and does not give me the public or private IP. My server also has DMZ activated on it.
Does anybody have any suggestions as to how I can get my router to assign a static port to my server and how my server can work with RCON commands? Any help would be greatly appreciated.
By the way, I am running the server on CentOS 4.1 (http://www.centos.org) and my router is a D-Link DI-524. Thanks for any help!
Does anybody have any suggestions as to how I can get my router to assign a static port to my server and how my server can work with RCON commands? Any help would be greatly appreciated.
By the way, I am running the server on CentOS 4.1 (http://www.centos.org) and my router is a D-Link DI-524. Thanks for any help!