differencies between openVPN and openSSH

Need help configuring your VPN? Just post here and you'll get that help.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
cucu
OpenVpn Newbie
Posts: 1
Joined: Fri Dec 18, 2009 7:23 am

differencies between openVPN and openSSH

Post by cucu » Fri Dec 18, 2009 1:11 pm

hello, as I read, it is possible create a layer 3 tunnel with openSSH, wich is the difference between this and an TUN with openVPN?

thanks. Regards

User avatar
krzee
Forum Team
Posts: 728
Joined: Fri Aug 29, 2008 5:42 pm

Re: differencies between openVPN and openSSH

Post by krzee » Sun Dec 20, 2009 11:29 pm

when you do it with openssh you create a socks proxy which you can reach via (normally) 127.0.0.1.
when you do it with openvpn you create a fully functional tunnel, which you can route some subnets or all internet connections over. you are also able to tunnel entire lans over it. With openvpn you get a virtual interface, with the option to tunnel ethernet (tap) OR ip traffic (tun) over. You can run openvpn over UDP, which has a huge advantage over socks when you wish to tunnel TCP traffic over it (see: http://sites.inka.de/~bigred/devel/tcp-tcp.html (from openvpn manual)).
If your only desire is to tunnel your web browser through a secure host, use whatever makes you happy... but when your needs grow openvpn does WAY more than socks can.

You may enjoy reading: http://openvpn.net/index.php/open-sourc ... -principal

Basically, with openvpn you handle what you contact over the vpn with routing... with an ssh-tunnel you handle it on the application level by configuring your application to use the socks proxy.

Post Reply