Tunnel all traffic through SSH?

6,716

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

Share:
6,716

Related videos on Youtube

Polos
Author by

Polos

Updated on September 18, 2022

Comments

  • Polos
    Polos almost 2 years

    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?

    • Dennis
      Dennis almost 12 years
      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.
    • Polos
      Polos almost 12 years
      Hmm after thinking more about it: Shouldn't I be able to use VPN and tunnel this over SSH?
    • Dennis
      Dennis almost 12 years
      You can do that, but SSH VPNs aren't as good as "normal" (PPTP) VPNs. Here's a complete setup guide for the latter.
    • Ambroz Bizjak
      Ambroz Bizjak almost 12 years
      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. en.wikipedia.org/wiki/Comparison_of_proxifiers
    • Piper McCorkle
      Piper McCorkle over 9 years
      But... then SSH gets tunneled over SSH and your computer explodes! (results may vary)
  • Polos
    Polos almost 12 years
    Thanks, interesting. Guess I should use OpenVPN (already uses TLS) instead of VPN over SSh.