Unpriviliged LXC OpenVPN

Uzumymw

New Member
Oct 20, 2023
1
0
1
Hello,
based on wiki tutorial i've installed and configured OpenVPN server on unpriviliged LXC.
Everything works fine except for two problems:

1. In openvpn logs there are an note:
Code:
Cannot set tx queue length on tun0: Operation not permitted (errno=1)
unfortunately, I have no idea how to solve this

2. added iptables rule missing after container restart:
Code:
iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -o eth0 -j MASQUERADE
iptables-save
how can I fix it?