LXC/Docker VPN container fails to create /dev/net/tun on Proxmox 9.

samael205

New Member
Sep 12, 2025
1
0
1
Hello everyone,

I am writing to you because I recently bought a mini PC and installed Proxmox 9. I am trying to use my NordVPN VPN account through an LXC. In this LXC, there are six Docker services, including a tunnel service to pass the connection from one service through that tunnel.

Well, I configure all the services with Docker and install them, so far so good.

The problem arises when I try to start the tubelizavion service. This service has to connect to another service and pass all the information through that tunnel.

What is happening is that the tunneled service is unable to start because it cannot create a folder on the host, i.e., on the PVE.

Can anyone help me? I know this may be a bit advanced for my current level of Linux knowledge, but I need these services up and running.

I have tried the following on the host:

lsmod | grep tun

According to what I was told on Reddit, where I created this post but it was taken down, that statement should return something to me, but it returns nothing. I even completely reinstalled Proxmox to be sure. And if you're wondering whether I added the lines

lxc.cgroup2.devices.allow: c10:200 rwm
lxc.mount.entry: /dev/net/tun dev/net/tun none
bind,create=file

In these two lines, I am mounting the dev net tun folder in the one corresponding to the server.

The problem is that when I start gluetun, which is the Docker container that passes data through NordVPN, it fails to create the folder and throws an error saying that /dev/net/tun cannot be created.

Do you have any idea what is happening and how to fix it?