- A Linux machine on the outside which has unrestricted access
- Broadband connection (you do not want to be surfing at 56k)
- SSH configured properly to support SOCKS proxy forwarding
- PuTTY client for Windows
- FireFox Web Browser (I'll tell you why this is important later)
On your Linux Box:
- Log into your machine
- Change to root
- Edit /etc/ssh/sshd_config
- Add or uncomment a line that says "AllowTcpForwarding yes"
- Near the top you may want to add another listen port in case you do something stupid and block yourself. That's done by adding single lines like this:
Port 8022
Port 22222
Now it will listen on ports 22, 8022 and 22222, save your config file and restart the SSHd. If you ware running your Linux machine on a home network behind a router make sure you forward these ports to your machine on the inside.
On the Windows Side of things:
- Download the PuTTY client
- Run it
- Type in the Internet address of your server.
- Enter the port number you want to connect to (ie 22, 8022, 22222)
- Make sure the SSH radio button is selected.
- On the left, navigate down to Connection >> SSH >> Tunnels
- In the "Source Port" box type in 10000
- In the first set of radio Radio buttons select "Dynamic"
- In the second set make sure "Auto" is selected
- Click the "Add" button
- Scroll all the way back up to "Session" and click it
- Give the session something generic "my connection" is fine.
- Click "Open" to start the session
- Enter your username and password.
- Download and install FireFox, if you can't install anything you should get the thumb drive version which doesn't require installation
- Start Firefox
- Go to "Tools" >> "Options"
- Click the "Advanced" Tab
- Where it says "Configure how firefox connects to..." click the "Settings..." button
- Select the "Manual Proxy Configuration" radio button
- In the "SOCKS Host" box type in "localhost"
- In the port information for the SOCKS Host type in "10000"
- Make sure "Socks v5" radio button is selected
- Clear out the "localhost,127.0.0.1" entries in the "No Proxy for" box
- OK your way back to firefox browser window
- In the address bar type "about:config" and hit enter, this will give you FireFox's configuration guts.
- In the filter type in "dns", this will cut down the options so you don't have to go shuffling through a bunch of crap
- Look for the option "network.proxy.socks_remote_dns"
- Double click it so the value changes to "true"
- Hit the home button to now you're loading your pages through the proxy.
No comments:
Post a Comment