Create a TAP Device in LXC

deranjer

Active Member
Dec 28, 2010
50
1
28
I need to create a TAP device for my SoftEther VPN software to work correctly (as far as I can tell). I see a tun of tutorials on how to create an TUN device on LXC containers, and I can do that no problem, but I am unable to create a TAP device. I basically tried editing the TUN instructions and changing the autodev options to TAP, but that doesn't show when I run "ifconfig". Does anyone know how to create a TAP device in LXC?
 
I need to create a TAP device for my SoftEther VPN software to work correctly (as far as I can tell). I see a tun of tutorials on how to create an TUN device on LXC containers, and I can do that no problem, but I am unable to create a TAP device. I basically tried editing the TUN instructions and changing the autodev options to TAP, but that doesn't show when I run "ifconfig". Does anyone know how to create a TAP device in LXC?

Look here:

https://blog.felixbrucker.com/2015/10/01/how-to-enable-tuntap-inside-lxc/

works for both tun and tap.
 

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!