Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I believe this is called connection tunneling? or proxy?

I want to use the internet connection of a remote server, is it possible? with Chrome or Firefox + ssh?

How would I do that?


share|improve this question
What OS is the server? And your computer? – imtheman Jul 5 '12 at 19:09
If I understand this correctly, yes what you are referring to is called proxy. You can set up a web browser to proxy through another computer to gain network access. What I would be interested to know if there is a way you can NAT through the 'proxy' server or in effect, bridge the network connections to gain a connection to the internet that way...kind of like using VirtualBox NATing through the host computer. – Stephen R Jul 5 '12 at 19:53
up vote 3 down vote accepted

You are talking about SSH dynamic port forwarding. Not knowing your OS, here I provide different methods for different OS's.


Tunnelier is a nice and fast solution to use socks proxy in Windows. It is faster than MyEnTunnel, Putty and other SSH clients based on plink.exe when port forwarding.

After filling in your SSH account information, you will get a socks proxy on You can set it natively in Firefox. And you need to use --proxy-server="socks://" options to launch Chrome to use this proxy. Or you can install Proxy Switchy! Chrome extension to set it in GUI.

By default, Tunnelier opens not only port forward function, but also SFTP and SSH Shell. You can uncheck the boxes of "Open Terminal" and "Open SFTP".

Mac OS X and most Linux distributions:

They can use command-line OpenSSH software for port forwarding. Commands are something like ssh -vND7070 user@host. You will get a socks proxy on and you may set up your favorite browser like above.

If you want to use SSH port forwarding in Mac OS X in GUI, you may also try iSSH software. It provides a user-friendly interface for you.

More Info

BTW, I live in China Mainland, we Chinese are kind of "experts" in SSH port forwarding because we need to use SSH or VPN to bypass the Great Firewall of China to visit blocked websites like Google, YouTube, Facebook, Twitter, Viemo and millions of other sites... Hard life, right?

share|improve this answer
Yes I needed it on MACOSX and UBUNTU. thanks. I follow these stories in China, and yes hard life! Careful about posting around you use tricks to bypass firewall... they might be watching right? – Sandro Dzneladze Jul 10 '12 at 13:32
@SandroDzneladze I am not afraid of the Big Brother. :-) – Zhuoyun Wei Jul 11 '12 at 0:27

If you're using Windows try WinSCP. It will allow you to do what you were talking about, SSH tunneling. Using this program would probably be easier than trying to do it manually.

share|improve this answer
Please edit your question to provide more context. What is "this"? Briefly describe how it relates or can solve the OP's issue. – iglvzx Jul 5 '12 at 19:19
Thank you @iglvzx. – imtheman Jul 5 '12 at 23:47

Putty is capable of creating such tunnels (if we're talking about a Windows machine): Putty Tunnel configuration

An explanation/Howto for this you can find here.

If you are on a Mac, you might want to take a look into the SSH Tunnel Manager.

Then there's a general introduction plus a howto for Linux behind this link.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .