My server is on LAN but I want it to appear on the Internet
23 replies, posted
Thank you for opening this thread I need help with my server.Here is exactly what I did to get it running
1.I downloaded HLDSUpdatetool.
2.I made all the files go in C;/srcds
3.I followed all directions for downloading the gmod files in srcds/orangebox
4.I port forwarded 27015 TCP UDP
5.It's firewall allows traffic
6.I tested and only I could join.
7.I found it on LAN
8.And now im posting this
So guys what did I forget
Thanks for reading and
special thanks for those who wants to help.
:dance::dance::dance::dance::dance:
UPDATE
I disabled firewall on port 27015 UDP and TCP
but still on lan ps I already set it on sv_la 0
here this could help its the properties for my srcds shortcut
C:\srcds\orangebox\srcds.exe -console -game garrysmod -ip 192.168.0.102 +maxplayers 24 +port 27015 +map gm_constuct
Set "sv_lan 0" in server.cfg.
Also you will ALWAYS find a server behind a firewall using a local IP. If you port forward, you can still give everyone else the external address.
In english ( if you don't understand what he said >_>)
Your firewall will block alot of your server connections. Your MOST recommended to port forward.
Portfoward will allow other players to join your server. But yeah, set "sv_lan 9" in the server console.
[QUOTE=JetSnail;20768611]In english ( if you don't understand what he said >_>)
Your firewall will block alot of your server connections. Your MOST recommended to port forward.
Portfoward will allow other players to join your server. But yeah, set "[b]sv_lan 9[/b]" in the server console.[/QUOTE]
No, not 9, 0.
Man always on lan my server is on lan :( I HATE VALVE WHY CANT THEY MAKE IT SIMPLE
[QUOTE=ZenStarStudio;20774909]Man always on lan my server is on lan :( I HATE VALVE WHY CANT THEY MAKE IT SIMPLE[/QUOTE]
Its not valve, thats how networks communicate with each other, ie; the internet
Gawd -snip-
[url]http://www.facepunch.com/showthread.php?t=795119[/url] This might help you.
I'd rather not make a new thread since theirs one with a similar problem present already. sv_lan 0, running on DMZ, yet it still only allows clients to join via LAN. If IP is specified in start as the WAN ip, I get "Couldn't allocate any server IP port."
I'm able to run L4D2, CSS, TF2 servers now problem, garrysmod is the only thats given me this trouble. Any help?
Edit: Got it to work by leaving the IP and port setting as default. I feel stupid now.
I just setup another dedicated server and it was showing up under the LAN tab and not the internet tab.
I than ran my previous dedicated server which worked yesterday, and as soon as i ran it, steam downloaded an update and installed it.
Now my server that worked before is doing the exact same thing as the new server, which leads me to believe its steams doing.
If you're going to run Garry's mod servers, please have knowledge about basic networking.
You're save the people trying to help you so much frustration.
Here is my server.cfg file
//*************************************************************************\\
//* *\\
//* *\\
//* SRCDS GARRYS MOD SERVER CONFIGURATION *\\
//* VERSION 1.0 *\\
//* *\\
//* *\\
//* *\\
//*************************************************************************\\
say "Loading GARRYS MOD SERVER CONFIGURATION"
//*************************************************************************\\
//* *\\
//* *\\
//* Miscellaneous *\\
//* *\\
//* *\\
//*************************************************************************\\
// Define your ServerName, this is the name there'll be displayed in the Internet tab.
// Default: Counter-Strike: Source
hostname "TEST"
// Define your RCon(Remote Console) password, this is mostly used for match servers.
// I'll recommend you to set one, incase you suddenly needs it.
// Default: Just don't make it easy to quess! Use big and small letters and numbers!
// Look at the example I've set for this one. No one will quess that, only 1 out of ten billion times.
// Defualt: None.
rcon_password "???????"
// Define your Server password, so only people who knows it can connect.
// Default: None.
sv_password "????????"
// Define your maxsize for a map(sounds, materials and models are included too)
// if your map exceeds the CVAR limit, will your map NOT be downloaded from your server.
// Default: 16
net_maxfilesize 30
// Define your website for FastDownload.
// Extra: Are you looking for a free webhost to FastDownload?
// If so, goto this thread at [url]http://forums.srcds.com/viewtopic/9366[/url]
// Or this is if the other one doesn't work: [url]www.downloadurl.net[/url]
// Default: None.
sv_downloadurl " "
// Allow clients to upload their custom decals to the server.
// Default: 1
sv_allowupload 1
// Allow clients to downnload files.
// Default: 1
sv_allowdownload 0
// Define your servers MAX Frame Per Second(FPS).
// To recieve 1000FPS on Windows, try to use "fps_max 0".
// Default: ?
fps_max "300"
// This controls your server framerate.
// Default: 0
host_framerate 60
// Amount of time in seconds a player can spray their decal.
// Default: 10
decalfrequency 60
// If this CVAR is 0, both Internet and LAN players will be able to join.
// If this CVAR is 1, ONLY LAN PLAYERS ON YOUR OWN NETWORK WILL BE ABLE TO JOIN NOMATTER IF YOU HAVE DONE PORTFORWARING!
// Default: 0
sv_lan 0
// This will define your location in the world, if somebody as Europe ONLY in their filtes and you have USA - then wouldn't be able to find your server.
// Default: 3
// 0 - Us Eastcoast.
// 1 - US Westcoast.
// 2 - South America.
// 3 - Europe.
// 4 - Asia.
// 5 - Australia.
// 6 - Middle East.
// 7 - Africa.
// 255 - World
sv_region 255
// This could be your own email or another email who do business withing this server.
// Default: None.
sv_contact [email]zenstarstudio@gmail.com[/email]
// This will make doors open faster, especially the door in de_nuke or any other custom spawned doors.
// Default: 0.5
phys_timescale 1.5
//*************************************************************************\\
//* *\\
//* *\\
//* SPAWNING RULES *\\
//* (GENERAL SETTINGS) *\\
//* *\\
//*************************************************************************\\
// ~ * WARNING ATTENTION READ THIS * ~ \\
// Do NOT set this to high, otherwise your server will be killed.
// Due to right CPU usage.
// Define the maximum number of NPCs a client can spawn.
// Default: Unknown.
sbox_maxnpcs 20
// Define the maximum number of balloons a client can spawn.
// Default: Unknown.
sbox_maxballoons 35
// Define the maximum number of dynamites a client can spawn.
// Default: Unknown
sbox_maxdynamite 35
// If this equals 1 the clients will be allowed to use noclip at any given time.
// Default: 1
sbox_noclip 1
// Define the maximum number of thrusters a client can spawn.
// Default: Unknown.
sbox_maxthrusters 35
// Define the maximum number of props a client can spawn.
// Default: Unknown.
sbox_maxprops 100
// Define the maximum number of wheels a client can spawn.
// Default: Unknown.
sbox_maxwheels 35
// Define if a player can attack another player.
// 1 = Allowed.
// 0 = Not allowed.
// Default: Unknown.
sbox_plpldamage 0
// Allows the player to use "godmode".
// Default: Unknown.
sbox_godmode 1
// Define the maximum number of hoverballs a client can spawn.
// Default: Unknown.
sbox_maxhoverballs 35
// Define the maximum number of effects a client can spawn.
// Default: Unknown.
sbox_maxeffects 35
// Define the maximum number of buttons a client can spawn.
// Default: Unknown.
sbox_maxbuttons 35
// Define the maximum number of lamps a client can spawn.
// Default: Unknown.
sbox_maxlamps 35
// Define the maximum number of ragdolls a client can spawn.
// Ragdoll = bodies of a model(player)
// Default: Unknown.
sbox_maxragdolls 20
// Define the maximum number of vihecles a client can spawn.
// Default: Unknown.
sbox_maxvehicles 35
// Unknown.
// Default: Unknown.
sbox_maxemitters 35
//*************************************************************************\\
//* *\\
//* *\\
//* Brandwidth Rates *\\
//* *\\
//* *\\
//*************************************************************************\\
// Maximum allowed brandwidth on your server.
// Default: 0 (unlimited)
sv_maxrate 0
// Minimum allowed brandwidth on your server.
// Default: 0 (unlimited)
sv_minrate 0
// Maximum updates per second as the server will allow.
// Default: 60
// Note: If you're using less than 66Tick, change this CVAR to a lower value.
// For 66TICK: sv_maxupdaterate 66
// For 33TICK: sv_maxupdaterate 33
sv_maxupdaterate 66
// Minimum updates per second as the server will allow.
// Default: 10
// Note: If you're using less than 66Tick, change this CVAR to a lower value than "sv_maxupdaterate xx"
// For 66TICK: sv_minupdaterate 45
// For 33TICK: sv_minupdaterate 15
sv_minupdaterate 45
// This controls your cleints maximum cmdrate.
// Do the same with this one like: sv_maxupdaterate
// Default: 40
sv_maxcmdrate 66
// This controls your cleints minimum cmdrate.
// Do the same with this one like: sv_minupdaterate
// Default: 0
sv_mincmdrate 45
//*************************************************************************\\
//* *\\
//* *\\
//* Game Settings *\\
//* *\\
//* *\\
//*************************************************************************\\
// Th
[QUOTE=compwhiziitothemax;20787602]If you're going to run Garry's mod servers, please have knowledge about basic networking.
You're save the people trying to help you so much frustration.[/QUOTE]
Please try to help instead bickering.
Some of us actually have Network + .
I have a cisco 1721 vpn/k9 router with a WIC-2 card installed, the ports 27005 through 27015 are all being forwarded to the static ip address of my server, which is set on it's own DMZ with QOS at the highest priority.
Network address translation, network load balancing, and frameburst have always been off.
And is set to use CDMA/CA and Tcp/Ip.
Wins has been configured to be hosted on the server, and DNS has been configured to use the ISP's, since the entire network is being redesigned.
The dedicated server worked before and nothing has changed in the configuration except for an update to the steam program itself, and now it doesn't work.
We are tryinng to get our servers to show up in the internet tab of steam not the LAN tab so that other players can see our system and connect to it.
[QUOTE=ZenStarStudio;20791270][code]Here is my server.cfg file
//*************************************************************************\\
//* *\\
//* *\\
//* SRCDS GARRYS MOD SERVER CONFIGURATION *\\
//* VERSION 1.0 *\\
//* *\\
//* *\\
//* *\\
//*************************************************************************\\
say "Loading GARRYS MOD SERVER CONFIGURATION"
//*************************************************************************\\
//* *\\
//* *\\
//* Miscellaneous *\\
//* *\\
//* *\\
//*************************************************************************\\
// Define your ServerName, this is the name there'll be displayed in the Internet tab.
// Default: Counter-Strike: Source
hostname "TEST"
// Define your RCon(Remote Console) password, this is mostly used for match servers.
// I'll recommend you to set one, incase you suddenly needs it.
// Default: Just don't make it easy to quess! Use big and small letters and numbers!
// Look at the example I've set for this one. No one will quess that, only 1 out of ten billion times.
// Defualt: None.
rcon_password "???????"
// Define your Server password, so only people who knows it can connect.
// Default: None.
sv_password "????????"
// Define your maxsize for a map(sounds, materials and models are included too)
// if your map exceeds the CVAR limit, will your map NOT be downloaded from your server.
// Default: 16
net_maxfilesize 30
// Define your website for FastDownload.
// Extra: Are you looking for a free webhost to FastDownload?
// If so, goto this thread at [url]http://forums.srcds.com/viewtopic/9366[/url]
// Or this is if the other one doesn't work: [url]www.downloadurl.net[/url]
// Default: None.
sv_downloadurl " "
// Allow clients to upload their custom decals to the server.
// Default: 1
sv_allowupload 1
// Allow clients to downnload files.
// Default: 1
sv_allowdownload 0
// Define your servers MAX Frame Per Second(FPS).
// To recieve 1000FPS on Windows, try to use "fps_max 0".
// Default: ?
fps_max "300"
// This controls your server framerate.
// Default: 0
host_framerate 60
// Amount of time in seconds a player can spray their decal.
// Default: 10
decalfrequency 60
// If this CVAR is 0, both Internet and LAN players will be able to join.
// If this CVAR is 1, ONLY LAN PLAYERS ON YOUR OWN NETWORK WILL BE ABLE TO JOIN NOMATTER IF YOU HAVE DONE PORTFORWARING!
// Default: 0
sv_lan 0
// This will define your location in the world, if somebody as Europe ONLY in their filtes and you have USA - then wouldn't be able to find your server.
// Default: 3
// 0 - Us Eastcoast.
// 1 - US Westcoast.
// 2 - South America.
// 3 - Europe.
// 4 - Asia.
// 5 - Australia.
// 6 - Middle East.
// 7 - Africa.
// 255 - World
sv_region 255
// This could be your own email or another email who do business withing this server.
// Default: None.
sv_contact [email]zenstarstudio@gmail.com[/email]
// This will make doors open faster, especially the door in de_nuke or any other custom spawned doors.
// Default: 0.5
phys_timescale 1.5
//*************************************************************************\\
//* *\\
//* *\\
//* SPAWNING RULES *\\
//* (GENERAL SETTINGS) *\\
//* *\\
//*************************************************************************\\
// ~ * WARNING ATTENTION READ THIS * ~ \\
// Do NOT set this to high, otherwise your server will be killed.
// Due to right CPU usage.
// Define the maximum number of NPCs a client can spawn.
// Default: Unknown.
sbox_maxnpcs 20
// Define the maximum number of balloons a client can spawn.
// Default: Unknown.
sbox_maxballoons 35
// Define the maximum number of dynamites a client can spawn.
// Default: Unknown
sbox_maxdynamite 35
// If this equals 1 the clients will be allowed to use noclip at any given time.
// Default: 1
sbox_noclip 1
// Define the maximum number of thrusters a client can spawn.
// Default: Unknown.
sbox_maxthrusters 35
// Define the maximum number of props a client can spawn.
// Default: Unknown.
sbox_maxprops 100
// Define the maximum number of wheels a client can spawn.
// Default: Unknown.
sbox_maxwheels 35
// Define if a player can attack another player.
// 1 = Allowed.
// 0 = Not allowed.
// Default: Unknown.
sbox_plpldamage 0
// Allows the player to use "godmode".
// Default: Unknown.
sbox_godmode 1
// Define the maximum number of hoverballs a client can spawn.
// Default: Unknown.
sbox_maxhoverballs 35
// Define the maximum number of effects a client can spawn.
// Default: Unknown.
sbox_maxeffects 35
// Define the maximum number of buttons a client can spawn.
// Default: Unknown.
sbox_maxbuttons 35
// Define the maximum number of lamps a client can spawn.
// Default: Unknown.
sbox_maxlamps 35
// Define the maximum number of ragdolls a client can spawn.
// Ragdoll = bodies of a model(player)
// Default: Unknown.
sbox_maxragdolls 20
// Define the maximum number of vihecles a client can spawn.
// Default: Unknown.
sbox_maxvehicles 35
// Unknown.
// Default: Unknown.
sbox_maxemitters 35
//*************************************************************************\\
//* *\\
//* *\\
//* Brandwidth Rates *\\
//* *\\
//* *\\
//*************************************************************************\\
// Maximum allowed brandwidth on your server.
// Default: 0 (unlimited)
sv_maxrate 0
// Minimum allowed brandwidth on your server.
// Default: 0 (unlimited)
sv_minrate 0
// Maximum updates per second as the server will allow.
// Default: 60
// Note: If you're using less than 66Tick, change this CVAR to a lower value.
// For 66TICK: sv_maxupdaterate 66
// For 33TICK: sv_maxupdaterate 33
sv_maxupdaterate 66
// Minimum updates per second as the server will allow.
// Default: 10
// Note: If you're using less than 66Tick, change this CVAR to a lower value than "sv_maxupdaterate xx"
// For 66TICK: sv_minupdaterate 45
// For 33TICK: sv_minupdaterate 15
sv_minupdaterate 45
// This controls your cleints maximum cmdrate.
// Do the same with this one like: sv_maxupdaterate
// Default: 40
sv_maxcmdrate 66
// This controls your cleints minimum cmdrate.
// Do the same with this one like: sv_minupdaterate
// Default: 0
sv_mincmdrate 45
//*************************************************************************\\
//* *\\
//* *\\
//*
[QUOTE=unwarry1;20798857]Please try to help instead bickering.
Some of us actually have Network + .[/QUOTE]
I find that hard to believe.
[QUOTE=Biotoxsin;20799419]Please use [code] tags when posting large amounts of text like this.[/QUOTE]
Well Im new on facepunch Im not a fast learner
[QUOTE=ZenStarStudio;20804728]Well Im new on facepunch Im not a fast learner[/QUOTE]
Protip:
Nobody has any sympathy for you.
[QUOTE=unwarry1;20798857]Please try to help instead bickering.
Some of us actually have Network + .
I have a cisco 1721 vpn/k9 router with a WIC-2 card installed, the ports 27005 through 27015 are all being forwarded to the static ip address of my server, which is set on it's own DMZ with QOS at the highest priority.
Network address translation, network load balancing, and frameburst have always been off.
And is set to use CDMA/CA and Tcp/Ip.
Wins has been configured to be hosted on the server, and DNS has been configured to use the ISP's, since the entire network is being redesigned.
The dedicated server worked before and nothing has changed in the configuration except for an update to the steam program itself, and now it doesn't work.
We are tryinng to get our servers to show up in the internet tab of steam not the LAN tab so that other players can see our system and connect to it.[/QUOTE]
Just because you passed some class doesn't make you smarter in the matter, I personally have never taken a single computer related class except computer tech which covered Microsoft Word and the exciting topics of using google correctly(still wrong anyways) and the advanced subject of Microsoft Excel. Yet, I am more proficient in computer fields than people who have some certificate or studied whatever. Just because you know a subject inside and out does not make you knowledgeable of how to use it. Your problem is that you probably overlooked things like what IP the server its self is using (specify it with +ip) or that you have something as simple as windows firewall on. Other problems can be various settings in your router that filter traffic in any sort of way. If nothing in your router has changed, it's the computer or srcds.
[QUOTE=slayer3032;20808891]Just because you passed some class doesn't make you smarter in the matter, I personally have never taken a single computer related class except computer tech which covered Microsoft Word and the exciting topics of using google correctly(still wrong anyways) and the advanced subject of Microsoft Excel. Yet, I am more proficient in computer fields than people who have some certificate or studied whatever. Just because you know a subject inside and out does not make you knowledgeable of how to use it. Your problem is that you probably overlooked things like what IP the server its self is using (specify it with +ip) or that you have something as simple as windows firewall on. Other problems can be various settings in your router that filter traffic in any sort of way. If nothing in your router has changed, it's the computer or srcds.[/QUOTE]
Agreed, just because you have the certification doesn't mean you know how it works.
Network + goes over the basics but the most information I ever learned was just tryinng to setup my own network.
But to stay on topic, I'm actually crazy and have no firewall or antivirus on this server :).
I have checked all the settings on the router even ones that don't apply ( and going as far as to replace the router with a linksys wrt54g2 ), but still no results.
Since I am so new to srcds, and that I have checked every possible network setting I believe that the problem lies with my idiocy of srcds.
I will be deleteing the entire dedicated server and set the entire thing back up again to see if I missed a something.
If I find the fix, I will post it here for others to try.
Make sure Windows Firewall isn't on, sometimes after updates the OS likes to turn it on.
As well as that, remember to double, triple and quadruple check your router for any sort of connection filtering method.
If that still refuses to work, make sure the IP is specified in the command line as I said before. (+ip x.x.x.x)
If none of those work, I suggest trying to use another computer on the connection if possible.
When all the above and everything you can think of fails you're just screwed.
Oh and I've said this in my 'How to make a listen server!' Thread...
[QUOTE=343N;19924883]
[B] NOTE: When you host your server it wont be in Internet list, it will be in LAN list, but don't worry, its still on the Internet list for other people.
[/B][/QUOTE]
Okay, to use your external address, go to [URL="http://www.whatismyip.com"]www.whatismyip.com[/URL] and add :27015 to the end of the address, eg. mine is 123.2.182.53 so, I would make it 123.2.182.53:27015. And tell friends to connect via that address, not to go to 'View Game Info' as it tries to connect to the dynamic ip. And users browsing it will see it in internet list, just not you because it sees the server as [insert dynamic address here] instead of the static, but others will see static ip.. I hope I helped..
[QUOTE=Kopimi;20804743]Protip:
Nobody has any sympathy for you.[/QUOTE]
What makes you think I want sympathy I just explained something
Hmmm, still no results.
Even after deleting the dedicated server and recreating it.
Did you see these when you ran your console?
WARNING: Port 27015 was unavailable - bound to port 27016 instead
WARNING: Port 27005 was unavailable - bound to port 27006 instead
WARNING: Port 27020 was unavailable - bound to port 27021 instead
Dude this thread is 9 years old he probably has children now that plays garry‘s mod
Sorry, you need to Log In to post a reply to this thread.