Posts: 5
Threads: 1
Joined: Feb 2010
Reputation:
0
Hey all, i have never had this problem with an SRCDS install before, and i cant figure it out myself so here it is.
Fresh install of debian 5.something linux with default kernel tf2 server wont accept an rcon log in from any where, wither it be from a client on the server HLSW or anything of the like, the only add on to the server is mani admin but i couldnt find anything any where where mani breaks rcon, the server when ssh'd into says the password is the same from the config, and the box is on the DMZ, its really anoying not being able to rcon cmd's to the server and having to log in, any ideas would be greatly appreciated.
Posts: 779
Threads: 5
Joined: Apr 2008
Reputation:
9
Do you have +ip <ip-adress> in your startup line?
Posts: 482
Threads: 6
Joined: Apr 2008
Reputation:
5
Try "+ip 0.0.0.0". Then you can connect either LAN or external IP. However, I think you have firewall blocking the connection to the rcon port. You've ran srcds servers before so you probably know how to set HLSW and other settings correctly. Verify that you haven't accidentally blocked HLSW in your firewall.
Posts: 779
Threads: 5
Joined: Apr 2008
Reputation:
9
I have one Linux box behind a router.
In the startupline: +ip <local ip> -port 27015
In server.cfg: rcon_password "<pwd you prefer>"
On your router open ports (27000 to 27015- UDP, 27030 to 27039- TCP, 1200- UDP, 27020- UDP, 27015- TCP) to the local IP (or enable DMZ to start).
That should work.
Posts: 5
Threads: 1
Joined: Feb 2010
Reputation:
0
02-25-2010, 06:20 AM
(This post was last modified: 02-25-2010, 06:38 AM by Largo Usagi.)
the box is DMZ'ed it might as well be a gaping hole on the internet and yet it still doesnt allow rcon, i think it may be the lynksys routers firewall being fucking fail, so im going to try installing DD-WRT on it and see if that fixes the problem, the servers i ran before wouldnt even forward on some linksys routers, so ill try that, here is the startup script
#!/bin/sh
echo "Starting TF2 Server"
sleep 1
screen -A -m -d -S tf2 taskset -c 1 ./srcds_run -console -game tf -autoupdate -ticrate 67 -ip 71.238.3.64 -port 27015 +map ctf_2fort +maxplayers 24 +fps_max
if there is anything else you would like to know please ask, im obviously missing the relevant information that is causing the problem.
oh i just saw this warning when i rebooted the box
WARNING: NNET_OpenSocket: bind: Cannot assign requested address
SOLVED, when i changed the ip to bind on 0.0.0.0 rcon started working, thanks for the help, but that is an odd error to me, if some one wants to lock this thread that would be great.