lima-city: Webhosting, Domains und Cloud
0 Pluspunkte 0 Minuspunkte

Wie kann ich ein Tun Interface auf Ubuntu 22.04 Container in Proxmox erstellen? Ich bekomme diese Fehlermeldung

root@openvpn:~# bash openvpn-install.sh 
The system does not have the TUN device available.
TUN needs to be enabled before running this installer.
root@openvpn:~#
von  

1 Antwort

0 Pluspunkte 0 Minuspunkte

Du kannst in deiner Container Konfiguration (auf Proxmox) unter 

/etc/pve/lxc/<container-id>.conf

diese Zeilen einfügen.

lxc.cgroup2.devices.allow = c 10:200 rwm
lxc.mount.entry = /dev/net/tun dev/net/tun none bind,create=file
von (686 Punkte)