Hey Proxmox-community!
I set up a privileged LXC container with OpenWRT and gave it three network interfaces (one for LAN, one for WAN and one for WAN6). They're all virtual NICs. I know it's a little bit overkill, but here is my config:
I know that it's possible to give an unprivileged container certain privileges such as using certain devices. Does anyone know how I can do that?
No, I don't want to use a VM.
Kind regards
Grantelbart
Edit: In case you're wondering why I'm using two seperate interfaces for WAN and WAN6: I literally have to use TWO ISPs just to have IPv4 and IPv6 Dual Stack
I set up a privileged LXC container with OpenWRT and gave it three network interfaces (one for LAN, one for WAN and one for WAN6). They're all virtual NICs. I know it's a little bit overkill, but here is my config:
arch: amd64
cores: 6
features: nesting=1
hostname: openwrt-router
memory: 2048
onboot: 1
ostype: unmanaged
rootfs: local-zfs:subvol-150-disk-0,size=4G
swap: 2048
lxc.apparmor.profile: unconfined
lxc.net.0.type: phys
lxc.net.0.link: enp9s0f0v1
lxc.net.0.name: wan
lxc.net.0.flags: up
lxc.net.1.type: phys
lxc.net.1.link: enp9s0f0v3
lxc.net.1.name: wan6
lxc.net.1.flags: up
lxc.net.2.type: phys
lxc.net.2.link: enp9s0f0v0
lxc.net.2.name: lan
lxc.net.2.flags: up
I know that it's possible to give an unprivileged container certain privileges such as using certain devices. Does anyone know how I can do that?
No, I don't want to use a VM.
Kind regards
Grantelbart
Edit: In case you're wondering why I'm using two seperate interfaces for WAN and WAN6: I literally have to use TWO ISPs just to have IPv4 and IPv6 Dual Stack
Last edited: