Skip to main content
To set a CS2 server password, open Server settings in the Game Panel, type it into Join password under Basics, click Review and save, then Save changes, and restart. This sets sv_password. Players then join with connect 203.0.113.10:27015; password yourpassword, using your address. Leave Join password empty for a public server.

How to add a password in the Game Panel

1

Open Server settings

Open your server and click Server settings under COUNTER-STRIKE 2 in the sidebar.
2

Enter the password

In Basics, type the password into Join password (“Players need it to join. Leave empty for a public server.”). Click the eye icon to show what you typed.
CS2 Server settings Basics section with the Join password field and its eye icon below Server name

The Join password field in Basics

3

Review and save

Click Review and save. The review window lists sv_password with the value hidden. Click Save changes.
4

Restart the server

Restart the server so the password applies.

How to join a CS2 server with a password

Players type this in the CS2 developer console, with your address and password:
See connect to a CS2 server to turn on the console.

How to set or remove the password with a command

In the Console, while the server runs: A console change lasts until the next restart. To keep it, use Join password in Server settings.

Join password, RCON password: what’s the difference?

Frequently asked questions

How do I remove the password from my CS2 server?

Clear the Join password field in Server settings, review and save, and restart. Your server is public again.

Why does my friend get a wrong password message?

Passwords are exact: check capital letters and spaces. If you use a password with spaces, put it in quotes: password "my password". Make sure you restarted after saving.

Is my server still listed with a password?

Yes. A server with a password can still appear in the server browser if it has a GSLT, but players need the password to join.

CS2 server guide

Every Counter-Strike 2 page in one place.

Connect to your server

Join with the developer console.

Change your server name

Set the name in the server list.

Add admins

Give trusted players admin rights.

Tested by the FREAKHOSTING team on our Game Panel on 29 October 2026 (Counter-Strike 2 with CounterStrikeSharp 1.0.378 and Metamod:Source build 1483). Steps may differ slightly if the game or its plugins change.

Need Extra Help?

If you encounter any issues, our support team is ready to assist:

Save on Your Hosting

Ready to upgrade your hosting? Use code KB20 at checkout for 20% off your first order!

Last Updated: October 2026