SRCDS Steam group


LAN but no Internet (TF2)
#1
ISSUE
My server is browsable on the LAN, and connections work fine there -- but it doesn't show up on the Internet servers list. I've looked through the other posts, done everything they suggest, and haven't found a solution. I didn't use the connectivity checker suggested here, but did the same basic thing. Instead I used nmap and tshark to verify connectivity, from an outside linux box.

BASIC INFO
Server OS: Debian Linux unstable with kernel 2.6.22.18-co-0.7.3
Processor: Pentium Dual-Core E5200, 2.5GHz
RAM: 3.25 GB
Game(s): TF2
Start Up Command: See below
Admin Mods: None

NOTE
I'm running a linux guest by way of coLinux, on a WinXP SP3 host. The guest and host each have their own IP, but share a physical interface. From the linux side, though, this looks the same as if it had its own NIC.

START UP
Code:
# pwd
/usr/local/games/steam
# chown -R steam.games *
# chmod -R o-rwx *
# su steam
$ whoami
steam
$ cd orangebox
$ pwd
/usr/local/games/steam/orangebox
$ ./srcds_run -console -game tf +map ctf_turbine -port 27015 +maxplayers 10 -autoupdate
Auto detecting CPU
Using SSE2 Optimised binary.
Server will auto-restart if there is a crash.
Updating server using Steam.
Checking bootstrapper version ...
Updating Installation
Checking/Installing 'Team Fortress 2 Content' version 112


Checking/Installing 'Team Fortress 2 Materials' version 36


Checking/Installing 'Base Source Shared Materials' version 8


Checking/Installing 'Base Source Shared Models' version 4


Checking/Installing 'Base Source Shared Sounds' version 4


Checking/Installing 'OB Linux Dedicated Server' version 15


HLDS installation up to date

