openvpn-as lxc
Posted: Fri Jan 30, 2026 2:35 pm
on Proxmox host:
check kernel version
check headers exist
install kernel headers
install git
clone repositoty
Reboot
make and install module
reboot
Start LXC
. : Possible problem and solutions : .
Redo permissions
Previously I had module issues with the LXC after a restore, appending the following to the end of the lxc.conf resolved the issue.
credit:
https://pve.proxmox.com/wiki/OpenVPN_in_LXC
https://github.com/OpenVPN/ovpn-dco#
check kernel version
Code: Select all
uname -rCode: Select all
sudo apt search proxmox-headers-6.17.4-2-pveCode: Select all
sudo apt install proxmox-headers-6.17.4-2-pveCode: Select all
sudo apt install git -yCode: Select all
git clone https://github.com/OpenVPN/ovpn-dco.gitmake and install module
Code: Select all
cd ovpn-dco && sudo make && sudo make installStart LXC
. : Possible problem and solutions : .
Redo permissions
Code: Select all
chown 100000:100000 /dev/net/tunCode: Select all
lxc.cgroup2.devices.allow: c 10:200 rwm
lxc.mount.entry: /dev/net dev/net none bind,create=dirhttps://pve.proxmox.com/wiki/OpenVPN_in_LXC
https://github.com/OpenVPN/ovpn-dco#