DragonFly users List (threaded) for 2005-07
Re: application using tap/pty driver
On Wed, 20 Jul 2005 11:47:36 +0200
Marcin Jessa <lists@xxxxxxxxx> wrote:
> So what is the difference in vtun and openvpn? Do they work the same way ?
> Reading info on their web sites it sounds like vtun does the same thing as openvpn ...
On a basic level, they do the same job, OTOH, openvpn is IMHO a little
bit more mature regarding the encryption infrastructure. Also, openvpn
supports transmitting the packets via TCP instead of UDP only.
But the thread starter asked for a good example of tun/tap usage, and
vtun has a good start point for this. I don't know the source of
openvpn, so I cannot speak for its code. but the thread starter found
it a little bit hard to understand quickly.
Actually the universal tun/tap-driver documentation explicitly mentions
the vtun software being a good example of the driver's usage.
The vpn client I'm using, vpnc, also re-uses code from vtun - namely
the tun/tap-Interface (OK, vpnc only uses tun...). So I guess it is a
good starting point for own projects...