Using Blizzard Downloader from behind a proxy server

The Blizzard Downloader used to download Starcraft II and all other Blizzard products does not work from behind a proxy. Blizzard does not support proxies in any way really, so if you don't have a direct connection to the internet you're slightly out of luck.

But if you're keen enough, there's always a way. The requirements for this method are:
1. An SSH connection to a server anywhere in the world that has a direct internet connection.
2. SocksCap - free Windows program that can force any program to connect through a Socks proxy.
3. Putty - free Windows program that can act as an SSH client and allow you to make SSH tunnels.

If you already have an SSH server that you can use for this purpose, great. If not, consider either turning a home server into an SSH server (this could be slow if you have a slow internet connection at home), or go get a VPS (you can get a server from VPSLink for a whole month for $7.99, this includes full root access & SSH access, the whole process takes about 5 minutes).

Once you have your SSH server, download putty and install. Create a session to your new SSH server, but before you connect go to Connections/SSH/Tunnels. In here enter say 5555 for Source port, check the 'Dynamic' radio button underneath and click Add. Now connect to your server and login, leaving the terminal open. The SSH tunnel is now in effect. Basically, Putty listens on local port 5555 for any connections and forwards these to your server via an encrypted SSH link, the server then forwards the request to whatever IP address and port the program that initiated the connection requested. To test this, go into Internet Explorer or Firefox, go to the Proxy settings dialog, select to enter manual settings, and under the Socks proxy enter 'localhost' for host and '5555' for port. This will tunnel your internet traffic through the SSH server. Test by trying to go to google.com or youtube in your browser. If the pages load, the tunnel is working. Double-check this before proceeding. Close the Putty session and try refreshing the browser. The webpages should now NOT load, as the tunnel is broken. Open putty and connect again as before (you can save the settings and reload without re-entering all the details again).

Once the above is done, download SocksCap 2.4. Install it, open the program and go to settings. In the SOCKS Server field enter 'localhost', and Port '5555'. In the Protocol section check SOCKS Version 4 and enter anything in the User ID field ('bob' will work just fine). Click Ok to save the settings. Now it's time to make an application profile to use the proxy. In the SocksCap main window, click New. Type anything in Profile Name. For Command Line, click browse and locate the Battlenew downloader, or whatever other program you want to tunnel (you can tunnel entire games just by selecting the main .exe launcher). Leave working directory blank and click Ok. Now just select the newly created profile in SocksCap and click Run.

This will launch the program and intercept all it's internet connection calls, tunneling them through the Putty local Socks tunnel, which tunnels through SSH to your remote server, which finally connects to whatever address the Battlenet client or whatever program your running requested.

Comments

  1. Thanks! Just what I was looking for!

    ReplyDelete

Post a Comment

Popular posts from this blog

Wkhtmltopdf font and sizing issues

Import Google Contacts to Nokia PC Suite

Can't delete last blank page from Word