Docs / Install

Setting up Tailscale on OPNsense

OPNsense is an open source router and firewall platform built using FreeBSD. Tailscale can be installed on an OPNsense platform.

OPNsense is a community supported platform for Tailscale. GitHub user @newmy-de provided these instructions. Perform the following steps as root:

# opnsense-code ports
# cd /usr/ports/security/tailscale
# make install
# service tailscaled enable
# service tailscaled start
# tailscale up

Please make sure to run opnsense-code ports again even if you have done so previously, to update the ports tree to current versions. The version of Tailscale in the FreeBSD ports was updated in early January 2021, prior versions could experience a hang when bringing the interface up. Going forward, the community will update the port periodically.

Once started, Tailscale should appear in the list of interfaces in the OPNsense UI. It can be used in firewall rules and other OPNsense functions.

A screenshot of the OPNSense UI

Further reading

Setting up subnet routes and relay nodes may be particularly of interest for a router using OPNsense.

Last updated