Create CSGO dedicated Server
Go to D:\SteamLibrary\steamapps\common\Counter-Strike Global Offensive\game\bin\win64
cd "\D:\SteamLibrary\steamapps\common\Counter-Strike Global Offensive\game\bin\win64"
Add this ports to exeption in firewall :
- 27015 UDP/TCP
- 27020 UDP
- 27005 UDP
- 26900 UDP
Enter this command to launch CS2 server
.\cs2.exe -dedicated +map de_mirage +game_alias wingman +host_workshop_map 3132854332
Redirect this ports :
- 27015 UDP/TCP
- 27020 UDP
- 27005 UDP
- 26900 UDP
Map's Code :
Mirage : de_mirage
Dust II : de_dust2
Anubis : de_anubis
Nuke : de_nuke
Overpass : de_overpass
Inferno : de_inferno
Ancient : de_ancient
Vertigo : cs_vertigo
Office : cs_office
Italy : cs_italy
Game mode's Code
Competitive: game_alias competitive <- sets both game mode and game type commands game_mode 1 game_type 0 Wingman game_alias wingman <- sets both game mode and game type commands game_mode 2 game_type 0 Casual game_alias casual <- sets both game mode and game type commands game_mode 0 game_type 0 Deathmatch game_alias deathmatch <- sets both game mode and game type commands game_mode 2 game_type 1 Custom game_alias custom <- sets both game mode and game type commands game_mode 0 game_type 3
Sources:
Counter-Strike 2 - Dedicated Servers - Valve Developer Community (valvesoftware.com)