安装 Steam
登录
|
语言
繁體中文(繁体中文)
日本語(日语)
한국어(韩语)
ไทย(泰语)
български(保加利亚语)
Čeština(捷克语)
Dansk(丹麦语)
Deutsch(德语)
English(英语)
Español-España(西班牙语 - 西班牙)
Español - Latinoamérica(西班牙语 - 拉丁美洲)
Ελληνικά(希腊语)
Français(法语)
Italiano(意大利语)
Bahasa Indonesia(印度尼西亚语)
Magyar(匈牙利语)
Nederlands(荷兰语)
Norsk(挪威语)
Polski(波兰语)
Português(葡萄牙语 - 葡萄牙)
Português-Brasil(葡萄牙语 - 巴西)
Română(罗马尼亚语)
Русский(俄语)
Suomi(芬兰语)
Svenska(瑞典语)
Türkçe(土耳其语)
Tiếng Việt(越南语)
Українська(乌克兰语)
报告翻译问题



Are you trying to connect using the external ip or the internal ip?
have you used -ip in the command line config? try using -ip 0.0.0.0
Try this:
You can try with your internal ip or 0.0.0.0, most people 0 works, for me i had to put the internal ip..
like that..
I can attempt 0.0.0.0 for the -ip setting, but seems that is only beneficial to binding within a multiple interfaced server (not the case here). It currently is using the internal IP address (198.18.2.100) with the +net_public_adr being the DNS entry.
NAT is being used only from external connection (which are successful), but port 27015 is not being altered. Upon connecting internally, the firewall shows the UDP packets passed.
net_public_adr 0 For servers behind NAT/DHCP meant to be exposed to the public internet, this is the public facing ip address string: ('x.x.x.x')
Not sure why you would need to specify a DNS entry to the game command line..
DNS just resolves domain names to ip addresses, so if you had a domain "example.com" pointing to the public ip of your game server, you can use "connect example.com:port" in game to connect (or just example.com if using default ports). It's not something you should need to specify on the game server itself - and I don't think this would be resolved by the game server either
0.0.0.0 ip is useful if you don't care what ip or interface your server really uses, so if you add another interface or changed the ip in the future all you would need to update would be the nat ports.
After switching out to my public ip, no success for LAN connectivity.
thanks for reading still :)
cat serverlaunch.sh
#!/bin/bash
/home/steam/csgo-dedicated/csgo/./srcds_run -game csgo -tickrate 128 -port 27015 -condebug -usercon +game_type 0 +game_mode 1 +sv_setsteamaccount <topsecret> -net_port_try 1 +mapgroup mg_active +map de_dust2 +ip <internal ip> +net_public_adr <external IP or DNS> +sv_region 0 +clientport 27005
You need for browsing..
+clientport this dont do anything on the server side, you can remove.
Steam / CSGO does not support RFC5735. As soon as the internal addressing (198.18.0.0/15 range) was moved to a RFC1918 address (192.168.0.0/16 range), the server was accessible.
Thanks!
have you used -ip in the command line config? try using -ip 0.0.0.0