- 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.micro
should 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>.pem
file 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 [email protected] -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
localhost
and then the port7777
and 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.