添加外部服务器到本地局域网
本教材旨在无Xbox账户加入大多数服务器,以及不支持游玩外部服务器的特殊基岩版(如PlayStation)加入外部服务器。当然,此方法可能也适用于《我的世界中国版》(网易我的世界)加入第三方服务器。
由于直接在基岩版中游玩非局域网的外部服务器时需要Xbox账户,因此只要把外部服务器地址通过多种方法映射到本地127.0.0.1:19132,即可使基岩版客户端自动发现局域网世界并连接到远程世界。
提示
使用何种设备进行转发?
- Android
- Windows
- Linux
BedrockStation
It proxies and exposes your UDP connections locally as long as the VPN doesn't control the network.
只要VPN不控制本地网络,它就能代理并在本地暴露UDP连接且不干扰使用。
提示
需管理员权限
- 使用 netsh 添加转发规则:
netsh interface portproxy add v4tov4 listenaddress=0.0.0.0 listenport=19132 connectaddress=127.0.0.1 connectport=19132
listenaddress=0.0.0.0
:监听所有 IP。connectaddress=127.0.0.1
:转发到本机。
- 验证规则:
netsh interface portproxy show all
- 放行防火墙(若启用):
netsh advfirewall firewall add rule name="Port 19132" dir=in action=allow protocol=TCP localport=19132
你既然已经使用Linux了,应该学会自己动手在防火墙添加端口转发。