Tunnelblick deletes all the tun devices when disconnecting

46 views
Skip to first unread message

mp

unread,
Feb 8, 2012, 3:42:45 AM2/8/12
to tunnelbli...@googlegroups.com
Version details: Tunnelblick 3.2.3 (build 2891.2932)  -  OpenVPN 2.2.1

I installed also the tuntap_20111101.pkg software brcause I need to work with the tun/tap devices, but every time Tunnelblick deletes all the tun devices (created by the tuntap sw) on disconnection.

NOTE: tap devices are preserved.

Is there any way to get around this behaviour?

mp

jkbull...gmail.com

unread,
Feb 8, 2012, 6:58:25 AM2/8/12
to tunnelbli...@googlegroups.com
Yes. The tun and/or tap kexts are only unloaded by Tunnelblick if they were loaded by Tunnelblick.

Tun and tap are processed separately, which is why you see your "tap" devices being preserved -- you did not use Tunnelblick's tap device, so Tunnelblick didn't load or unload the tap device.

If you uncheck the "Use Tunnelblick tun/tap drivers" in the "Advanced" settings window, Tunnelblick will assume the tun/tap device(s) are already loaded and it will not load or unload them.

To control use of tun and tap devices separately, use the "*-doNotLoadTapKext" and "-doNotLoadTunKext" preferences (see https://code.google.com/p/tunnelblick/wiki/zPrefs).

If you only "need to work with the tun/tap devices" while there is a connection, or while a connection is being established or torn down, you can probably do that in a script -- see https://code.google.com/p/tunnelblick/wiki/cUsingScripts.

mp

unread,
Feb 27, 2012, 4:52:42 AM2/27/12
to tunnelblick-discuss
> If you uncheck the "Use Tunnelblick tun/tap drivers" in the "Advanced"
> settings window, Tunnelblick will assume the tun/tap device(s) are already
> loaded and it will not load or unload them.

Great! I will uncheck this option in all of my configurations (quite
boring).

Could what follows have sense?

Have this option (Use Tunnelblick tun/tap drivers) ALSO at application
level.
Then, at the level of a single configuration a three-option drop down
could be used: Use default, Use Tunnelblick tun/tap drivers, Don't use
Tunnelblick tun/tap drivers.

mp

jkbull...gmail.com

unread,
Feb 27, 2012, 6:41:48 AM2/27/12
to tunnelbli...@googlegroups.com
On Monday, February 27, 2012 4:52:42 AM UTC-5, mp wrote:
Have this option (Use Tunnelblick tun/tap drivers) ALSO at application 
level.
Then, at the level of a single configuration a three-option drop down
could be used: Use default, Use Tunnelblick tun/tap drivers, Don't use
Tunnelblick tun/tap drivers.


Thanks for your comments. Can you clarify what you mean by "at application level" and what the "Use default" setting should do? I'm a bit confused…

Reply all
Reply to author
Forward
0 new messages