First stop your container via webinterface or CLI. replace with your ContainerID whenever i write $CTID

[email protected]:~# pct shutdown $CTID

and create a file autodev in the config directory of your LXC Container in /var/lib/lxc/$CTID

[email protected]:/var/lib/lxc/$CTID# cat autodev

#!/bin/bash

cd ${LXC_ROOTFS_MOUNT}/dev
mkdir net
mknod net/tun c 10 200
chmod 0666 net/tun 

[email protected]:/var/lib/lxc/$CTID# ls

autodev  config  rootfs

Append two lines in /etc/pve/lxc/$CTID.conf

lxc.cgroup.devices.allow: c 10:200 rwm
lxc.hook.autodev: /var/lib/lxc/$CTID/autodev This should be enough.

Start your container via CLI or WebInterface

[email protected]:~# pct start $CTID

When you start your openVPN you should see in ifconfig your tun device:

[email protected]:~# ifconfig grep tun
tun0      Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 This was tested with Proxmox VE 4.1 – pve-manager/4.1-13/cfb599fb

https://blog.cavebeat.org/2016/02/how-to-create-tuntap-devices-for-lxc-in-proxmoxve-4-1/