Socksify like program for Fedora?

Socksify, tsocks, proxycommand in ssh, they're great softwares/solutions that can be used to "constrain" given apps to use a SOCKS5 proxy (what was created with an SSH TUNNEL). Even if the given apps doesn't support to use SOCKS5.

But: Are there any solutions to use an SSH Tunnel to "constrain" all the traffic on a PC to it? So it would be like some "kind of a VPN solution". So all the traffic from the PC would go through only in the SSH Tunnel.

Are there any solutions for this? It would be a very-very-very good feature.

p.s.: because installing OpenVPN vs. Installing SSHD+restrict a ssh user to only have "ssh tunneling" permissions is much simpler...

Thank you.


Just found a new solution for this recently that is REALLY neat. Take a look at sshuttle.


  • Thanks for mentioning sshuttle, +1 Jun 3 '11 at 1:42
  • I wonder that are there any ports to win7? :D (Linux user:P) Jun 3 '11 at 6:46

You can build VPN-like tunnels with SSH. The concept is essentially, connect your external network interface via ssh to some target machine. Create an internal only network interface. Change routing so that all traffic goes over the internal interface and hence out via the external tunnel.

Here's one tutorial,


and a more complex one,


and another,


  • thank you, but I think you're solution is TCP over TCP. sshuttle isn't tcp over tcp afaik. Jun 18 '11 at 8:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.