Skip to content

Instantly share code, notes, and snippets.

@tobym
Created March 28, 2017 10:18
Show Gist options
  • Save tobym/dba9467bc0c54984bd708101f602db87 to your computer and use it in GitHub Desktop.
Save tobym/dba9467bc0c54984bd708101f602db87 to your computer and use it in GitHub Desktop.
When you're abroad and want to listen to Pandora on your mac...
# create a SOCKS proxy. You need a server in the US
ssh -D 8888 my-user@server-in-the-us
# launch a second instance of Chrome that uses the proxy
/Applications/Google Chrome.app/Contents/MacOS/Google\ Chrome --profile-directory=Guest --proxy-server="socks5://localhost:8888" --host-resolver-rules="MAP * 0.0.0.0 , EXCLUDE localhost" --user-data-dir="/tmp"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment