我的大学网络上运行着一台MineOS交钥匙服务器,它被锁定在防火墙的后面。我已经能够使用SSH连接到他们的Linux服务器,然后再从那里通过SSH连接到我的服务器,但是,我不知道如何将连接从我计算机上的Minecraft客户端连接到我已经双重SSH连接的服务器。在他们的网络上,我可以轻松地连接到服务器;但是,由于我正处于休息状态,所以我无法直接访问网络。
似乎与此问题有关https://gaming.stackexchange.com/questions/21848/how-can-i-play-minecraft-through-a-proxy-server
您可以端口转发或创建SOCKS代理。检查ssh -L
或ssh -D
在SSH手册中。
如果是端口转发,则必须localhost
用作Minecraft服务器地址。对于SOCKS代理,请在运行JAR文件时检出--proxyHost
并--proxyPort
作为参数。来自http://hydra.geht.net/tino/howto/software/minecraft/proxy/的提示
Download minecraft.jar (this is Minecraft for Linux) and run it as follows: java -Dhttp.proxyHost=PROXYHOST -Dhttp.proxyPort=PROXYPORT -Dhttps.proxyHost=PROXYHOST -Dhttps.proxyPort=PROXYPORT -jar d:\minecraft\minecraft.jar --proxyHost SOCKSHOST --proxyPort SOCKSPORT Replace following words above with: PROXYHOST: your HTTP proxy IP PROXYPORT: is your HTTP proxy port, usually 8080 SOCKSHOST: is your SOCKS5 proxy IP SOCKSPORT: is your SOCKS5 proxy port, usually 1080
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句