How To Wiki

How to create a proxy server if you only have an ssh connection to the internet

1,795pages on
this wiki
Add New Page
Talk0 Share

You can use the ssh command to create a SOCKS proxy server.

In a GNU/Linux distribution or BSD Edit

You go in a terminal, and type:

ssh -D 10806 user@host

Where user and host is your ssh account. The host computer needs to be able to reach the internet without proxy.

This command creates a SOCKS proxy on your localhost</t> on port 10806. You can then point your browser to use this proxy.

Additional notes Edit

  • The above technique may also be useful if you already have an internet connection, but need to browse a private intranet where you have an ssh account.
  • The <tt>ssh command is part of OpenSSH which is part of almost every GNU/Linux or BSD distribution, and also some other Unix systems and clones.
  • If the ssh server at host does not allow port forwarding, then this technique does not work.

    From HowTo Wiki, a Wikia wiki.

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

Also on Fandom

Random Wiki