Use VPN LXC with docker and gluetun in other containers

daviid

New Member
Jul 9, 2024
1
0
1
I have a LXC container running Alpine Linux a Docker, I've setup gluetun and it's running without errors.

I have added

Code:
lxc.cgroup2.devices.allow: c 10:200 rwm
lxc.mount.entry: /dev/net dev/net none bind,create=dir
lxc.mount.entry: /dev/net/tun dev/net/tun none bind,create=file

to my /etc/pve/lxc/XXX.conf files for gluetun and qbittorrent containers.

However when I go to qbittorrent > Configuration > Advance > Network Interface I only see lo and eth0, no tun


How can I make the VPN connection available to othe LXCs?
 

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!