I'm trying to configure AirVPN Suite on an unprivileged LXC container. It uses a daemon, bluetit.service, to start the VPN connection. I've added the following to the LXC configuration:
And set the appropriate permissions:
The connection fails with the following messages:
The tun adapter is mapped and the permissions look fine. Any idea what could be causing this? Thanks.
Code:
lxc.cgroup2.devices.allow: c 10:200 rwm
lxc.mount.entry: /dev/net dev/net none bind,create=dir
And set the appropriate permissions:
Code:
chown 100000:100000 /dev/net/tun
The connection fails with the following messages:
Code:
Sep 30 00:40:49 test bluetit: TUN Error: tun_tx_queue_len_error: Operation not permitted
Sep 30 00:40:49 test bluetit: EVENT: TUN_SETUP_FAILED [FATAL ERROR] tun_tx_queue_len_error: Operation not permitted
Sep 30 00:40:49 test bluetit: ERROR: TUN_SETUP_FAILED
The tun adapter is mapped and the permissions look fine. Any idea what could be causing this? Thanks.