/dev/net/tun:\ncrw-rw-rw-. 1 root root 10, 200 Feb 5 08:22 /dev/net/tun setup...... add user testuser1 Test with root user: Running "tunctl -n -t tun_a" Set 'tun_a' persistent and owned by uid 0 Running "check_dev tun_a" Running "ifconfig tun_a" Running "ifconfig tun_a" tun_a: flags=4240 mtu 1500 unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 txqueuelen 500 (UNSPEC) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 Running "ifconfig tun_a up" Running "ifconfig tun_a up" interface tun_a exists and upped. Running "tunctl -p -t tap_a" Set 'tap_a' persistent and owned by uid 0 Running "check_dev tap_a" Running "ifconfig tap_a" Running "ifconfig tap_a" tap_a: flags=4098 mtu 1500 ether 1e:84:a5:94:13:23 txqueuelen 1000 (Ethernet) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 Running "ifconfig tap_a up" Running "ifconfig tap_a up" interface tap_a exists and upped. Running "tunctl -n -t tun_b -u testuser1" Set 'tun_b' persistent and owned by uid 1001 Running "tunctl -p -t tap_b -g testuser1" Set 'tap_b' persistent and owned by gid 1001 Test with non root user: testuser1 Running "/usr/sbin/tunctl -n -t tun_an" as testuser1 -bash: line 1: /usr/sbin/tunctl: No such file or directory Create tun interface failed, return code is 127. Running "/usr/sbin/tunctl -p -t tap_an" as testuser1 -bash: line 1: /usr/sbin/tunctl: No such file or directory Create tap interface failed, return code is 127.