My server is on LAN but I want it to appear on the Internet

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.

No, not 9, 0.

Man always on lan my server is on lan :frowning: I HATE VALVE WHY CANT THEY MAKE IT SIMPLE

Its not valve, thats how networks communicate with each other, ie; the internet

Gawd -snip-
http://www.facepunch.com/showthread.php?t=795119 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 http://forums.srcds.com/viewtopic/9366
// Or this is if the other one doesn’t work: www.downloadurl.net
// 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 zenstarstudio@gmail.com

// 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 \
//
\
//
\
//
\

// This defines when to change map, if a player reached the fraglimit.
// Default: 0
mp_fraglimit 0

// Disables the autoaim function.
// Default: 0
mp_autocrosshair 0

// If you falls down and this one is set to ‘1’ you’ll lose damage, if not set to ‘1’ you wouldn’t lose damage.
// Default: 0
mp_falldamage 1

// This allows your cleints to use their flashlight if set to ‘1’
// Default: 0
mp_flashlight 1

// This defines if you can kill your own teammates, also known as “TA/TK”, if its set to ‘1’ you can kill your own mates.
// TA = Team-Attack
// TK = Team-Kill
// Default: 0
mp_friendlyfire 0

//\
//
\
//
\
//
Log Settings \
//
\
//
\
//
\

// Defines if logs is enabled or disabled
// On = Enabled.
// Off = Disabled.
// Default: on
log off

// Toggels if the logged text have to be in one single file.
// Default: 0
sv_log_onefile 0

// If this CVAR is set to ‘1’ then i will safe the log files in the srcds/logs directory.
// Default: 1
sv_logfile 1

// Defines if it has to log bans.
// Default: 0
sv_logbans 1

// Defines if it has to log the echo in the MAIN console.
// Default: 1
sv_logecho 1

//\
//
\
//
\
//
AVANCED RCON \
//
\
//
\
//
\

// Defines how long time a ban will be if someone fails RCON authentication.
// Default: 0 (0 = Permanent)
sv_rcon_banpenalty 15

// Max number of times a user can fail RCON authentication before being banned.
// Default: 10
sv_rcon_maxfailures 3

// Number of times a user can fail RCON authentication before being banned.
// Default: 5
sv_rcon_minfailures 1

// Number of seconds to track failed RCON authentications.
// Default: 30
sv_rcon_minfailuretime 30

// Defines if the RCON has to be logged.
// Default: 1
sv_rcon_log 1

//\
//
\
//
\
//
SourceTV \
//
\
//
\
//
\

// Define if the SourceTV should be activated.
// 1 = The TV will be activated, and will join spectator on next map as a bot.
// Default: 0
tv_enable 0

// Connects a relay server to another SourceTV server/proxy
// Default: none
// Example: tv_relay <SourceTV IP:SourceTV port>
// Note: Remove the slashes infront of the command before use.
//tv_relay

// Give the TV a name.
// Default: SourceTV
tv_name SrcTV @ 27020

// Change the port of the TV.
// You can set this port at any port, just not the same as the main server is running on!(27015, is standard)
// Default: 27020
tv_port 27020

// Sets the maximum bandwidth spend per client in bytes/second.
// How highter the value is, how more smooth will the SourceTV run.
// Beware, it will increase the brandwidth and CPU usage dramatically.
// Default: 5000
tv_maxrate 5000

// Set a password for the TV, just as “sv_password” for the server.
// Default: none.
tv_password " "

// Sets a required password for relay proxies.
// Default: none.
tv_relaypassword " "

// Sets maximum client number for local SourceTV server/proxy.
// How more slots on, how more cleints will be able to connect to it and that will increase your brandwidth/CPU usage!
// default: 128
tv_maxclients 20

// Sets a SourceTV broadcast title shown in the spectator GUI.
// Default: SourecTV
tv_title <WWW.SRCDS.COM>

// Disables other spectators chat lines (client only).
// Default: 0
tv_nochat 0

// Automatically records every game, demo file name format is auto-YYYYMMDD-hhmm-map.dem.
// The file will be safed in: “srcds/cstrike”.
// This is recommended with much use of your server, so you won’t miss your importan kills.
tv_autorecord 0

//\
//
\
//
\
//
Performance, Spectator, Physics and other CVARS \
//
\
//
\
//
\

// Defines if the gravity has to be low or high, if its high you will not be able to jump.
// And how lower the value is, how higther you will rice into the air.
// Default: 800
sv_gravity 800

// Defines the friction.
// Default: 4
sv_friction 4

// This controls who a dead player will be able to look.
// 0 = Free look both CT & T.
// 1 = Only the players OWN team can be spectated.
// Default: 0
mp_forcecamera 0

// Defines if both Terroists and Counter Terroist can talk together(Will sometimes make ALOT of noice, and slow down your server)
// Default: 0
sv_alltalk 1

// If this one is enabled teammates can talk with hetogether in-game.
// Default: 1 (Not recommanded when using big servers)
sv_voiceenable 1

// If this one is set to ‘1’ EVERYBODY will be able the pause the server(Not recommanded!)
// Default: 0
sv_pausable 0

// Forces all cleints to pass consistency check for custom skins, sounds and maps.
// If you have those, you’ll be FORCED to use standard!
// Default: 0
sv_consistency 0

// This controls if the players can use lawfully cheats, but is limited.
// Commands for cheats:
// noclip - Makes you fly around and can’t take damage.
// r_drawothermodels 2 - Gives a weird wireframe screen of everything through walls. (Set to 1 for normal game play)
// mat_wireframe 1/2/3 - Gives you a much worse effect of wireframe. (0 = Standard game play)
// Default: 0
sv_cheats 0

// Allows cleints to go be a Specator.
// Default: 1
mp_allowspectators 1

// When you reach the last round and everybody is dead, there be an amount of seconds before loading a new map.
// Lower value = Faster map load.
// Default: 10
mp_chattime 10

// After this many seconds without a message from a client, the client is dropped.
// Default: 65
sv_timeout 60

// The max speed a player can move with when they are holding down [SHIFT]
// Default: 75
sv_stopspeed 75

//\
//
\
//
\
//
EXECUTING CONFIGS \
//
\
//
\
//
\

// Executing Ban files.
writeid
writeip
exec banned_user.cfg
exec banned_ip.cfg

say “Loaded GARRYS MOD SERVER CONFIGURATION”

//\
//
\
//
\
//
SRCDS GARRYS MOD SERVER CONFIGURATION \
//
VERSION 1.0 \
//
\
//
\
//
\

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.

Please use


 tags when posting large amounts of text like this.

I find that hard to believe.

Well Im new on facepunch Im not a fast learner

Protip:

Nobody has any sympathy for you.

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.

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…

Okay, to use your external address, go to www.whatismyip.com 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…