network-manager openvpn can't setup tun
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
network-manager-openvpn (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: network-
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/
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-
Thanks!
u-foka
P.S.: I'm using an up-to-date Intrepid installed from the release disc.