LIONFIN
Game server

Left 4 Dead 2 Server Hosting

Run co-op, versus, survival and scavenge sessions non-stop with Valve’s Source Dedicated Server, with plugins and under your own rules.

See packages From ₺899.00 per month (excl. VAT)
Server software
Source Dedicated Server (SRCDS), SteamCMD: 222860
Operating system
Windows and Linux
Default port
27015/UDP game (27015/TCP for RCON)
Main config file
left4dead2/cfg/server.cfg
Plugin framework
MetaMod:Source and SourceMod
Standard player count
Co-op 4, versus 8 (4v4)

Quick answer

Left 4 Dead 2 server hosting means installing Valve’s Source Dedicated Server (SRCDS) with SteamCMD app ID 222860 and running it on an always-on server. The server runs on Windows and Linux, uses port 27015 by default and gains plugin support through SourceMod. Resource needs are low, so several instances fit on one server. At LIONFIN you can install it on a VDS server or request a ready-made installation through a support ticket.

Recommended server packages

There is no ready-made package for this use yet; these servers give you full control to install it yourself, or you can request setup through a support ticket. You complete the order on our Turkish store page.

VDS Pro

₺1,599.00 / month

  • 8 ayrılmış çekirdek
  • 16 GB RAM
  • 400 GB NVMe
  • 15 TB Trafik
  • 1 IPv4
  • Günlük yedek
Order (Turkish checkout)

VDS Max

₺2,899.00 / month

  • 12 ayrılmış çekirdek
  • 32 GB RAM
  • 800 GB NVMe
  • 25 TB Trafik
  • 2 IPv4
  • Öncelikli destek
Order (Turkish checkout)

Estimated resources for a Left 4 Dead 2 server

UsageRAMvCPUDisk
Co-op / realism, 4 players1–2 GB1–220 GB NVMe
Versus / scavenge, 8 players2 GB220 GB NVMe
10–16 players extended with plugins2–4 GB225 GB NVMe
3–5 separate server instances6–8 GB460 GB NVMe

Estimates; actual needs depend on mods, plugins and settings.

What is a Left 4 Dead 2 server and why rent one?

A Left 4 Dead 2 server is a separate program called Source Dedicated Server (SRCDS) that hosts sessions for Valve’s Source-engine zombie shooter. Years after release the game still has an active community, largely thanks to the plugins, custom campaigns and modified game modes that community servers offer.

Typical reasons to open your own server:

  • Always-on versus server: a fixed address, rules and admin team for competitive 4v4 play.
  • Custom campaigns: playing community campaigns from Steam Workshop with your group of friends.
  • Modified difficulty: more special infected, altered weapon balance or high-difficulty modes.
  • Crowded co-op: servers with more than four survivors thanks to plugins.

The game’s official matchmaking relies on finding an empty official server from the lobby; your own server gives you an environment where your settings, plugins and admins persist. Left 4 Dead 2 server hosting needs few resources, so running several instances dedicated to different modes on one virtual server is common.

How do L4D2 game modes affect the server?

ModePlayersServer-side note
Co-op4 survivorsThe AI Director calculates zombie hordes
Realism4 survivorsSame load as co-op; extra visual restrictions are client-side
Versus4v4Competitive; plugin and rule balance matter
Survival4 survivorsContinuous waves; CPU load rises at peak moments
Scavenge4v4Short rounds; resource profile similar to versus

Deciding up front which modes your server allows simplifies plugin choice and resource planning. A competitive versus community and a relaxed co-op group usually want different plugin sets, so opening two separate instances is often the cleanest solution. Giving each instance its own name and description also helps players find the right server quickly in the browser.

Should an L4D2 server run on Windows or Linux?

The Left 4 Dead 2 dedicated server runs on both Windows and Linux; most community servers choose Linux for its low resource use and easy automation. Server files are downloaded with SteamCMD using an anonymous login.

steamcmd +force_install_dir /home/l4d2/server +login anonymous +app_update 222860 validate +quit

Differences between the two systems:

  • Linux (e.g. Ubuntu 24.04 LTS): SRCDS needs 32-bit libraries, so you must install the required 32-bit packages along with SteamCMD. Running the server in screen, tmux or as a systemd service is common. Community tools such as LinuxGSM automate updates and monitoring.
  • Windows Server: started with srcds.exe; more familiar for those used to file management and remote desktop, but more memory is reserved than on Linux with the same hardware.

SourceMod and MetaMod:Source work on both platforms; compiled plugin .smx files are platform-independent, while extensions have platform-specific builds.

How many resources does a Left 4 Dead 2 server need?

A Left 4 Dead 2 server is very light compared with modern game servers; for standard four-player co-op or eight-player versus, 1–2 GB of RAM and two cores are estimated to be enough. The Source engine mostly uses a single core on the server side, so single-core speed matters more than core count.

Factors that increase resource use:

  • Special infected and horde density: zombie hordes and special infected spawned by the AI Director are calculated on the server; difficulty-raising plugins push CPU usage up.
  • Tick rate: the server runs at a low tick rate by default; raising it with community plugins gives smoother hit registration but multiplies CPU and bandwidth use.
  • Extra player slots: raising the player limit with plugins increases the number of characters calculated at once.
  • Multiple instances: running co-op, versus and custom campaign servers as separate processes multiplies total needs.

On disk, server files and custom campaigns take up space; large community campaigns can be hundreds of megabytes. The table above summarises estimates for these scenarios.

In practice, memory is rarely the bottleneck on L4D2 servers; the problem usually shows up as a single core maxing out at busy moments. Finales, Tank attacks and survival waves are typical examples. When you first set up the server, playing such a section with a full team while watching CPU usage is the quickest test of whether your plugin and tick settings suit the hardware. If usage keeps hitting the limit, reduce plugin load first, then consider a plan with faster cores.

Game server package or VDS for L4D2?

For Left 4 Dead 2 the page shows VDS packages; you can install the server on a VDS yourself or request a ready-made installation through a support ticket. Because SRCDS is lightweight, you can run co-op, versus and custom campaign servers together on different ports on a single VDS, which makes a VDS efficient for communities running several servers.

What you gain with a VDS:

  • Freedom to install SourceMod, MetaMod:Source and extensions in the versions you choose.
  • A separate server.cfg and plugin set for each instance.
  • Faster custom content downloads by hosting a small web server for FastDL.
  • Automated updates and restarts with cron or Task Scheduler.
  • Consistent tick times even in the evening, thanks to dedicated cores.

For a single small co-op server, a smaller VPS may be enough; if you plan several instances and side services, a VDS gives you more headroom. For a detailed comparison of the two models see game server package or VDS?. For package capacities, rely on the current values in the package table on this page.

Which ports does an L4D2 server use?

By default a Left 4 Dead 2 server uses port 27015/UDP for game traffic; remote administration (RCON) runs over the TCP port with the same number. The port can be changed with the -port parameter on the launch line, and each instance on the same machine must use a different port.

PortProtocolPurpose
27015UDPPlayer connections and server queries
27015TCPRCON remote console
27016, 27017…UDP/TCPSuggested sequence for extra server instances

Sample launch line:

./srcds_run -game left4dead2 -port 27015 +map c1m1_hotel +maxplayers 8 -console

If you do not use RCON, keep the TCP port closed in the firewall; if you do, set a strong rcon_password and restrict access to your own IP address where possible. Add the rules with ufw on Linux or Defender Firewall on Windows.

What settings go in server.cfg?

left4dead2/cfg/server.cfg is the core config file executed every time the server loads a map; it contains the server name, passwords, game mode, difficulty and network settings. Each line is a console variable (cvar) or command.

Commonly used variables:

  • hostname: the name shown in the server browser.
  • rcon_password: remote console password; RCON is disabled if left empty.
  • sv_password: join password; handy for friends-only servers.
  • mp_gamemode: coop, realism, versus, survival or scavenge.
  • z_difficulty: co-op difficulty level (Easy, Normal, Hard, Impossible).
  • sv_allow_lobby_connect_only: when set to 0, players can connect directly by IP without a lobby.
  • sv_steamgroup: links the server to a Steam group so members can find it through the lobby.
  • sv_gametypes: restricts which game modes the server accepts.

The player limit is set with +maxplayers on the launch line; the standard game is designed for four players in co-op and eight in versus. Higher values need a plugin. After changing settings, reload the map or restart the server.

How do you install SourceMod and plugins?

