+321 123 4567
info@test.com
  • Home
  • My Services
    • Web Design
    • Web Development
    • Technical Writing
    • Portfolio
  • My Thoughts
  • Free Tools
    • Photo Editor
    • Avatar Generator
    • Email Migration Tool
    • QR Code Generator
    • RSS to HTML Converter
    • IP Address Geolocation
    • Base64 Image Encoder
    • NATO Translator
    • All Tools
  • 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
Webmasters

This Little Change Fixed Internal Server Error 500 on WordPress (bbPress)

9 years ago
.ng domain names
OpinionWebmasters

It’s Partly NiRA’s Fault People Are Not Using .NG Domain Names

10 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
bathroom
Dear Men, Spraying All Over the Toilet Seat is Disgusting and Irresponsible
winx mediatrans
How to Transfer Photos from iPhone to Computer Without iTunes
How to Use WhatsApp on an iPad
Things to Consider When Buying a MacBook
programmer
Learning to Code: A Comprehensive Guide for Beginners
identity thief
How to Efficiently Prevent Identity Theft

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