moRty 2020 年 7 月 6 日 上午 5:49
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)
< >
正在显示第 1 - 2 条,共 2 条留言
Папочка 🖤 2020 年 7 月 6 日 上午 7:17 
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.
最后由 Папочка 🖤 编辑于; 2020 年 7 月 6 日 上午 7:17
moRty 2020 年 7 月 7 日 上午 4:02 
引用自 Папочка
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.
< >
正在显示第 1 - 2 条,共 2 条留言
每页显示数: 1530 50