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?
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!