Raised This Month: $51 Target: $400
 12% 

l4d2 linux ds no one connects


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
gosu7
New Member
Join Date: Sep 2023
Old 01-23-2024 , 07:07   l4d2 linux ds no one connects
Reply With Quote #1

I created a dedicated server on Ubuntu 22.04 behind the router, forwarded ports (27000-27100 TСP/UDP), but no one connects, although I can connect using a public IP.
gosu7 is offline
gosu7
New Member
Join Date: Sep 2023
Old 01-23-2024 , 07:13   Re: l4d2 linux ds no one connects
Reply With Quote #2

Code:
/home/gosu/Steam/steamapps/left4dead2/srcds_run -console -steam -secure -game left4dead2 +ip 192.168.100.3 +port 27016 +maxplayers 8 +exec server.cfg +map c2m1_highway
Code:
// You should change these
hostname "Gosu Server"
rcon_password ******

sm_cvar sv_region 3

// This states how players should contact you.  Use your email or website
sv_contact [email protected]

// Number of rounds to play (only versus)
// mp_roundlimit 2

// If you want to use a search key to find the server in the lobby, uncomment and edit this line
sv_search_key "versus"
sv_tags "versus"
sm_cvar sv_search_key "versus"

//MASTERSERVERS

// CHEAT/CONFIG
sv_lan 0
sv_cheats 0
sv_consistency 1
sv_maxcmdrate 101
sv_maxrate 60000

sm_cvar sv_visiblemaxplayers "8"
sm_cvar survivor_limit "4"
sm_cvar z_max_player_zombies "4"

//MOTD
motd_enabled 1

//GAME MODE
sv_gametypes "versus"
sm_cvar mp_gamemode "versus"
sm_cvar sv_tags "versus"
sm_cvar sv_gametypes "versus"

//DIFFICULTY
sm_cvar z_difficulty "Normal"

//LOBBY CONNECT
sv_allow_lobby_connect_only 0

//BEBOP
sv_visiblemaxplayers "-1"

/////////////////////////
//Game Settings
////////////
mp_disable_autokick 1         //(command)prevents a userid from being auto-kicked (Usage mp_diable_autokick )
sv_allow_wait_command 0        //default 1; Allow or disalow the wait command on clients connected to this server.
sv_alternateticks 0        //defulat 0; (singleplayer)If set, server only simulates entities on even numbered ticks.
sv_clearhinthistory 0        //(command)Clear memory of server side hint displayed to the player.
sv_consistency 0        //default 1; Whether the server enforces file consistency for critical files
sv_pausable 0            //default 0; is the server pausable
sv_forcepreload 1        //default 0; Force server side preloading
sv_pure_kick_clients 0        //default 1; If set to 1, the server will kick clients with mismatchng files. Otherwise, it will issue a warning to the client.
sv_pure 0            //If set to 1, server will force all client files execpt whitelisted ones (in pure_server_whitelist.txt) to match server's files.
                //If set to 2, the server will force all clietn files to come from steam and not load pure_server_whilelist.txt. Set to 0 for disabled.

/////////////////////////
//communication
////////////
sv_voiceenable 1        //default 1; enable/disable voice comm
sv_alltalk 0            //default 0; Players can hear all other players' voice communication, no team restrictions


/////////////////////////
//LOGGING
////////////
log on            //Creates a logfile (on | off)
sv_logecho 0            //default 0; Echo log information to the console.
sv_logfile 1        //default 1; Log server information in the log file.
sv_log_onefile 0    //default 0; Log server information to only one file.
sv_logbans 1        //default 0;Log server bans in the server logs.
sv_logflush 0        //default 0; Flush the log files to disk on each write (slow).
sv_logsdir logs        //Folder in the game directory where server logs will be stored.


/////////////////////////
//Bans
//  execute banned.cfgs at server start. Optimally at launch commandline.
//  Put writeip/wrtieid commands in the bottom of server.cfg AFTER banned.cfgs have loaded.
////////////
exec banned_user.cfg    //loads banned users' ids
exec banned_ip.cfg    //loads banned users' ips
writeip          //Save the ban list to banned_ip.cfg.
writeid          //Wrties a list of permanently-banned user IDs to banned_user.cfg.


/////////////////////////
//Network Tweaks - Increase network performance
////////////
rate 30000        //default 10000; Max bytes/sec the host can recieve data
sv_minrate 30000       //default "5000"; Min bandwidth rate allowed on server, 0 = unlimited
sv_maxrate 60000    //default "0";  Max bandwidth rate allowed on server, 0 = unlimited
sv_mincmdrate 20    //default 0; This sets the minimum value for cl_cmdrate. 0 = unlimited [cevo=67]
sv_maxcmdrate 33    //default 40; (If sv_mincmdrate is > 0), this sets the maximum value for cl_cmdrate. [cevo=101]
gosu7 is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 01-23-2024 , 10:39   Re: l4d2 linux ds no one connects
Reply With Quote #3

Click image for larger version

Name:	Desktop Screenshot 2024.01.23 - 17.35.00.94.jpg
Views:	57
Size:	39.3 KB
ID:	202939
I see something
__________________
Do not Private Message @me
Bacardi is offline
gosu7
New Member
Join Date: Sep 2023
Old 01-23-2024 , 11:35   Re: l4d2 linux ds no one connects
Reply With Quote #4

Quote:
Originally Posted by Bacardi View Post
I see something
The server is working, but random players from the public are not accessing it.
gosu7 is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 01-23-2024 , 11:49   Re: l4d2 linux ds no one connects
Reply With Quote #5

Well... you maybe just need wait.

you could try set
sv_region -1



and this, but I remember players can change game mode on server then with this lobby system...
sv_allow_lobby_connect_only 1

You basically give your server to lobby players use.

*
I don't have much knowledge of this anymore. Forgot

Last edited by Bacardi; 01-23-2024 at 11:51.
Bacardi is offline
DJEarthQuake
Veteran Member
Join Date: Jan 2014
Location: Astral planes
Old 01-24-2024 , 07:58   Re: l4d2 linux ds no one connects
Reply With Quote #6

Use router's DMZ.
__________________
DJEarthQuake is offline
gosu7
New Member
Join Date: Sep 2023
Old 01-30-2024 , 11:33   Re: l4d2 linux ds no one connects
Reply With Quote #7

Quote:
Originally Posted by Bacardi View Post
Well... you maybe just need wait.
The server has been uptime for 7 days but no one has ever connected.
gosu7 is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 18:24.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode