SSH Tunneling – VPN-like Solution

linuxsockssshvpn

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.

Best Answer

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

https://github.com/apenwarr/sshuttle/

Related Question