Welcome Guest. Please Login or Register  


You are here: Index > Virtualizor - Virtual Server Control Panel > General Support > Topic : Have any options for enable TUN/TAP for LXC Container



Normal Mode | Print  

Have any options for enable TUN/TAP for LXC Container
epadicom
Group: Member
Post Group: Newbie
Posts: 16
Status:
We are using LXC as OpenVZ instead.
To use a tun/tap device it must be created inside the container on every boot.
Simple add the following code to your /etc/rc.local inside before @exit:

Quote
if ! [ -c /dev/net/tun ]; then
mkdir -p /dev/net
mknod -m 666 /dev/net/tun c 10 200
fi


Thats it!

-----------------------
e-Padi.com hosting murah Indonesia

VPS Murah Indonesia, Register Domain, Dedicated Server Indonesia
Mobile/WhatsApp: +62811682661
IP: --   


Threads
 loveminds   Have any options for enable TUN/TAP for LXC Container (1 Replies, Read 15009 times)
    |--  epadicom   We are using...   on December 8, 2020, 4:52 pm

« Previous    Next »

Normal Mode | Print  



Users viewing this topic
2 guests, 0 users.


All times are GMT. The time now is December 5, 2026, 12:28 am.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 11  |  Page Created In:0.005