Busting Out of Your Firewall with SOCKS
Most people find themselves accessing the internet from somewhere besides their home, and often times there are restrictions on the network that disable some protocols, or maybe block some websites you’d like to see. An easy way to get around this is to forward your web session over an ssh session. This can be done in any OS… the only requirement being that you have an ssh server setup outside of the network you are currently on. The port I’ve chosen (8080) is arbitrary – you can choose anything above 1024.
Windows
Download putty, and type the name of your ssh server in the Host Name field. Now select (Under “Category:”) Connection/SSH/Tunnels.
Under source port, enter “8080″ and select “Dynamic” under that. Next, hit “Add”, which should add “D8080″ under “Forwarded Ports”. Now hit open, and login to your machine.
Finally, you need to setup Firefox to go through your proxy. Go to: Tools/Options/Advanced/Network/Settings…
Enter “localhost” under the SOCKS Host and “8080″ under the Port. Make sure that SOCKS v5 is selected under that.
Hit “Ok” a couple times to get out of your configuration windows, and you’re good to go!
Linux/Mac
Now things are a little simpler under Linux/Mac. All you need is ssh. Simply type in terminal:
ssh -D8080 username@host.com
And set your browser’s proxy settings like we did above for Windows.
Further Reading
- SOCKS on Wikipedia
- Forwarding specific ports on Linux/Mac
- Setup an SSH Server in Windows
- Setup an SSH Server in Ubuntu
- Configure your Linux SSH server
[...] the original: rabble rabble rabble » Blog Archive » Busting Out of Your Firewall Share and [...]
I would like to thank you for making a good post. I never usually comment on blogs but I felt like I needed to because you made such a good effort posting this good information. Thank you and I will be back again! Right now you should check out amazon, they are giving out free amazon prime!! http://shmyl.com/mjyhton
Just to follow up on the update of this issue on your website and would want to let you know simply how much I appreciated the time you took to generate this helpful post. Inside the post, you really spoke regarding how to really handle this issue with all comfort. It would be my personal pleasure to gather some more tips from your web site and come up to offer others what I discovered from you. Thank you for your usual fantastic effort.
I like the helpful info you provide in your articles. I’ll bookmark your weblog and check again here regularly. I’m quite sure I will learn a lot of new stuff right here! Good luck for the next! Theresia Sherwood