Play Minecraft through a SOCKS-proxy (Windows)

This tutorial will explain how to get Minecraft running through a SOCKS-proxy.

You’ll need to have java and of course also Minecraft installed. To check whether java is installed, open up a command prompt, type “java” and hit enter.

You should get a list of different parameters for java. If not, follow the instructions here.

You’ll also need a SOCKS proxy server. In this example I’m using an SSH proxy server running on my local machine.

1. Navigate to C:\Users\YourUserName\AppData\Roaming\.minecraft\bin\ in Windows 7/Vista, or C:\Documents and Settings\YourUserName\Application Data\.minecraft\bin in Windows XP.

2. Open Notepad and paste the following:

java -DsocksProxyHost=127.0.0.1 -DsocksProxyPort=9999 -Xmx800m -jar Minecraft.exe

Replace your own values for DsocksProxyHost and DsocksProxyPort.

3. Save the file as a .bat file, for example “minecraft_proxy.bat”. Don’t forget to save it in the /bin/ directory.

4. Try running the bat file. A command window should launch first, and then Minecraft, in its own window. You will see java console messages in the command window. Don’t close it, it will close Minecraft as well.

5. If everything is working correctly, create a shortcut to “minecraft_proxy.bat” and put it somewhere for easy access.

Enjoy Minecraft! :)

Advertisements

2 comments on “Play Minecraft through a SOCKS-proxy (Windows)

  1. Wow that was strange. I just wrote an very long comment but after
    I clicked submit my comment didn’t show up. Grrrr… well I’m not writing
    all that over again. Regardless, just wanted to say superb blog!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s