application using tap/pty driver

Hans-Werner Hilse hilse at
Wed Jul 20 03:28:27 PDT 2005


On Wed, 20 Jul 2005 11:47:36 +0200
Marcin Jessa <lists at 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...


More information about the Users mailing list