Posts: 5
Threads: 1
Joined: Jan 2008
Reputation:
0
Hi everybody,
I've a problem and can't solve it by reading existing threads...
First, here is my network diagram :
My SRCDS runs (and works) on Ubuntu 6.06. This is for an Internet and LAN use. Using sv_lan 0. Players from the internet can join the server. Port forwarding is OK.
POINT 1
./srcds_run -game cstrike -map de_dust2
Using default IP address. The server starts, I can see it in steam's LAN servers and i can join it. I can't use the rcon commands (Unable to connect...) and the status command tell me that the server IP address is 127.0.1.1 (instead 192.168.1.4)
POINT 2
./srcds_run -game cstrike +ip 192.168.1.4 -map de_dust2
Forcing server IP address. The servers starts and works, but I can't show it in the steam's LAN servers. I can join it by using the command "connect 192.168.1.4:27015" and by this way, I can use rcon commands.
So, I need to have a visible server in the LAN list and I need to use RCON commands. I already try to set an rcon_address in my server.cfg but it doesn't work. I thinks the problem comes form 127.0.1.1. I don't know what is this. Maybe a Ubuntu property ?
Posts: 11
Threads: 0
Joined: Jan 2008
Reputation:
0
Showing that 127.0.1.1 address should be fine.
You may need to re-investigate your port forwarding.
Since you are running as an internet server, you want to avoid using point 2.
Ideally you should be able to query your server from something like gametracker.com when it is up, by using your WAN IP ( http://www.ipchicken.com) ( http://www.whatismyip.com)
You cannot use the rcon commands while in the server?
Posts: 5
Threads: 1
Joined: Jan 2008
Reputation:
0
01-15-2008, 07:56 AM
(This post was last modified: 01-15-2008, 07:57 AM by MySteRe13.)
AdminWorx Wrote:Showing that 127.0.1.1 address should be fine.
You may need to re-investigate your port forwarding.
Since you are running as an internet server, you want to avoid using point 2.
Ideally you should be able to query your server from something like gametracker.com when it is up, by using your WAN IP (http://www.ipchicken.com) (http://www.whatismyip.com)
You cannot use the rcon commands while in the server?
Hi,
Thanks for your answer.
Now, I'am using point 1.
I can see my server on gametiger.com by name or IP search.
But, in the console :
Console Wrote:rcon_password mypass
Unable to connect to remote server (192.168.1.4:27015)
or
Console Wrote:rcon_address WAN_IP
rcon_password mypass
Unable to connect to remote server (WAN_IP:27015)
I don't understand why... What is the rcon specific port ?
Otherwise, is there any others way to admin a server ?
Posts: 11
Threads: 0
Joined: Jan 2008
Reputation:
0
Two things. Make sure port 27015 UDP and TCP is forwarding to 192.168.1.4.
Secondly, add +ip (your ipchicken address) into point 1.
If all else fails, try setting a DMZ in your router for 192.168.1.4 just to see if it works. If it does, you can determine it is your router.
Posts: 5
Threads: 1
Joined: Jan 2008
Reputation:
0
Please also note that you'll need to make sure that udp and tcp (both) are selected as well when making changes to your router.
David T.
Posts: 5
Threads: 1
Joined: Jan 2008
Reputation:
0
AdminWorx Wrote:Two things. Make sure port 27015 UDP and TCP is forwarding to 192.168.1.4.
Secondly, add +ip (your ipchicken address) into point 1.
If all else fails, try setting a DMZ in your router for 192.168.1.4 just to see if it works. If it does, you can determine it is your router.
Hi,
Same problem by setting a DMZ
I can't set +ip WAN_IP :
Console Wrote:WARNING: NNET_Opensocket: bind: Cannot assign requested address
Couldn't allocate dedicated server UDP port
Posts: 57
Threads: 9
Joined: Sep 2007
Reputation:
0
try to set in server.cfg
sv_lan 1
from Russia with love
Posts: 5,178
Threads: 65
Joined: Mar 2005
Reputation:
22
You can't bind the WAN IP since that's owned by the router, you have to set the LAN ip or set nothing.
Posts: 5
Threads: 1
Joined: Jan 2008
Reputation:
0
By setting sv_lan to 1 and +ip 192.168.1.4, rcon works....but why is my server not visible in the LAN list ??
it's a lan server, in my lan, with sv_lan 1, with a lan ip...but not in the lan list....wtf ?
Posts: 483
Threads: 9
Joined: Mar 2007
Reputation:
0
in the past, i have set a local server on my home network to my wan ip and it made everything work: rcon, lan list, and showed up online.
Also when forwarding ports i would do 27000 - 27030 udp and tcp
Posts: 1
Threads: 0
Joined: Apr 2008
Reputation:
0
04-30-2008, 09:10 AM
(This post was last modified: 04-30-2008, 09:13 AM by vitiate.)
I have pretty much the exact same issue. I have the same configuration as the first post (except IP address are 192.168.2.2 for client and 192.168.2.4 for server)
Now, this set up worked fine under Windows 2003. I could connect to the server from the steam browers LAN list, and players on the WAN could connect and rcon would work, all great. I've now moved to Debian (For those that don't know, pretty much the same as Ubuntu) and now I can see the server from the WAN and LAN, but I get the "unable to connect to rcon" error when I try the rcon command.
(I might be muddled up) but I know RCON uses TCP 27015 and the game uses UDP 27015. Whats the issue? This is really annoying.
The same problem is present for all HL2 games and is most certainly linux specific.
Posts: 1
Threads: 0
Joined: Apr 2009
Reputation:
0
04-14-2009, 05:51 AM
(This post was last modified: 04-14-2009, 05:58 AM by msu.)
hey,
sorry for digging up an old thread, but I had the exact same problem with my LAN server running on Debian 5.0 and have been trying to fix it for quite a while and not a single one of the 1000 solutions I found fixed it.
Just for the case that anyone else is going to find this thread via google, like I did, here is my awesome solution:
add +ip 0.0.0.0 to the the startup parameters. rcon is now working fine and the server is visible in the server list.
hope I helped someone,
bye
Posts: 3,906
Threads: 404
Joined: Oct 2007
Reputation:
21
04-14-2009, 12:58 PM
(This post was last modified: 04-14-2009, 12:59 PM by Mooga.)
127.0.0.1 is your loopback, not 127.0.1.1
Actually, 127.0.1.1 ALSO loops back...
~ Mooga ...w00t? - SRCDS.com on Twitter
Please do not PM me for server related help
fqdn Wrote:if you've seen the any of the matrix movies, a game server is not all that different. it runs a version of the game that handles the entire world for each client connected. that's the 2 sentence explanation.
Posts: 1
Threads: 0
Joined: Jul 2009
Reputation:
0
I signed up for an account simply to offer my thanks to everyone who posted here.
Many thanks first to MySteRe13 for posting this issue so concisely. Second, many many kudos to msu for the resolution. This is the exact problem I had with my Ubuntu HL2DM server. Binding the server to 0.0.0.0 works perfectly. Too bad I didn't find this thread 4 hours ago.
Posts: 1
Threads: 0
Joined: Aug 2009
Reputation:
0
msu Wrote:hey,
sorry for digging up an old thread, but I had the exact same problem with my LAN server running on Debian 5.0 and have been trying to fix it for quite a while and not a single one of the 1000 solutions I found fixed it.
Just for the case that anyone else is going to find this thread via google, like I did, here is my awesome solution:
add +ip 0.0.0.0 to the the startup parameters. rcon is now working fine and the server is visible in the server list.
hope I helped someone,
bye
Excellent job. I've been looking for a solution for this for a long time and almost gave up. THANK YOU!!! PS: I'm Running Ubuntu 2.6.27-9-server 64 bit in case anyone cares.
|