Linux

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...

Wireguard Client Connect to Server

apt install wireguard Since we’re only connecting back to our VPN Server, we need to create a file where we will store our VPN profile information. To be clear, this is generated on the VPN server side. We are only copying the contents of the file so that we can...

Continue reading...

Install Tuned for max performance

Update and install tuned: Code: apt-get update apt-get install tuned tuned-gtk tuned-utils tuned-utils-systemtap reboot List of useful tuned commands: Code: tuned-adm active tuned-adm list tuned-adm recommend tuned-adm verify tuned Recommended for performance: Code: tuned-adm profile latency-performance

Continue reading...