When I had Proxmox 7.x, I also used Wireguard in LXC. I always set it accordingly. In the summer of 2023, I switched to Proxmox 8.x and forgot to do this setting, and Wireguard still works in LXC. Is it necessary to do this setting only for OpenVPN, or also for Wireguard? Someone answered on redit that this step must not be taken.
Quote
Quote
Please don't do this. Giving full access to the group 10:200 allows the LXC container access, and change to *all* the tunnel devices on the host. This is a potential major security issue unless you need the LXC to have management access to interfaces on the host or other containers and understand what you are doing.lxc.mount.entry: /dev/net dev/net none bind,create=dir
lxc.cgroup2.devices.allow: c 10:200 rwm