Console initialized.
Game.dll loaded for "Team Fortress"
Particles: Missing 'particles/error.pcf'
maxplayers set to 10
--------------------------------------------------------
sv_pure set to 1.
--------------------------------------------------------
Server logging enabled.
Server logging data to file logs/L0905019.log
L 09/05/2009 - 20:45:54: Log file started (file "logs/L0905019.log") (game "/usr/local/games/steam/orangebox/tf") (version "3950")
Writing cfg/banned_user.cfg.
Writing cfg/banned_ip.cfg.
exec banned_user.cfg: file size larger than 1 MB!
exec banned_ip.cfg: file size larger than 1 MB!
maxplayers set to 10
Network: IP ***.***.***.***, mode MP, dedicated Yes, ports 27015 SV / 27005 CL
Caching file CRCs for pure server...
Finished caching file CRCs for pure server in 0 seconds.
L 09/05/2009 - 20:45:54: Loading map "ctf_turbine"
L 09/05/2009 - 20:45:54: server cvars start
L 09/05/2009 - 20:45:54: "tf_weapon_criticals" = "1"
L 09/05/2009 - 20:45:54: "tf_damage_disablespread" = "0"
L 09/05/2009 - 20:45:54: "tf_allow_player_use" = "0"
L 09/05/2009 - 20:45:54: "tf_birthday" = "1"
L 09/05/2009 - 20:45:54: "mp_tournament_stopwatch" = "1"
L 09/05/2009 - 20:45:54: "tf_arena_force_class" = "0"
L 09/05/2009 - 20:45:54: "tf_arena_change_limit" = "1"
L 09/05/2009 - 20:45:54: "tf_arena_override_cap_enable_time" = "-1"
L 09/05/2009 - 20:45:54: "tf_arena_first_blood" = "1"
L 09/05/2009 - 20:45:54: "tf_gamemode_arena" = "0"
L 09/05/2009 - 20:45:54: "tf_gamemode_cp" = "0"
L 09/05/2009 - 20:45:54: "tf_gamemode_ctf" = "0"
L 09/05/2009 - 20:45:54: "tf_gamemode_payload" = "0"
L 09/05/2009 - 20:45:54: "tf_ctf_bonus_time" = "10"
L 09/05/2009 - 20:45:54: "tf_maxspeed" = "400"
L 09/05/2009 - 20:45:54: "mp_respawnwavetime" = "10.0"
L 09/05/2009 - 20:45:54: "mp_tournament" = "0"
L 09/05/2009 - 20:45:54: "tf_arena_preround_time" = "10"
L 09/05/2009 - 20:45:54: "tf_arena_round_time" = "0"
L 09/05/2009 - 20:45:54: "tf_arena_max_streak" = "3"
L 09/05/2009 - 20:45:54: "tf_arena_use_queue" = "1"
L 09/05/2009 - 20:45:54: "mp_teams_unbalance_limit" = "2"
L 09/05/2009 - 20:45:54: "mp_maxrounds" = "1"
L 09/05/2009 - 20:45:54: "mp_winlimit" = "3"
L 09/05/2009 - 20:45:54: "mp_disable_respawn_times" = "0"
L 09/05/2009 - 20:45:54: "mp_autoteambalance" = "1"
L 09/05/2009 - 20:45:54: "mp_stalemate_enable" = "0"
L 09/05/2009 - 20:45:54: "mp_match_end_at_timelimit" = "0"
L 09/05/2009 - 20:45:54: "tf_overtime_nag" = "1"
L 09/05/2009 - 20:45:54: "sv_alltalk" = "1"
L 09/05/2009 - 20:45:54: "mp_timelimit" = "30"
L 09/05/2009 - 20:45:54: "nextlevel" = ""
L 09/05/2009 - 20:45:54: "sv_gravity" = "800"
L 09/05/2009 - 20:45:54: "sv_stopspeed" = "100"
L 09/05/2009 - 20:45:54: "sv_noclipaccelerate" = "5"
L 09/05/2009 - 20:45:54: "sv_noclipspeed" = "5"
L 09/05/2009 - 20:45:54: "sv_specaccelerate" = "5"
L 09/05/2009 - 20:45:54: "sv_specspeed" = "3"
L 09/05/2009 - 20:45:54: "sv_specnoclip" = "1"
L 09/05/2009 - 20:45:54: "sv_maxspeed" = "320"
L 09/05/2009 - 20:45:54: "sv_accelerate" = "10"
L 09/05/2009 - 20:45:54: "sv_airaccelerate" = "10"
L 09/05/2009 - 20:45:54: "sv_wateraccelerate" = "10"
L 09/05/2009 - 20:45:54: "sv_waterfriction" = "1"
L 09/05/2009 - 20:45:54: "sv_footsteps" = "1"
L 09/05/2009 - 20:45:54: "sv_rollspeed" = "200"
L 09/05/2009 - 20:45:54: "sv_rollangle" = "0"
L 09/05/2009 - 20:45:54: "sv_friction" = "4"
L 09/05/2009 - 20:45:54: "sv_bounce" = "0"
L 09/05/2009 - 20:45:54: "sv_stepsize" = "18"
L 09/05/2009 - 20:45:54: "r_VehicleViewDampen" = "1"
L 09/05/2009 - 20:45:54: "r_JeepViewDampenFreq" = "7.0"
L 09/05/2009 - 20:45:54: "r_JeepViewDampenDamp" = "1.0"
L 09/05/2009 - 20:45:54: "r_JeepViewZHeight" = "10.0"
L 09/05/2009 - 20:45:54: "r_AirboatViewDampenFreq" = "7.0"
L 09/05/2009 - 20:45:54: "r_AirboatViewDampenDamp" = "1.0"
L 09/05/2009 - 20:45:54: "r_AirboatViewZHeight" = "0.0"
L 09/05/2009 - 20:45:54: "mp_friendlyfire" = "0"
L 09/05/2009 - 20:45:54: "mp_fadetoblack" = "0"
L 09/05/2009 - 20:45:54: "mp_teamplay" = "0"
L 09/05/2009 - 20:45:54: "mp_fraglimit" = "0"
L 09/05/2009 - 20:45:54: "mp_falldamage" = "0"
L 09/05/2009 - 20:45:54: "mp_weaponstay" = "0"
L 09/05/2009 - 20:45:54: "mp_forcerespawn" = "1"
L 09/05/2009 - 20:45:54: "mp_footsteps" = "1"
L 09/05/2009 - 20:45:54: "mp_flashlight" = "0"
L 09/05/2009 - 20:45:54: "mp_autocrosshair" = "1"
L 09/05/2009 - 20:45:54: "decalfrequency" = "10"
L 09/05/2009 - 20:45:54: "mp_teamlist" = "hgrunt;scientist"
L 09/05/2009 - 20:45:54: "mp_allowNPCs" = "1"
L 09/05/2009 - 20:45:54: "deathmatch" = "1"
L 09/05/2009 - 20:45:54: "coop" = "0"
L 09/05/2009 - 20:45:54: "tv_password" = ""
L 09/05/2009 - 20:45:54: "tv_relaypassword" = ""
L 09/05/2009 - 20:45:54: "sv_password" = ""
L 09/05/2009 - 20:45:54: "sv_tags" = ""
L 09/05/2009 - 20:45:54: "sv_cheats" = "0"
L 09/05/2009 - 20:45:54: "sv_pausable" = "0"
L 09/05/2009 - 20:45:54: "sv_contact" = "reg4gaim@soon.com"
L 09/05/2009 - 20:45:54: "sv_voiceenable" = "1"
L 09/05/2009 - 20:45:54: "tv_enable" = "0"
L 09/05/2009 - 20:45:54: server cvars end
L 09/05/2009 - 20:45:55: Started map "ctf_turbine" (CRC "933062636")
ConVarRef room_type doesn't point to an existing ConVar
Executing dedicated server config file
L 09/05/2009 - 20:46:04: server_cvar: "tf_gamemode_ctf" "1"
[S_API FAIL] SteamAPI_Init() failed; unable to update local steamclient. Continuing with current version anyway.
L 09/05/2009 - 20:46:04: server_cvar: "sv_tags" "birthday"
L 09/05/2009 - 20:46:04: server_cvar: "sv_tags" "birthday"
L 09/05/2009 - 20:46:04: server_cvar: "sv_tags" "birthday,ctf"
L 09/05/2009 - 20:46:04: server_cvar: "sv_tags" "birthday,ctf"
L 09/05/2009 - 20:46:04: server_cvar: "decalfrequency" "30"
--------------------------------------------------------
sv_pure value unchanged (current value is 1).
--------------------------------------------------------
L 09/05/2009 - 20:46:04: server_cvar: "decalfrequency" "10"
Server logging enabled.
Writing cfg/banned_user.cfg.
Writing cfg/banned_ip.cfg.
exec banned_user.cfg: file size larger than 1 MB!
exec banned_ip.cfg: file size larger than 1 MB!
exec: couldn't exec ctf_turbine.cfg
Adding master server 69.28.140.247:27011
Adding master server 69.28.140.246:27011
Connection to Steam servers successful.
   VAC secure mode is activated.

