container

IP Tunnel (GRE) in LXC proxmox Container

After container is created, you need to edit the configuration file to add the /dev/net/tun device. # pct config 123 arch: amd64 hostname: CT123 memory: 512 net0: name=eth0,bridge=vmbr0,firewall=1,hwaddr=FE:75:64:2A:A3:58,ip=dhcp,type=veth ostype: debian rootfs: local-lvm:vm-123-disk-0,size=4G features: nesting=1 swap: 512 unprivileged: 1 # nano /etc/pve/lxc/123.conf Add the following lines at the end (if you’re...

Continue reading...

WireGuard in Proxmox LXC

in Proxmox Host: apt update apt install pve-headers nano /etc/apt/sources.list deb http://deb.debian.org/debian buster-backports main Save. apt update apt install -t buster-backports wireguard-dkms modprobe wireguard echo “wireguard” >> /etc/modules-load.d/modules.conf In LXC Container: apt install wireguard or use piVPN curl -L https://install.pivpn.io | bash

Continue reading...