<div dir="ltr"><div><div>I want to run a VPN software inside an lxc guest, but the required TUN/TAP device (/dev/net/tun) is missing in the container. Anyone knows how to enable this device ? Here is the definition XML:<br>
<br><domain type="lxc"><br>  <name>centos</name><br>  <memory unit="MiB">1024</memory><br>  <os><br>    <type>exe</type><br>    <init>/sbin/init</init><br>
  </os><br>  <devices><br>    <console type="pty"/><br>    <filesystem type="mount"><br>      <source dir="/virsh/centos"/><br>      <target dir="/"/><br>
    </filesystem><br>    <interface type="bridge"><br>      <source bridge="br0"/><br>      <model type="virtio"/><br>    </interface><br>  </devices><br></domain><br>
<br></div>Thanks<br></div>Yao<br></div>