Is it possible to control a WiFi device from LXC container? (wifi pass trough)

rkk2025

Well-Known Member
Jul 11, 2018
34
4
48
33
Hi,
Is it possible to mount or pass a physical WiFi device to an LXC container, without bridging it? Basically being able to completely control a WiFi device from within an LXC container (Be able to connect to a WiFi network, spin up an AP, etc but from inside an LXC container).

From what I understand there is a "phys" option for a network type in LXC that should allow physical access to a network device . But this doesn't seem to be supported in Proxmox and manually adding the line just throws a permission exception:

lxc.net.5.type = phys
lxc.net.5.link = wlp4s0

Is there any way to make this work? Is this the right way to do it? With a privileged container that has cap_drop disabled and with an unconfined profile, what else could be causing the access denied exception?
 

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!