Skip to main content

Installation + Config

Installing Tailscale is made simple with OPNsense, and only 2 items are required to successfully install the service:

  1. Console Access to router (SSH)
  2. Internet Connection

SSH into your OPNsense router console, enter "8" to select the shell option. Then run the command to download or update the ports tree:

console.png

opnsense-code ports

Run it twice to make sure the most current and up-to-date version is downloaded. Then change directories and run the command to install Tailscale:

image.png

cd /usr/ports/security/tailscale
make install

Run the following commands to enable the tailscaled service and check for the version to ensure its installed:

service tailscaled enable
service tailscaled start

Check version with:

tailscale version

image.png

Run the command to add the OPNsense router as a node on your tailnet:

tailscale up

The output will provide you an authentication link to enter in your browser

Open your OPNsense router Web GUI to assign the interface and lock it to prevent removal:

image.png

Your installation of tailscale is complete! Your next step should be to set up port mapping. See next page