[Bug 298366] [NEW] network-manager openvpn can't setup tun

u-foka ufooka at gmail.com
Sat Nov 15 12:34:16 UTC 2008


Public bug reported:

Binary package hint: network-manager-openvpn

Hy!

I tryed to use openvpn with networkmanager and a tap interface
My problem was how openvpn (running as a regular user) can't setup the new tap interface because /dev/net/tun has only write access by root.

The solution was really simple:
Added a new group identifying users who has acces to tun
# sudo addgroup --system tunusers
Added myself into that group
# sudo adduser u-foka tunusers
Changed the last line in /etc/udev/rules.d/20-names.rules to add rw rights to that group on tun
The original line: KERNEL=="tun",                          NAME="net/%k"
My new one: KERNEL=="tun",                          NAME="net/%k",  GROUP="tunusers",       MODE="660"

I reported this to help others can't use it, and maybe someone may
release a bugfix. I say someone because I don't known ho is responsive
of this. Because this isn't part of network-manager-openvpn.

Thanks!
u-foka

P.S.: I'm using an up-to-date Intrepid installed from the release disc.

** Affects: network-manager-openvpn (Ubuntu)
     Importance: Undecided
         Status: New

-- 
network-manager openvpn can't setup tun
https://bugs.launchpad.net/bugs/298366
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list