Hi, I recently discovered systemd-nspawn, and decided to experiment it. The goal is to replace my usual virtual machine (virtualbox)... I use Archlinux as host, and in the container.
I start it with :
Code:
sudo systemd-nspawn -b -D ~/arch-mux/
Then, I log in with a non-root user (which is sudoer), and to connect my vpn I type :
Code:
sudo openvpn --config my_vpn.ovpn
And it fails with this error message :
Quote:
Fri May 22 14:18:31 2020 ERROR: Cannot ioctl TUNSETIFF tun: Operation not permitted (errno=1)
Fri May 22 14:18:31 2020 Exiting due to fatal error
|
I don't understand why this is happenning since I start my container with sudo, and start openvpn with sudo... everything is root, so ?
Thank you by advance