Saturday, July 23, 2011

How can I play Minecraft through a proxy server?

Question

There are many people that are forced to use a proxy, be it students in shared accommodation or school staff. Following the blog of The Minecraft Teacher I've realised that Minecraft could be used for educational purposes, but most schools have a proxy.

I've so far found that moving the minecraft.exe into the %appdata%/bin folder and creating a batch file with this in should work:

java -Dhttp.proxyHost=hostURL -Dhttp.proxyPort=hostPort -Xmx800m -jar Minecraft.exe  

... although I've so far been unable to get this to work.

Answer

If you have sufficient control over the server, I'd suggest using something like n2n, which is an awesomely simple (though command line argument heavy, and gui-less) VPN system.

PuTTY is a very cool ssh client for all platforms, and while the tunneling configuration is a bit wonky, you can essentially remap the server's port to a local port (the command would be ssh -L:localhost: though working through the gui would be a bit harder.) When you've got that set up, you can type localhost: into Minecraft and connect to the server. Note that you need ssh access to the server for this to work, similar to the solution.

Those are all the solutions I can think of now, though previous posters have suggested other VPNs you might want to look in to.

No comments:

Post a Comment