参考 https://github.com/byxkbyxk/openvpn_as_crack 项目拿最新版本改的 (2023年12月份)
dpkg -i *.deb
cp pyovpn-2.0-py3.10.egg.crack /usr/local/openvpn_as/lib/python/pyovpn-2.0-py3.10.egg
reboot
/usr/local/openvpn_as/bin/ovpn-init
vim /etc/pve/lxc/104.conf
增加
lxc.cgroup.devices.allow: c 10:200 rwm
lxc.mount.entry: /dev/net dev/net none bind,create=dir
cgroup v1 v2 需要在启动项
vim /etc/default/grub
GRUB_CMDLINE_LINUX="systemd.unified_cgroup_hierarchy=0"
update-grub && reboot