Tunnel all traffic through SSH?

1

1

Given Windows 7 I want to tunnel all its network traffic through SSH, without manually tunnelling each port. It's easy on Linux, but I couldn't find any hint on how to do this on Windows ): So, any hint on how this can be done on Windows 7?

stefan.at.wpf

Posted 2012-07-30T19:39:42.207

Reputation: 1 301

Question was closed 2016-06-28T07:40:21.453

But... then SSH gets tunneled over SSH and your computer explodes! (results may vary) – Zeb McCorkle – 2014-11-11T01:40:17.640

As far as I know, there's no easy way in Windows to change all applications' proxies at once. Many programs use the settings of IE though. – Dennis – 2012-07-30T19:49:57.697

Hmm after thinking more about it: Shouldn't I be able to use VPN and tunnel this over SSH? – stefan.at.wpf – 2012-07-30T20:08:17.757

You can do that, but SSH VPNs aren't as good as "normal" (PPTP) VPNs. Here's a complete setup guide for the latter.

– Dennis – 2012-07-30T20:21:21.837

Use the dynamic forwarding feature of SSH (-D option, opens a local SOCKS server) then setup a proxifier. This will however only work for TCP and not UDP or anything else. http://en.wikipedia.org/wiki/Comparison_of_proxifiers

– Ambroz Bizjak – 2012-07-31T08:53:47.333

Answers

1

Don't do this. SSH uses TCP, so you end up with a TCP over TCP problem.

Spiff

Posted 2012-07-30T19:39:42.207

Reputation: 84 656

Thanks, interesting. Guess I should use OpenVPN (already uses TLS) instead of VPN over SSh. – stefan.at.wpf – 2012-07-30T20:21:01.050