Skip to main content

Wireguard im LXC Container

1.

apt update && apt upgrade -y

 

2.

do-release-upgrade

 

3.

Befehle in Proxmox Shell!!! (https://pve.proxmox.com/wiki/OpenVPN_in_LXC)

nano /etc/pve/lxc/xxx.conf

 

 

lxc.cgroup2.devices.allow: c 10:200 rwm

lxc.mount.entry: /dev/net dev/net none bind,create=dir

 

 

4.

chown 100000:100000 /dev/net/tun

 

 

5. https://github.com/Nyr/wireguard-install

 

wget https://git.io/wireguard -O wireguard-install.sh && bash wireguard-install.sh

 

6.

chmod +x wireguard-install.sh

 

./wireguard-install.sh