Posted on September 4, 2018 at 12:23 am
Just get a cheap VPS from DigitalOcean or any other company.
Then login as root to the VPS and type:
ssh -N -C -q -D VPS_IP:SOCKS5_PORT -p SSH_PORT localhost
Here is an example:
ssh -N -C -q -D 126.96.36.199:1080 -p 22 localhost
Explaination fo parameters:
-C Requests gzip compression of all data -T Disable pseudo-tty allocation -N Do not execute a remote command. This is useful for just forwarding ports. -f Requests ssh to go to background just before command execution. -n Redirects stdin from /dev/null (actually, prevents reading from stdin). -q Quiet mode. Causes most warning and diagnostic messages to be suppressed.
You can use the SSH tunnel (SOCKS5) on Firefox, Chrome, etc.
So you can browse Internet anonymously hiding your real IP address.
You can also use the VPS IP as a static IP for logins.
Beaware, if you use it unhetically then the VPS reseller may block the VPS.
- Connect as Root using WinSCP on Google Cloud Compute Engine
- Become Root on Google Cloud Compute Engine VMs
- Connect to Google Cloud Compute Engine VM via PuTTY SSH
- DigitalOcean Slow, My Experience
- Keep current version of config files when apt-get install on Debian
- How to Extract Links from a Web Page in Linux
- PHP Library for Google Authenticator (Two Factor Authentication 2FA)
- Should I reboot Debian server after apt-get upgrade?
- Unable to extract and upload PackageInfo.xml
- Stop Bad Bots from Crawling Your Website
- DEB.SURY.ORG Updated the Signing Key (March 2019)
- PHP Check if XML String is Valid
- PHP Securely Save Passwords in Your Database
- Redirect 404 Errors to Homepage with Nginx
- Nginx Rewrite Rule to Add Slash to The End of Any URL
- Lost connection during Debian apt-get upgrade