How to Set a Password on Your Counter-Strike: Source Server

Password protect your CS:Source dedicated server so only invited players can join.

Open Startup

In the XGamingServer Panel, click Startup in the sidebar.

Set the Password field

Find the Password field and enter your password.

Restart

Restart from Console to apply.

Open server.cfg

In Files, open cstrike/cfg/server.cfg.

Set sv_password

sv_password "YourPassword"

For a public server, leave it empty:

sv_password ""

How Players Connect

Players connect with the password using the in-game console:

connect 123.45.67.89:27015; password "YourPassword"

Or via a clickable Steam link:

steam://connect/123.45.67.89:27015/YourPassword

How is this guide?

40% Off — Limited TimeGet your Counter Strike Source server todayInstant setup, DDoS protection, and 24/7 support included.
Get a Server

On this page