This tutorial will explain how to get Minecraft running through a SOCKS-proxy.
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! :)