|
|
On Fri, 22 Apr 2005, Filipe Dias da Mota wrote: > Hello > > I experimented to establish a vpn with a user diferent than root but I > have the following error: > > Fri Apr 22 13:03:11 2005 TUN/TAP device tun0 opened > Fri Apr 22 13:03:11 2005 Note: Cannot set tx queue length on tun0: > Operation not permitted (errno=1) > Fri Apr 22 13:03:11 2005 /sbin/ifconfig tun0 192.168.70.70 pointopoint > 192.168.70.69 mtu 1500 > SIOCSIFADDR: Permission denied > SIOCSIFFLAGS: Permission denied > SIOCSIFDSTADDR: Permission denied > SIOCSIFFLAGS: Permission denied > SIOCSIFMTU: Operation not permitted > Fri Apr 22 13:03:11 2005 Linux ifconfig failed: shell command exited > with error status: 1 > > The question is, how I can establish a tunnel with an user with no > priviege? OpenVPN is designed to be started at root, but then drop privileges after initialization. I think you may have problems starting as non-root, because OpenVPN is going to need to ifconfig the tun/tap interface, set routes, etc. James ____________________________________________ Openvpn-users mailing list Openvpn-users@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/openvpn-users |