Sign up ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I use SSH tunnel(s) from computers in my home to a remote server, in order to have secure connections and appear to be where I'm not (I live in Europe but want to access Netflix for example).

The problem, is that this has to be set on every computer / device (on Android devices I use SSHTunnel which works perfectly, but requires rooting).

I would like to have an SSH tunnel at the router level, where all communications from that router to the outside world would use the tunnel.

How do I do that? I have an ASUS RT-N66u with Tomato USB installed.

When trying to google the answer the only tutorials I can find are about how to setup an SSH tunnel TO the router FROM the outside world (TO your home FROM your office for instance).

What I want is have all communications emanating from my LAN through the router, to use an SSH tunnel to a remote server.

share|improve this question
Have you considered using OpenVPN instead of SSH tunneling? SSH is not very efficient for tunneling and there are several versions of Tomato USB that have OpenVPN built in. – heavyd Jan 3 '13 at 14:34
What's good about SSH tunneling is that it requires zero configuration on the target machine; I can spin up a server anywhere in the world and be able to SSH to it right away. – Bambax Jan 3 '13 at 15:39
@heavyd Do you have an example of this being set up and working? I've tried setting up OpenVPN and none of it makes any sense and nothing works. SSH tunneling is very easy to set up and works fine. – endolith Jun 2 '14 at 18:42
@endolith, I have it working on my home network using one of the Shibby mods (I use the Big-VPN build on my N16). Shibby's build has a link to the OpenVPN docs as well which are very helpful when generating keys. – heavyd Jun 2 '14 at 18:47

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.