Arqade is a question and answer site for passionate videogamers on all platforms. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
[assuming you are a member of faculty] If you're using it for educational purposes, surely your IT will be able to adjust the proxy rules to allow for it? – TZHX May 9 '11 at 10:26
I am the schools ICT technician. The proxy is very strict and to get it changed would take a very, very long time. – tombull89 May 9 '11 at 10:29
i recommend that you ask on superuser/serverfault. they have much more experience in handling such cases where making changes to network settings and handling of ports, etc. – user8949 May 9 '11 at 14:46
You did replace the hostURL and hostPort values with the actual IP and port of your proxy right? – Zoredache May 9 '11 at 16:44
The short answer, if you have a very restrictive firewall then there may not be any way to get minecraft to work sort aside from some ugly Tunnel/VPN hacks that may get you fired, if they are found. Find someone with authority, perhaps a Superintendent, Principal, head of Curriculum and have them help you convince the people responsible for the firewall to allow this. – Zoredache May 9 '11 at 16:49

To be able to play not just the HTTP proxy needs to be added, but also the HTTPS, because authenticating is going through that.

The proper batch file should look like this:

java -Dhttp.proxyHost=proxyURL -Dhttp.proxyPort=proxyPORT -Dhttps.proxyHost=proxyURL -Dhttps.proxyPort=proxyPORT -Xmx800m -jar Minecraft.exe

I put the batch file next to my Minecraft.exe and started with this. Works like a charm ;)

share|improve this answer
You could also look into Socks4/5 proxies. They are much faster. – Timtech Sep 21 '13 at 19:13

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.

share|improve this answer

I have wanted to do the same thing and by combining the answers on this page along with the answers on another page, I have a solution that is working for me. All the commands that you'll need (create a batch file and put it in the same directory that the minecraft.exe file is in) are:

java -Dhttp.proxyHost=localhost -Dhttp.proxyPort=80 -Dhttps.proxyHost=localhost -Dhttps.proxyPort=443 -DsocksProxyHost=localhost -DsocksProxyPort=1080 -Xmx800m -jar Minecraft.exe

The extra part (on top of what Dutch suggests) is the forwarding of the SOCKS port as well. With all this in a batch file and with my SSH proxy running through Putty, I was able to connect to multiplayer servers without any problems.

share|improve this answer
up vote 1 down vote accepted

As things currently stand, there is no way of playing Minecraft, Vanilla (i.e. no mods or extra software), through a proxy. This may change within time and if it does I will update the answer.

share|improve this answer
this is false. I just downloaded the game and I am playing through a proxy right now – nosklo Dec 11 '12 at 18:24
@nosklo, this question (and answer) was posted over a year and a half ago so the answer would have likely changed. If you would like to answer I would gladly move the tick from my answer to yours, provided the solution work. – tombull89 Dec 11 '12 at 18:51
@tombull89 Dutch's answer seems to work. Maybe you could consider accepting it. – Timtech Sep 21 '13 at 19:15

Your best shot would be to set up your own proxy.

I do not know if you can configure an SSH connection to a PC of yours. But SSH enable you to tunnel connections via the SSH one.

So if your school does not allow the port you need, you'll have to "enable" it by your own means. (The best would be SSH cause you can set it up on 443 port that is use for HTTPS, so it is enabled in most proxies)

share|improve this answer

I use Comodo VPN to play Minecraft with my friends and it works great, right out of the box.

We're students and our dorms each connect to the Internet via separate NATs, so we cannot establish connections directly between our machines. Because of that, even though SSH and proxies are possible, they weren't really practical since we needed an external server for them, so we decided to use a VPN software. Once the connection is established, traffic is routed directly between us, not using an external server, so the speed is great.

If you have the necessary privileges required to install software on the machines you're using, I'd recommend giving Comodo VPN a try (it's free as in beer by the way).

share|improve this answer

protected by Community Feb 8 '13 at 1:38

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.