Archive for the ‘Proxmox’ Category

Setting up TailScale on a Promox LXC

Monday, January 27th, 2025

Create a Ubuntu LXC on Ubuntu 24.04

Configure PVE for access the /dev/tun

/etc/pve/lxc/106.conf
lxc.cgroup2.devices.allow: c 10:200 rwm
lxc.mount.entry: /dev/net/tun dev/net/tun none bind,create=file

Install tail Scale
apt-get update

apt-get install -y curl

curl -fsSL https://pkgs.tailscale.com/stable/ubuntu/noble.noarmor.gpg | tee /usr/share/keyrings/tailscale-archive-keyring.gpg >/dev/null

curl -fsSL https://pkgs.tailscale.com/stable/ubuntu/noble.tailscale-keyring.list | tee /etc/apt/sources.list.d/tailscale.list

apt-get update

apt-get install -y tailscale

tailscale up –auth-key=tskey-auth-xxxxxxxxxxxxxxx –advertise-exit-node –advertise-routes=192.168.3.0/24

tailscale ip -4

Advertise Subnet Routes
echo ‘net.ipv4.ip_forward = 1’ | sudo tee -a /etc/sysctl.d/99-tailscale.conf
echo ‘net.ipv6.conf.all.forwarding = 1’ | sudo tee -a /etc/sysctl.d/99-tailscale.conf
sudo sysctl -p /etc/sysctl.d/99-tailscale.conf

Upgrading Promox

Sunday, January 26th, 2025

https://pve.proxmox.com/pve-docs/pve-admin-guide.html#system_software_updates
??https://pve.proxmox.com/pve-docs/pve-admin-guide.html#sysadmin_package_repositories

apt-get update

apt-get dist-upgrade