- Sign into your AWS account console
- Choose an availability zone not in your area (like Oregon or something)
- Launch a new instance (just choose an Ubuntu instance). A
t2.microshould be fine for this. - You may have to create a new key pair if you haven't already. Name it and the download the file. Do not lose this as this
<whatever>.pemfile is what you'll use to access the instance.
Now that you have an EC2 instance running in some other area of the country, you will want to SSH tunnel into it so you can redirect your web traffic through it.
Find the public DNS entry for the instance you just launched (in the EC2 console) and then run this command:
$ ssh -i leviwilson.pem ubuntu@ec2-34-214-100-78.us-west-2.compute.amazonaws.com -D 7777
If you do not have the correct permissions on your pem file that you created earlier, you'll need to:
chmod 0400 <path your file>.pem
Now that you have an SSH tunnel setup on port 7777 of your local machine, you'll want to send traffic through it.
- Open up a browser like Firefox and open the settings.
- Choose "Advanced" and go to the network tab
- Click "Settings" under the "Connection" section to configure the proxy
- Choose "Manual proxy configuration" and under the "SOCKS Host" put
localhostand then the port7777and choose "OK"
And voila! Now all of your Firefox traffic will be going through your SSH tunnel and look like it's coming from Oregon.