valve.rc
Code:
// load the base configuration
//exec default.cfg
exec server.cfg
//r_decal_cullsize 1

// Setup custom controller
exec joystick.cfg

// run a user script file if present
exec autoexec.cfg

//
// stuff command line statements
//
stuffcmds

// display the startup level
//startupmenu

sv_unlockedchapters 99

server.cfg
Code:
// Define your ServerName, this is the name there'll be displayed in the Internet tab.
// Defualt: Counter-Strike: Source
hostname "Generic TF2 Server"

//Good stuff
tf_birthday 1
tf_overtime_nag 1

// 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 "********"

// Number of minutes to ban users who fail rcon authentication
sv_rcon_banpenalty 10

// Max number of times a user can fail rcon authentication before being banned
sv_rcon_maxfailures 3

// Define your Server password, so only people who knows it can connect.
// Defualt: None.
sv_password ""

// 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
// Defualt: 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 1

// Define your servers MAX Frame Per Second(FPS).
// To recieve 1000FPS on Windows, try to use "fps_max 0".
// Defualt: ?
fps_max "300"

// This controls your server framerate.
// Default: 0
host_framerate 0


// Amount of time in seconds a player can spray their decal.
// Default: 10
decalfrequency 30


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

// This could be your own email or another email who do business withing this server.
// Defualt: None.
sv_contact "****@****.***"

// Enables or disables whether the server can be paused. 0 is off 1 is on
sv_pausable 0

// Forces all clients on the server to use content that matches what is on the server. 0 is off 1 is on
sv_pure 1

// Kicks clients that do not have content that matches what is on the server
sv_pure_kick_clients 1

// Max download file size. Default is 15
net_maxfilesize 15

// Default: 0 (unlimited)
sv_maxrate 30000


// Minimum allowed brandwidth on your server.
// Default: 0 (unlimited)
sv_minrate 15000


// Maximum updates per second as the server will allow.
// Default: 60
// Note: If you're using less than 100Tick, change this CVAR to a lower value.
// For 100TICK: sv_maxupdaterate 100
// For 66TICK: sv_maxupdaterate 66
// For 33TICK: sv_maxupdaterate 33
sv_maxupdaterate 33


// Minimum updates per second as the server will allow.
// Default: 10
// Note: If you're using less than 100Tick, change this CVAR to a lower value than "sv_maxupdaterate xx"
// For 100TICK: sv_minupdaterate 75
// For 66TICK: sv_minupdaterate 45
// For 33TICK: sv_minupdaterate 15
sv_minupdaterate 15


// This controls your cleints maximum cmdrate.
// Do the same with this one like: sv_maxupdaterate
// Default: 40
sv_maxcmdrate 100


// This controls your cleints minimum cmdrate.
// Do the same with this one like: sv_minupdaterate
// Default: 0
sv_mincmdrate 75


// Enables player lag compensation.
// Default: 1
//sv_unlag 1


// Sets the maximum ammount of seconds that the netcode compensates for someone's ping.
// Default: 0.5
//sv_maxunlag 1

mp_autoteambalance 1

// Time (in seconds) after the teams become unbalanced to attempt to switch players
//mp_autoteambalance_delay 60

// Time (in seconds) after the teams become unbalanced to print a balance warning
//mp_autoteambalance_warning_delay 30

// Teams are unbalanced when one team has this many more players than the other (0 disables)
mp_teams_unbalance_limit 2

//*Ending Team Auto Balancing*\\



//*Round & Game Times*\\

// Enable or disable timers to wait between rounds. 0 is off 1 is on
mp_enableroundwaittime 1

// Time after round win until round restarts (in seconds)
mp_bonusroundtime 20

// Time the current round will restart (in seconds)
mp_restartround 20

// Timelimit (in seconds) of the stalemate round
mp_stalemate_timelimit 120

// Game time per map in minutes
//Default is 0
//0=unlimited
mp_timelimit 30

// Max number of rounds to play before server changes maps
mp_maxrounds 1

// Max number of rounds one team can win before a server changes maps
mp_winlimit 3


//*Ending Round & Game Times*\\



//*Client Specific CVARS*\\

// Force dead clients to first person mode disabling freelook. 0 is off 1 is on
mp_forcecamera 0

// Enable or disable spectators on the server. 0 is off 1 is on
mp_allowspectators 1

// 0 is off and clients can do harm to team mates. 1 is on and players can kill or injure team mates
mp_friendlyfire 0

// Footsteps on or off. 0 is off and 1 is on
mp_footsteps 1

// Allow cheats to be used by the client. 0 is off 1 is on
sv_cheats 0

// The amount of time in seconds that a client is booted for no input
sv_timeout 300

// The maximun speed a client can move at
//sv_maxspeed 320

// Force clients to pass a consistency check for critical files before joining server. 0 is off 1 is on
sv_consistency 1

// The pause in seconds between a decal being sprayed
decalfrequency 10

//*End Client Specific CVARS*\\


//*Communication*\\

// Allow players to use a microphone. 0 is off 1 is on
sv_voiceenable 1

// Toggles whether both teams can hear each others voice comms or not. 0 is off 1 is on. recommend it being off
sv_alltalk 1

// Players can chat for this amount of time (in seconds) after a game is over
mp_chattime 15

//*End Communication*\\

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

// Enable or disable server logging. on is on off is off
log on

// Log server bans in the server logs
sv_logbans 1

// Echo log information to the console. 0 is off 1 is on
sv_logecho 1

// Log server information in the log file. 0 is off 1 is on
sv_logfile 1

// Log everything in one file
sv_log_onefile 1

writeid
writeip
exec banned_user.cfg
exec banned_ip.cfg
Reply
#2
1) you should NOT run a server on a virtual server.
2) Do you have all the ports forwarded to the correct local IP?
~ Mooga ...w00t? - SRCDS.com on Twitter
[Image: 76561197965445574.png]
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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)