curl -fsSL https://tailscale.com/install.sh | sh
# or
# bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/misc/add-tailscale-lxc.sh
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
sudo tailscale up --advertise-routes=192.168.0.0/16
Install tailscale in an lxc container and set to Start at boot (bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/misc/add-tailscale-lxc.sh)" -s 106 )
In the lxc container, set tailscale up --advertise-routes=192.168.0.0/16, and review it in the admin console.
In the client side (Your local machine, MacOS for example), set sudo tailscale up --accept-routes