如何为ARK Survival Ascended服务器打开Windows防火墙端口

列印
  • 0

在Windows VPS上安装ARK Survival Ascended后,Windows防火墙必须允许流量通过您的启动批处理文件使用的端口。

如果服务器启动但玩家无法看到或加入,关闭的防火墙端口是首先要检查的事项之一。

此示例与如何为ARK Survival Ascended服务器创建启动批处理文件中的基本start-asa.bat文件相匹配。

在该指南中,启动文件保存在C:\ark-asa,并使用游戏端口7777,查询端口27015,以及可选的RCON端口27020。

  1. 连接到Windows VPS。
  2. 以管理员身份打开PowerShell。
  3. 允许ARK游戏端口:
    New-NetFirewallRule -DisplayName "ARK ASA Game Port 7777 UDP" -Direction Inbound -Protocol UDP -LocalPort 7777 -Action Allow
  4. 允许Steam查询端口:
    New-NetFirewallRule -DisplayName "ARK ASA Query Port 27015 UDP" -Direction Inbound -Protocol UDP -LocalPort 27015 -Action Allow
  5. 如果启用RCON,允许RCON端口作为TCP:
    New-NetFirewallRule -DisplayName "ARK ASA RCON Port 27020 TCP" -Direction Inbound -Protocol TCP -LocalPort 27020 -Action Allow
  6. 启动或重启ARK Survival Ascended服务器。

如果您的批处理文件使用不同的端口,请打开那些端口。防火墙规则和启动参数必须匹配,否则服务器可以在本地启动但仍然无法从VPS外部访问。


這篇文章有幫助嗎?

相關文章

« 返回

Follow us on Social Media

Stay in the loop! Follow our social media accounts and stay up-to-date with the latest news, announcements, tips & tricks and behind-the-scenes insights!