Plugin support is added to a Left 4 Dead 2 server by installing MetaMod:Source first and then SourceMod; both frameworks are extracted into the server’s left4dead2/addons folder and load when the server restarts. After installation you can verify with the sm version and meta version console commands.

Common plugin types on community servers:

  • Administration: kick, ban, map change and voting menus; admins are added by Steam ID to addons/sourcemod/configs/admins_simple.ini.
  • Raising the player limit: extensions such as L4DToolZ raise the server’s player cap and are used together with plugins that balance survivor and infected counts.
  • Competitive configs: weapon balance, Tank and Witch rules and ready-made match modes for versus games.
  • Difficulty plugins: mods that increase the number and spawn rate of special infected.

After every game update, check that SourceMod and its extensions are compatible with the new version; some plugins may not work until the signature (gamedata) files are updated. Download plugins only from well-known sources such as AlliedModders. If you also run other Source games, see Team Fortress 2 server hosting and Garry’s Mod server hosting.

How do you add custom campaigns and Workshop content?

Custom campaigns are added by copying their .vpk package files into the server’s left4dead2/addons folder; players must also have the same campaign installed in their game. Since community campaigns are mostly published on Steam Workshop, asking players to subscribe to the campaign is the easiest way.

A trouble-free custom campaign process:

  1. Try the campaign in your own game first and find out the map names (e.g. by typing map in the console and pressing Tab).
  2. Upload the .vpk file to the server’s addons folder and restart the server.
  3. Open the campaign’s first map with changelevel or an admin plugin.
  4. Announce the campaign’s Workshop link to your players.

For large custom content, setting up FastDL (fast download) lets players download missing files from a web server instead of the game server; the sv_downloadurl variable specifies that address. You can host it with a small web server on the same VDS. As you add more campaigns, watch disk usage and remove unused packages; too much addons content can slow server start-up.

How do you improve performance and tick rate on an L4D2 server?

Performance on a Left 4 Dead 2 server is shaped mostly by tick rate, rate settings and plugin load; with the right balance you get a smooth game even on modest resources. The default configuration was tuned for network conditions at the time of the game’s release; on today’s connections community servers usually raise these values.

  1. Tick rate: raising the tick rate with community plugins improves hit registration. When you do, also align sv_minrate, sv_maxrate, sv_mincmdrate and sv_minupdaterate; otherwise clients cannot benefit from the higher tick.
  2. Plugin discipline: many plugins running every frame lengthen tick time. Move unused plugins into the disabled folder.
  3. Process priority and isolation: if you run several instances, monitor each as a separate process and make sure a busy versus server does not affect the others.
  4. Scheduled restarts: a daily restart prevents memory and state issues on long-running Source servers.

When players complain about lag, use the net_graph output in the console to tell server-side problems from network-side ones.

How is an L4D2 server protected against DDoS and abuse?

Protecting a Left 4 Dead 2 server rests on a strong RCON password, a short admin list, an up-to-date SourceMod and network-level attack filtering. Source-engine servers have been around for a long time, so they can be targeted by well-known query-based attacks and fake connection attempts.

On LIONFIN infrastructure, traffic is filtered at the network level by the RouteFence firewall and NOC and SOC teams monitor 24/7 for DDoS attacks (see our data center). On the server side, apply the following:

  • Keep rcon_password long and unguessable; if you do not use RCON, leave it empty to disable it.
  • Add only trusted Steam IDs to the SourceMod admin list and grant only the permission flags they need.
  • Consider community plugins that block abused console commands and rate-limit clients sending excessive requests.
  • Run the server as an unprivileged Linux user, never as root.
  • Protect SSH or remote desktop access with an IP restriction and key-based authentication.

Valve Anti-Cheat (VAC) is enabled by default; starting the server with the -insecure parameter disables VAC and is not recommended on public servers.

How do you back up and update an L4D2 server?

The data worth backing up on a Left 4 Dead 2 server is the cfg folder, the SourceMod configs and plugins in the addons folder and custom campaign files; the game has no persistent world save, so backups are quick and small. Still, losing a carefully tuned plugin set is more work than reinstalling the server.

  1. Archive the left4dead2/cfg and left4dead2/addons folders with a date stamp.
  2. Keep separate notes of the admin list, ban list and plugin configs.
  3. Store a copy of the archives off the server.

