Counter-Strike 2

Counter-Strike 2

View Stats:
[WindVex] Apr 4, 2024 @ 7:39pm
1v1 with/without bots not working?
I'm trying to play deathmatch with a friend but its only us two and maybe bots as well, but the game isn't allowing it it seems, and idk what the problem is. :|

Could anyone help?

"Disconnected"
"Lost connection to gameserver"
This appears when we try to start a match on ANY map in practice-casual/deathmatch
Last edited by [WindVex]; Apr 4, 2024 @ 7:44pm
< >
Showing 1-3 of 3 comments
Originally posted by A guide I saw:
Introduction
GUIDE TO PLAY CS2 WITH FRIENDS NO DOWNLOAD
I thought i would write this guide, because I have tried for so long to figure out how to play workshop maps / private matches with my friends, and the guides that i have used, have not worked for me.

This guide is is made from my own experiences. I dont know a lot about different types of internet, but this is how I made it work.
How its done
Requirements:
All parties must own and play CS2 through steam.
The host must have a Dynamic IP (Moderate or Open NAT-Type)

What the host needs to do:
First you need to open the command prompt on your PC. You can do this by pressing Windows+R and typing cmd.
Then you need to type ipconfig and hit enter. You should then recieve a list of different numbers. The numbers that you need is the default gateway and IPv4 address. Note them down, so you have them for later.
Type out your default gateway in your browser as the URL, and it should take you to your router interface.
You will be asked to login, and for the most part the username and password will be admin.
It admin doesn't work, the username and password will be printed on the backside of your router.
Once you have logged in to your router, you need to Port forward, which basically means that you allow people from outside your internet, to join your games.
Router interfaces are very different, but you will probably find it in Network Settings > NAT.
From here you need to create a new port forwarding rule. You can name it whatever you like. In start the Start Port, type 27015 and in the End Port type 27016
These are Valve's primary ports, and therefore used in CS2
In the Server IP Address, you type the IPv4 Address which you saved from before.
In Protocol you need to select TCP/UDP.
Sometimes labeled "Both
When this has been done, set status to active, and hit save
Now that you have port forwarded, so that people can connect to your internet, you need to whitelist the same port in the Windows Firewall. To do this, open Windows PowerShell as administrator and type the following:
New-NetFirewallRule -DisplayName "CS" -Direction Inbound -LocalPort 27015,27016 -Protocol TCP -Action Allow
New-NetFirewallRule -DisplayName "CS" -Direction Inbound -LocalPort 27015,27016 -Protocol UDP -Action Allow
New-NetFirewallRule -DisplayName "CS" -Direction Outbound -LocalPort 27015,27016 -Protocol TCP -Action Allow
New-NetFirewallRule -DisplayName "CS2" -Direction Outbound -LocalPort 27015,27016 -Protocol UDP -Action Allow
This allows users connecting from that port, to be accepted through your firewall.
Credits to: TroubleChute
Now you have completed the steps, so people can join you, and you should be able to start workshop maps, when in the same lobby.
If not, however, they need to connect, through the developer console, with you Public IP Adress.
This can be found by googling Whats is my public IP
This IP, should only be given to your friends and people you trust.
Once you have your Public IP Address, you need to insert the 27015 port at the end, seperated with a colon (:)
Example: 123.45.678.91:27015
Share the IP with your friends, and they can join your game by typing
connect (Your IP)
in console.

What the people joining need to do:
Enable developer console in CS2
Type connect, followed by the host's Public IP Adress, with the 27015 port and hit ENTER.
Example:
connect 123.45.678.91:27015

I hope you enjoyed this guide. Let me know, if it works for you :)
Hope it works :steamhappy:
< >
Showing 1-3 of 3 comments
Per page: 1530 50

Date Posted: Apr 4, 2024 @ 7:39pm
Posts: 3