moRty 6 Jul, 2020 @ 5:49am
CSGO SERVER can't be connected with public IP
I have a public VPS which IP is "94.xx.xx.xx",and a computer in my house.So I built CSGO server with my computer ,then port forwarding 27015,27005,27020,26900 with all UDP type to the VPS
.
After this I run the server with"./srcds_run -game csgo -console -usercon +game_type 0 +game_mode 0 +mapgroup mg_active +map de_dust2 +sv_setsteamaccount MYSRCDTOKEN -nobots +net_public_adr 94.xx.xx.xx",

but the server is not visible on server list and if I do"connect 94.xx.xx.xx",It appears Loading screen then it goes back to CSGO title screen.
Only can be connected through "192.168.x.x" (this is lan IP of the computer)
< >
Showing 1-3 of 3 comments
Папочка 6 Jul, 2020 @ 7:17am 
1. Check your port is open through from any special website. Your provider can use NAT.
2. Try remove:
+net_public_adr 94.xx.xx.xx
Sometimes it broke connection.
3. Use:
-strictportbind -port ${port} +clientport ${clientport} +tv_port ${sourcetvport}
for strict port bind. Other app can use same ports.
Last edited by Папочка; 6 Jul, 2020 @ 7:17am
moRty 7 Jul, 2020 @ 4:02am 
Originally posted by Папочка:
1. Check your port is open through from any special website. Your provider can use NAT.
2. Try remove:
+net_public_adr 94.xx.xx.xx
Sometimes it broke connection.
3. Use:
-strictportbind -port ${port} +clientport ${clientport} +tv_port ${sourcetvport}
for strict port bind. Other app can use same ports.

Thanks for reply,I tested the UDP port with nc command,Yes the forward is succeed and ports are open.and i also removed +net_public_adr ,but seems not working, also i tried the bind ports command, not working.
qenixz 28 Oct, 2020 @ 1:20pm 
thx
< >
Showing 1-3 of 3 comments
Per page: 1530 50