To update, stop the server and run app_update 222860 validate in SteamCMD. Because the validate parameter can restore modified game files to their originals, back up your own config files beforehand. After a game update, make sure SourceMod’s gamedata files are current; otherwise some plugins will throw errors.

What are the most common L4D2 server errors?

The most frequent Left 4 Dead 2 server problems are players not finding the server through the lobby, missing custom campaign files, plugin incompatibilities and missing 32-bit libraries on Linux. The server console and SourceMod logs (addons/sourcemod/logs) show the cause of most issues.

  • Cannot connect directly to the server: sv_allow_lobby_connect_only is 1; set it to 0.
  • Friends cannot find it through the lobby: sv_steamgroup is not set or the players are not members of the group.
  • Players are kicked on a custom map: the player does not have the same campaign installed, or a different version.
  • Plugins stop working after an update: SourceMod gamedata files or extensions have not been adapted to the new game version.
  • Server will not start on Linux: 32-bit libraries are missing or steamclient.so cannot be found.
  • Server shows a VAC warning: it was started with the -insecure parameter.

If you cannot solve it, open a ticket from the Support section of the LIONFIN customer panel with the console output.

How to set up a Left 4 Dead 2 server?

  1. 1

    Prepare the server

    Install Ubuntu or Windows Server on a VDS; on Linux, install the 32-bit libraries and SteamCMD.

  2. 2

    Download the game files

    Log in to SteamCMD anonymously and download app ID 222860 with the validate parameter.

  3. 3

    Create server.cfg

    Set hostname, rcon_password, mp_gamemode and sv_allow_lobby_connect_only in left4dead2/cfg/server.cfg.

  4. 4

    Open the port

    Open UDP port 27015 in the firewall, and TCP port 27015 if you will use RCON.

  5. 5

    Install the plugin framework

    Extract MetaMod:Source and SourceMod into the addons folder and add admins to admins_simple.ini.

  6. 6

    Start the server

    Start it with srcds_run or srcds.exe using -game left4dead2 -port 27015 +map and test the connection.

FAQ

Frequently asked questions about Left 4 Dead 2 Server Hosting

The game is designed for four players in co-op and realism and eight players (4v4) in versus and scavenge. Community extensions such as L4DToolZ and team-balancing plugins can raise this limit, but it is an unofficial configuration and compatibility should be checked after every update.

Yes. The Left 4 Dead 2 dedicated server is available for Linux and Windows, and most community servers use Linux. On Linux, SRCDS needs 32-bit libraries, so those packages must be installed along with SteamCMD. Tools such as LinuxGSM make management easier.

Set sv_allow_lobby_connect_only to 0 in server.cfg and restart the server. Players can then open the developer console and connect with the connect command and the server’s IP:port. If this setting is on, the server accepts only connections that come through the lobby.

Copy the campaign’s .vpk file into the server’s left4dead2/addons folder, restart the server and open the campaign’s first map. Players also need the same campaign installed; sharing the Workshop link is the easiest way. FastDL can be set up for large content.

After installing SourceMod, add your Steam ID and permission flags to addons/sourcemod/configs/admins_simple.ini, then change the map or restart the server. In the game you can open the admin menu with the sm_admin command.

Yes, the default tick rate can be raised with community plugins. When doing so you also need to raise the server’s rate, cmdrate and updaterate limits; otherwise players cannot benefit from the higher tick. A higher tick rate increases CPU and bandwidth use.

For a standard four-player co-op or eight-player versus server, 1–2 GB of RAM is estimated to be enough. For busy servers extended with plugins plan 2–4 GB, and if you run several instances on the same machine, around 6–8 GB in total is sensible.

Game updates can change signatures in the server files; until SourceMod’s gamedata files and some extensions are adapted to the new version, the affected plugins throw errors. Keep SourceMod up to date, check the error log and follow new releases of your extensions.

Yes. Install each instance in a separate folder or with a separate config and start it with a different -port value. Because SRCDS is lightweight, co-op, versus and custom campaign servers can comfortably run together on a single VDS.

Valve Anti-Cheat is enabled by default and runs as long as you start the server without the -insecure parameter. Some plugins may require that parameter; avoiding such plugins on public servers is recommended for player safety.