Tailscale on Truenas
TrueNAS SCALE really make it hard to install Tailscale but now that I've figured it out, I'll share it with everyone.
- Head to your TrueNAS dashboard and visit
System/Tunables
- Add a new Tunable with the following settings:
- Variable:
tailscaled_enable
- Value:
YES
- Type:
rc.conf
- Enabled: checked
- Variable:
- Click save
- Open a shell
Run the following commands to enable the
pkg
command and install tailscale:sed -ibak 's/enabled: yes/enabled: no/' /usr/local/etc/pkg/repos/local.conf sed -ibak 's/enabled: no/enabled: yes/' /usr/local/etc/pkg/repos/FreeBSD.conf pkg install tailscale
Start the Tailscale daemon and make sure it starts on reboots:
service tailscaled enable service tailscaled start
Login to Tailscale
tailscale up
Congratulations, you should now have Tailscale installed!
To make it so you can't install any other packages on your system again, run:
sed -ibak 's/enabled: no/enabled: yes/' /usr/local/etc/pkg/repos/local.conf
sed -ibak 's/enabled: yes/enabled: no/' /usr/local/etc/pkg/repos/FreeBSD.conf