OpenVPN on LXC

mokaz

Member
Nov 30, 2021
85
17
13
Hi there all,

A few questions onto running OpenVPN within an LXC container on PVE.

- are the information's provided here still accurate for the latest PVE builds (8.3.x) ? https://pve.proxmox.com/wiki/OpenVPN_in_LXC
- on the same host, I'm passing through a /dev/ppp device, simply through "Resources >> Add Device Passthrough >> /dev/ppp" -- could that be applied to /dev/tun the same easy way ?

This is now more of a generic question but can one revert this command to it's default value without rebooting the PVE host?
Code:
chown 100000:100000 /dev/net/tun

Let me know,
Thanks
 
Last edited:
This is now more of a generic question but can one revert this command to it's default value without rebooting the PVE host?
Code:
chown 100000:100000 /dev/net/tun
Sure, just check what owner is used now with

Code:
$ ls -ln /dev/net/tun
crw-rw-rw- 1 0 0 10, 200 18. Nov 08:10 /dev/net/tun

and reset them manually with

Code:
chown 0:0 /dev/net/tun
 

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!