# Append these lines to /etc/pve/lxc/.conf on the Proxmox host to # give an UNPRIVILEGED LXC access to /dev/net/tun (required for kernel # WireGuard inside the container). # # After editing, restart the container: # pct stop # pct start # # Verify inside the LXC: ls -l /dev/net/tun → should exist, crw-rw-rw- lxc.cgroup2.devices.allow: c 10:200 rwm lxc.mount.entry: /dev/net/tun dev/net/tun none bind,create=file 0 0 # (Optional) Proxmox features line you may want in the same config file: # features: keyctl=1,nesting=1