+321 123 4567
info@test.com
  • Home
  • Reviews
  • Gaming
  • About
  • Contact
Home
General
How to Create a Proxy Server Using SSH

How to Create a Proxy Server Using SSH

donjajo
September 3, 2018

SSH is a powerful tool I have known how to use since I started using Linux from secure shell to tunneling, down to port forwarding etc. One of the interesting features I have come across is creating a proxy server using SSH.


This side of the world I’m in is limited at some point to access data. When I need a one time access to a foreign IP address to access these data, I don’t have to buy a monthly VPN I might use just once or twice a month. So I figured out SSH can create a proxy server. Most Linux systems come with SSH pre-installed, same goes for all Linux hosting accounts. If they are not accessible, then you have to contact your web hosting admin.

Creating SOCK5 Proxy Server

We are going to create this proxy and bind it to 127.0.0.1:8080, assuming my web host IP address is 192.168.0.20 and my username is donjajo. SSH creates a SOCKv4 and SOCKv5 Proxy at the moment, so this is what we are going to use. Good thing our browsers support it.

SSH (Linux & Mac)

Open up your command line and run:

[code]$ ssh -D 127.0.0.1:8080 donjajo@192.168.0.20[/code]

Yes, that easy, then connect. 🙂

PuTTY (Windows)

Download PuTTY and configure as the screenshot below


The above configuration yields same result as Linux’s. This binds the remote IP to the local PC IP, when a request is made to that port it is forwarded under a secure channel to the remote host. You can change the port to your desired, this will require admin/root access.

Using The Proxy

It is basically the same way you use other proxies, only if they support SOCK proxy method. This is how to configure this on FireFox:

This is all and should be working immediately when there is a successful authentication. Please note this will affect your web hosting bandwidth too if you have a metered one.


Previous Post
How to Replace a Faulty Trackpad on MacBook Pro 2011 13-Inch
Next Post
Onikuma K6 Gaming Headset Review: Right for the Price
donjajo
airplay on TV
General

4 Ways to Turn Your Old, Dumb TV to a Smart TV

7 years ago
canon eos rebel t6i
GeneralPhotography

Transfer Images Over WiFi to Your Computer on Canon EOS Rebel T6i / 750D

7 years ago

Recent Articles

yunmai massage gun mini 2.
Yunmai Massage Gun Mini 2 Review
BenQ LaptopBar Review: The Accessory I didn’t Know I Needed
teendow g20
Teendow Robot Vacuum G20 Review
Yunmai EasePro Massage Gun Review
Treblab E3 Review
Treblab E3 Review: All Hail The Battery King!
Treblab HD7 Review
Treblab HD7 Review: Portable Bluetooth Speaker with Great Sound
Treblab xFit True Wireless Earbuds Revivew
Treblab xFit Review: Great Steal For The Price!
safari
An Easier Way to Export Google Chrome Passwords to Safari
Bluedio T6 Review
Bluedio T6 Review: Best Budget Wireless Headphones
lulu
Review: Lulu is the Free Little Snitch Alternative you Want

All contents on this blog are copyright protected and cannot be reproduced on other websites without permission.

Copyright © 2022 – NerdieDad | Home | Contact | About | Privacy Policy