|
发表于 2005-1-31 20:25:49
|
显示全部楼层
来自 中国–湖南–长沙
在valve的主页上有讲,只需要打开27015的映射就可以了。参数方面,不要加上 -nomaster 和+sv_lan 1 就行。另外,server.cfg 中,sv_region 4 也是必要的!
不建议开dmz主机,这样容易被攻击。
我网吧的服务器就是这样在路由器上设置了,服务器可以被刷到,我们用的是百兆光纤,ping不错,只是服务器有点慢,呵呵,不是专用的。
附上官方资料
Q: I am behind a firewall or router. What ports need to be opened or forwarded for hlds?
A:
UDP: 27015 (default HLDS & SRCDS port)
UDP: 27020 (default HLTV port)
TCP: 27015 (SRCDS Rcon port)
No other ports are required. Though some routers are just plain crappy.
除非要开HLTV,不然只需要打开27015的tcp/udp访问就行了。
Q: Why doesn't my server appear on the steam lists?
1) Router problems
2) Filter Problems. You may have your bame-browser filters set incorrectly.
3) sv_region problem. By default sv_region is set to 255. It may not appear on any steam lists with that setting.
here's natural-selection's server.cfg
nsp/server.cfg wrote:
// Must specify sv_region, or it won't show up in Steam server browser
// 0: US East coast
// 1: US West coast
// 2: South America
// 3: Europe
// 4: Asia
// 5: Australia
// 6: Middle East
// 7: Africa
sv_region 4 因为 cs1.6刷新的时候,一船是刷亚洲的吧。。。呵呵,默认值是255,这样的话,server是不会显示在steam list中的。 |
|