Post

Tailscale Install - Proxmox Container

Tailscale makes creating software-defined networks easy: securely connecting users, services, and devices.

Install Tailscale

1
curl -fsSL https://tailscale.com/install.sh | sh

Before Activation, configure IPv4 forwarding:

1
sudo nano /edit/sysctl.conf

Find and uncomment these two lines:

1
2
net.ipv4.ip_forward=1
net.ipv6.conf.all.forwarding=1

Shut down the container.

Modify the conf file for the container:

1
nano /etc/pve/lxc/xxx.conf

Add:

1
2
lxc.cgroup2.devices.allow: c 10:200 rwm
lxc.mount.entry: /dev/net/tun dev/net/tun none bind,create=file

Activate Tailscale

sudo tailscale up –advertise-routes=192.168.x.x/24,10.10.x.x/24 –advertise-exit-node

You will then be given a URL to activate the node.

This post is licensed under CC BY 4.0 by the author.