Posts: 12
Threads: 1
Joined: Jul 2012
Reputation:
0
Hello,
I have set up a gmod server, that i can connect to over LAN but other people can't. however one of my friends can connect no problems, another one gets server not responding error, and everyone else (including me if i type in my external IP) just hangs on parsing game info and then times out. i have tried about 50 different combinations of ports given by different websites, 49 of witch must have either been wrong, or outdated.
I have turned off ufw (i am running Ubuntu server 12.04)
and have fiddled with the firewall on my modem to the point that i don't think it is blocking anything. a couple of months ago we had a really big thunderstorm, that seems to have damaged the modem because it makes really high pitched whining noises now that are anything but consistent.
it may be the modem is broken, but my 2 minecraft servers run fine, as well as my website and ssh/sftp works too.
I have ran a gmod server before (on a different computer), with the EXACT same outcome, so we used hamachi.
however since I am actually doing it properly this time, with a actual server running Ubuntu server 12.04, I can't use hamachi.
another thing, is there anything i need to know about getting the server on the global server list, or will it automatically get listed when i get it running properly.
Posts: 284
Threads: 8
Joined: Mar 2008
Reputation:
4
07-16-2012, 09:23 AM
(This post was last modified: 07-16-2012, 09:28 AM by Ghost Assassin.)
If you look at this guide of gmod,
http://maurits.tv/data/garrysmod/wiki/wiki.garrysmod.com/indexb076.html?title=Windows_Dedicated_Server_Setup
the ports listed should be open.
PROTOCOL / INBOUND / OUTBOUND
UDP 1200 1200
UDP 26901 26901 (This will allow the server to show up on the master server list.)
UDP 27000 27015
TCP 27020 27039
UDP 27015 27015
UDP 27020 27020
TCP 27015 27015
Your server should show on the master list as long those ports are open for the server.
When you try to connect to your server with the external ip, do you also include the port with it?
Were you able to connect to the server as well as your friends with the external ip before the thunderstorm or never able to?
Earn Points, get Free Rewards with your Amazon Points!
Points2Shop
Posts: 12
Threads: 1
Joined: Jul 2012
Reputation:
0
(07-16-2012, 09:23 AM)Ghost Assassin Wrote: the ports listed should be open.
PROTOCOL / INBOUND / OUTBOUND
UDP 1200 1200
UDP 26901 26901 (This will allow the server to show up on the master server list.)
UDP 27000 27015
TCP 27020 27039
UDP 27015 27015
UDP 27020 27020
TCP 27015 27015
I have now forwarded those ports (i am %90 i tried those ports before), and I still hang at parsing game info.
Picture
I have tried to connect to the server with and without defining port, and it hangs on parsing game info on both
and people were never able to connect even before the thunderstorm, except for my one friend who has always been able to connect.
i have followed this: http://maurits.tv/data/garrysmod/wiki/wiki.garrysmod.com/indexfd7a.html
I start the server with this
Code:
screen -S gmod ./srcds_run -console -game garrysmod +maxplayers 16 +map gm_flatgrass -autoupdate +ip 10.1.1.9 +port 27015
if it helps any.
what really confuses me is the fact that one of my friends can connect no problem and my other friend gets a server not responding error.
Thanks for the reply
Posts: 284
Threads: 8
Joined: Mar 2008
Reputation:
4
07-16-2012, 03:20 PM
(This post was last modified: 07-16-2012, 03:47 PM by Ghost Assassin.)
Oh...so your running garry's mod server on linux. Well, I don't really have experience with running a server on linux. This topic would best be in the Linux SRCDS section.
How does your server.cfg look like?
Try adding this +sv_lan 0 to the startup command line. Also try -ip instead of +ip. The guide doesn't really specify the ip address and port values in the startup command line.
If the above doesn't work, try removing ip and port all together and run the server. If it works, try connecting to it using your external ip address.
I forgot to ask...are you running the server using the actual files for srcds or using the steam package version?
Earn Points, get Free Rewards with your Amazon Points!
Points2Shop
Posts: 12
Threads: 1
Joined: Jul 2012
Reputation:
0
(07-16-2012, 03:20 PM)Ghost Assassin Wrote: Oh...so your running garry's mod server on linux. Well, I don't really have experience with running a server on linux. This topic would best be in the Linux SRCDS section.
How does your server.cfg look like?
Try adding this +sv_lan 0 to the startup command line. Also try -ip instead of +ip. The guide doesn't really specific the ip address and port values.
If the above doesn't work, try removing ip and port all together and run the server. If it works, try connecting to it using your external ip address.
I also thought it would be best suited to the Linux section, but in the read me first page, it says
Quote:Please read this whole post before posting!
Also, check the FAQ section before posting!
This area is for Linux SRCDS related errors. If you having problems related to configurations and other non-operating system related issues, please post in the general area.
and since I don't think it is a problem with Linux (i had same problem a while back on windows) I figured I would put it in the general section.
also when i type in killserver or quit, the server restarts. this is really annoying. any help with that would be great. It makes changing the start up command difficult to say the least
I started the server without defining the p and port, and with -ip instead of +ip, but to no avail.
this is my server.cfg:
Code:
"hostname" "(Tjol) - Stewi's Gmod Server"
"rcon_password" "sorry sir, I am not allowed to tell you that"
"sv_password" ""
"sv_region" "5" // eastcoast: 0 - westcoast: 1 - south america: 2 - europe: 3 - asia: 4 - australia: 5 - middle east: 6 - africa: 7 - world: 255
"sv_lan" "0"
// Sandbox server settings
"sbox_allownpcs" "1"
"sbox_godmode" "0"
"sbox_plpldamage" "0" // set this to 1 to disable player vs player damage.
"sbox_playergod" "0"
"sbox_noclip" "0"
// Sandbox limits
"sbox_maxprops" "1000"
"sbox_maxragdolls" "5"
"sbox_maxnpcs" "100"
"sbox_maxballoons" "100"
"sbox_maxeffects" "50"
"sbox_maxdynamite" "1000"
"sbox_maxlamps" "20"
"sbox_maxthrusters" "300"
"sbox_maxwheels" "200"
"sbox_maxhoverballs" "200"
"sbox_maxvehicles" "60"
"sbox_maxbuttons" "200"
"sbox_maxsents" "20"
"sbox_maxemitters" "50"
"sbox_maxspawners" "30"
"sbox_maxturrets" "200"
// Sandbox WIRE limits
// If you are not running wire addon, remove this entire section.
"sbox_maxwire_wheels" "20"
"sbox_maxwire_waypoints" "30"
"sbox_maxwire_values" "20"
"sbox_maxwire_twoway_radioes" "30"
"sbox_maxwire_turret" "10"
"sbox_maxwire_thrusters" "30"
"sbox_maxwire_target_finders" "10"
"sbox_maxwire_speedometers" "14"
"sbox_maxwire_emitters" "25"
"sbox_maxwire_simple_explosive" "30"
"sbox_maxwire_sensors" "30"
"sbox_maxwire_screens" "20"
"sbox_maxwire_relays" "20"
"sbox_maxwire_rangers" "20"
"sbox_maxwire_radioes" "30"
"sbox_maxwire_sockets" "20"
"sbox_maxwire_plugs" "20"
"sbox_maxwire_pixels" "20"
"sbox_maxwire_panels" "20"
"sbox_maxwire_outputs" "20"
"sbox_maxwire_oscilloscopes" "20"
"sbox_maxwire_locators" "30"
"sbox_maxwire_lights" "16"
"sbox_maxwire_inputs" "20"
"sbox_maxwire_indicators" "21"
"sbox_maxwire_hoverballs" "20"
"sbox_maxwire_gyroscopes" "10"
"sbox_maxwire_gpss" "10"
"sbox_maxwire_gate_trigs" "30"
"sbox_maxwire_gate_times" "30"
"sbox_maxwire_gate_selections" "30"
"sbox_maxwire_gate_memorys" "30"
"sbox_maxwire_gate_logics" "30"
"sbox_maxwire_gate_comparisons" "30"
"sbox_maxwire_gates" "50"
"sbox_maxwire_explosive" "30"
"sbox_maxwire_dual_inputs" "20"
"sbox_maxwire_detonators" "20"
"sbox_maxwire_buttons" "25"
"sbox_maxwire_adv_inputs" "20"
Posts: 284
Threads: 8
Joined: Mar 2008
Reputation:
4
07-16-2012, 03:58 PM
(This post was last modified: 07-16-2012, 04:01 PM by Ghost Assassin.)
remove all the quotations "" from the commands.
Should be for example sv_lan "0" or sv_lan 0.
Earn Points, get Free Rewards with your Amazon Points!
Points2Shop
Posts: 12
Threads: 1
Joined: Jul 2012
Reputation:
0
07-16-2012, 04:18 PM
(This post was last modified: 07-16-2012, 04:27 PM by stewi1014.)
(07-16-2012, 03:58 PM)Ghost Assassin Wrote: remove all the quotations "" from the commands.
Should be for example sv_lan "0" or sv_lan 0.
I tried did that, and it isn't working.
EDIT:
just typed in sv_lan, and got this:
sv_lan
"sv_lan" = "0"
- Server is a lan server ( no heartbeat, no authentication, no non-class C addresses )
I always thought that 0 = false and 1 = true and I am sure that that is right. weird. I am going to set it to 1 and see what i get.
EDIT 2:
well i tried it and no success.
when i type in sv_lan i get this:
sv_lan
"sv_lan" = "1" ( def. "0" )
- Server is a lan server ( no heartbeat, no authentication, no non-class C addresses )
Posts: 284
Threads: 8
Joined: Mar 2008
Reputation:
4
07-16-2012, 04:58 PM
(This post was last modified: 07-16-2012, 04:59 PM by Ghost Assassin.)
Try running the server without a server.cfg. Make it empty or just put a rcon password. Then try connecting to it through the external ip address + port.
Earn Points, get Free Rewards with your Amazon Points!
Points2Shop
Posts: 12
Threads: 1
Joined: Jul 2012
Reputation:
0
just tried running the server without a config file and it still didn't work.
however, when people join it shows Client ""(Tjol) - Stewi1014" connected (124.168.251.243:27005)." in console, but the player never gets to fully log in and play. it has always done that, but i forgot to mention it.
Posts: 284
Threads: 8
Joined: Mar 2008
Reputation:
4
07-16-2012, 05:36 PM
(This post was last modified: 07-16-2012, 05:44 PM by Ghost Assassin.)
When you tried this, you had +ip and -port in the startup command line?
You can try this server.cfg if the above doesn't work.
http://forums.firedaemon.com/386-garrys-mod-dedicated-server-gmod-10-ds.html
EDIT:
When you try to connect to the server, your stuck at parsing data or sending client info?
How long do you wait for it to load?
Does it crash, like go gray when you keep clicking?
From what I read around, gmod takes long to load.
Earn Points, get Free Rewards with your Amazon Points!
Points2Shop
Posts: 12
Threads: 1
Joined: Jul 2012
Reputation:
0
07-16-2012, 06:19 PM
(This post was last modified: 07-16-2012, 06:44 PM by stewi1014.)
(07-16-2012, 05:36 PM)Ghost Assassin Wrote: When you tried this, you had +ip and -port in the startup command line?
You can try this server.cfg if the above doesn't work.
http://forums.firedaemon.com/386-garrys-mod-dedicated-server-gmod-10-ds.html
EDIT:
When you try to connect to the server, your stuck at parsing data or sending client info?
How long do you wait for it to load?
Does it crash, like go gray when you keep clicking?
From what I read around, gmod takes long to load.
it hangs on parsing game info, and i wait until it times out.
"
"
and gmod doesn't seem to crash at all, neither dose the server.
every now and then (one in 20), gmod gives me a steam validation rejected error
i am using this to start my server "screen -S gmod ./srcds_run -console -game garrysmod +maxplayers 16 +map gm_flatgrass -autoupdate +sv_lan 0 +ip localhost -port 27015"
Posts: 2,440
Threads: 73
Joined: May 2009
Reputation:
33
07-17-2012, 09:03 AM
(This post was last modified: 07-17-2012, 09:04 AM by loopyman.)
Replace localhost with 0.0.0.0 to bind to all IP's or 127.0.0.1 to specify local.
0.0.0.0 would be esier.
Or just copy paste this and see if it works:
Code:
screen -S gmod ./srcds_run -console -game garrysmod -ip 0.0.0.0 -port 27015 +maxplayers 16 +map gm_flatgrass
Looking for a game server? Visit fullfrag.com and pick one up as low as $2.50 / mo!
Posts: 12
Threads: 1
Joined: Jul 2012
Reputation:
0
ok, i figured out that everyone gets the server not responding error when they join game of me (connected through local ip), but when they connect through the console they hang at parsing game info. I tried starting the server with that command, but it still doesn't work. Im going to try to re download and install the whole server.
Posts: 2,440
Threads: 73
Joined: May 2009
Reputation:
33
If you can connect to it locally but nobody else can then the problem lies with your port forwarding.
Do a "tracert google.com" and paste the output. Lets see if you're going through 2 NAT's
Looking for a game server? Visit fullfrag.com and pick one up as low as $2.50 / mo!
Posts: 12
Threads: 1
Joined: Jul 2012
Reputation:
0
07-19-2012, 09:44 PM
(This post was last modified: 07-19-2012, 09:52 PM by stewi1014.)
(07-18-2012, 05:39 AM)loopyman Wrote: If you can connect to it locally but nobody else can then the problem lies with your port forwarding.
Do a "tracert google.com" and paste the output. Lets see if you're going through 2 NAT's
I am runing Ubuntu server. So instead I did "traceroute google.com" on my server and got this
Code:
stewi@server1:~$ traceroute google.com
traceroute to google.com (203.59.140.153), 30 hops max, 60 byte packets
1 iinet.iad (10.1.1.1) 0.327 ms 0.519 ms 0.516 ms
2 nexthop.wa.iinet.net.au (203.215.5.244) 15.728 ms 17.200 ms 18.408 ms
3 te7-1.per-qv1-bdr2.iinet.net.au (203.215.4.36) 20.375 ms 21.355 ms 22 ms
4 te1-0-1-113.per-qv1-bdr2.iinet.net.au (203.215.4.41) 24.288 ms te2-2.pe1-bdr4.iinet.net.au (203.215.4.193) 25.516 ms 26.756 ms
5 te2-2.per-qv1-bdr4.iinet.net.au (203.215.4.193) 27.963 ms 29.187 ms *
6 * * *
7 * * *
8 * * *
9 * * *
10 * * *
11 * * *
12 * * *
13 * * *
14 * * *
15 * * *
16 * * *
17 * * *
18 * * *
19 * * *
20 * * *
21 * * *
22 * * *
23 * * *
24 * * *
25 * * *
26 * * *
27 * * *
28 * * *
29 * * *
30 * * *
stewi@server1:~$
I am assuming that all those listings are not good :/
EDIT: Also another thing, I was just at my friends house that can connect to my server, and he has cable that runs at 19MiB/s. Could that have anything to do with it?
EDIT2: My friend just did the speed test again and got 30Mib/s.
|