How to find a tun device for an active VPN connection



I'm looking for a way how to find out which tun device is used for a certain active VPN connection. Right now when you check device property of an active VPN connection it shows the device used by the regular connection which is used as a base for that VPN connection (eg. wifi device or ethernet). I was talking with Jiří Klímeš about this long time ago and he started working on this [1], but it was never finished because there was someone else working on a better approach. So is it finally possible to match VPN connections with tun devices or the work is still in progress? We would like to have this information for traffic monitoring in our KDE NM applet.


[1] -


Thanks for your help.





Jan Grulich <jgrulich redhat com>

Software Engineer, Desktop team

Red Hat Czech

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]