Re: (pre-)creation of tunnel network interfaces

2016-02-26 Thread Ludovic Courtès
Alex Kost skribis: > (operating-system > ;; ... > (services (cons* (vpn-tunnel-service "vpn0" "dannym") >;; ... >%desktop-services))) Heh, nice stuff. :-) Ludo’.

Re: (pre-)creation of tunnel network interfaces

2016-02-26 Thread Alex Kost
Danny Milosavljevic (2016-02-26 01:44 +0300) wrote: > Hi, > > I'm using openconnect to connect to a few VPNs. > > Most of openconnect actually doesn't require root. > In order to avoid root, I'd like to pre-create the tunnel interfaces. > > This would be done by > > # ip tuntap add vpn0 mode tun

(pre-)creation of tunnel network interfaces

2016-02-25 Thread Danny Milosavljevic
Hi, I'm using openconnect to connect to a few VPNs. Most of openconnect actually doesn't require root. In order to avoid root, I'd like to pre-create the tunnel interfaces. This would be done by # ip tuntap add vpn0 mode tun user dannym ^ ^--- this is the us