Minecraft is very cool, much fun, but it doesn't appear to be listening when I tell it to use a SOCKS proxy for multiplayer connections.
In Java 8 (my version is 1.8.0_65), under section 2.4 of this page in the documentation, it says the following:
There are 2 system properties related to SOCKS:
socksProxyHost
for the host name of the SOCKS proxy serversocksProxyPort
for the port number, the default value being 1080
However, when running MC with the following options concatenated onto the end of the JVM arguments:
-DsocksProxyHost=127.0.0.1 -DsocksProxyPort=8080 -DproxySet=true
or
-Djava.net.useSystemProxies=true
It does not send the information through SOCKS. I have tested this server in Safari and it works just fine (external IP address changes). (note that this is using localhost as I run the SOCKS server in the background through a tunnel to an SSH server).
I've also tried manually starting launcher.jar
with these options, but to no avail.
Am I missing something here?
ssh -D 8080 -f -C -q -N xx@xxxxxx
, which requires me to connect through port 8080 on localhost (as it acts as a network tunnel). As for the server configuration, I'm not sure what I can say aside thatAllowTcpForwarding
is set toyes
and the uncomplicated firewall is allowing inbound/outbound traffic through port 8080. Could you be more specific in that?ssh -D 8080 -f -C -q -N xx@xxxxxx
and tested it successfully with safari. This was all done in the same computer, am I correct? If so, the only thing I can think of is to try to replace-DsocksProxyHost=127.0.0.1
with-DsocksProxyHost=localhost
, not that it should have much impact though. I can't really e of any further assistance =/.