Skip to content

Instantly share code, notes, and snippets.

@brianloveswords
Last active December 22, 2015 15:08
Show Gist options
  • Save brianloveswords/6490461 to your computer and use it in GitHub Desktop.
Save brianloveswords/6490461 to your computer and use it in GitHub Desktop.
Defeating region lock

Prerequisites

  • Somewhat modern version of OpenSSH
  • Server you have SSH access to in the region you want to stream from.

Bummed about region lock? Start up your terminal and do this:

$ ssh -N -D 9999 yourserver.com

Then setup your browser to use a SOCKS proxy:

socks

Now everything will tunnel through your server and when you're trying to use Netflix or Hulu or whatever, it will seem like it's coming from <insert region of your server here> and you won't be locked out.

Note that since it's tunneling, it will A) be slightly slower, and B) use up bandwidth from your server, so if you're edging near your cap, it might not be a great idea to stream heavy duty stuff.

Extra Protip: set up a browser you don't normally use with the SOCKS proxy so you can use that one exclusively for doing your secure/region locked stuff and save your server bandwidth by doing your casual stuff on another browser.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment