SSH into your LXC container.
You will have to add a few lines to the linux boot file so that it executes the tun/tap device on every boot.
Go to the
/etc/rc.local file and add these lines of code before the @exit line.
if ! [ -c /dev/net/tun ]; then
mkdir -p /dev/net
mknod -m 666 /dev/net/tun c 10 200
Now after a full reboot you should have a working tun/tap interface so you can install OpenVPN on your LXC Container.
To edit CentOS file you can use:
When done editing in Vim, it is important to hit Esc key to exit the edit mode. And then save and exit with:
:wq (yes, the colon is included in the command)