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
Sources:
Counter-Strike 2 - Dedicated Servers - Valve Developer Community (valvesoftware.com)