+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
    • Rich Text Editor
    • 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
glo free browsing settings on opera mini and ucweb or uc browser
General

Glo Free Browsing Settings on Opera Mini and Ucweb/ UC Browser

14 years ago
General

Locked Out By Google: Unusual Traffic From Your Computer Network?

14 years ago

Recent Articles

wahl rapic clip hair clipper
Wahl Rapid Clip Hair Clipper Review: DIY Made Easy
BenQ LaptopBar Review: Luxury or Necessity?
yunmai easepro unboxed
Yunmai EasePro Massage Gun Review
g20
Teendow G20 Robot Vacuum and Mop 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
google workspace
How to Migrate Emails From Google Workspace/G Suite to cPanel
synology diskstation ds920+
Synology DiskStation DS920+ Review
playstation 4
Why I haven’t Upgraded to the PlayStation 5 Yet
pain
Started Watching Anime as an Adult? You’re Not Alone

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