---
title: "Using OPNsense with Tailscale · Tailscale Docs"
description: "!https://tailscale.com/kb/1097/install-opnsense"
date: 2024-12-03
published: true
tags:
  - infra
  - linux
  - opnsense
  - tailscale
  - thought
template: link
---


<div class="embed-card embed-card-external">
  <a href="https://tailscale.com/kb/1097/install-opnsense" class="embed-card-link" target="_blank" rel="noopener noreferrer">
    <div class="embed-card-image">
      <img src="https://tailscale.com/files/images/og-image.png" alt="Using OPNsense with Tailscale · Tailscale Docs — Set up a Tailscale VPN on OPNsense. Get secure communication across your devices without the need for complex configuration." loading="lazy">
    </div>
    <div class="embed-card-content">
      <div class="embed-card-title">Using OPNsense with Tailscale · Tailscale Docs</div>
      <div class="embed-card-description">Set up a Tailscale VPN on OPNsense. Get secure communication across your devices without the need for complex configuration.</div>
      <div class="embed-card-meta">Tailscale &middot; tailscale.com</div>
    </div>
  </a>
</div>


On reboot of my opnsense router it did not tailscale up.  I'm not sure if a key expired or what happened.  The fix was to first enable ssh, then ssh in and run tailscale up.

## enable ssh

In opnsense System > Settings > Administration > Secure Shell > Enable Secure Shell

## tailscale up

``` bash
ssh <opnsense ip>
8 # to select shell
tailscale up
```

Follow the link to log in.

## disable ssh

now uncheck secure shell to lock down the opnsense machine.


In opnsense System > Settings > Administration > Secure Shell > Enable Secure Shell

