Connect to Your Dappnode Using Tailscale
Tailscale is a secure, peer-to-peer VPN solution that simplifies connecting to your Dappnode without requiring complex port forwarding, solving issues such as UPnP not being recognized, routers behind CGNAT, or other port forwarding challenges. This guide walks you through setting up Tailscale to access your Dappnode.
Using Tailscale is an excellent alternative if you're experiencing issues with UPnP, CGNAT, or port forwarding. It's easy to set up and ensures a seamless connection to your Dappnode.
Prerequisites
Before starting, ensure you have:
- Access to your Dappnode's Admin UI.
- A Tailscale account.
- Tailscale installed on the device you want to access your Dappnode from. Download here.
Setting Up Tailscale
1. Create an Auth Key
- Log in to Tailscale and navigate to Tailscale Admin Settings. Click on Generate auth key.
- Create a new auth key. Any name will work.
- Save the key for the next step. Do not share this key with anyone.
2. Install Tailscale on Your Dappnode
- Access your Dappnode's Admin UI
- Navigate to Dappstore and search for the
Tailscale
package. - Click Install
- Go to the Tailscale package in Packages tab and enter the auth key you created during installation.
Once installed, Tailscale will run as as any other package on your Dappnode. In order to connect to your Dappnode with Tailscale, this package will need to be running.
3. Configure Tailscale to Connect to Dappnode Internal Networks
a. Accept Advertised Routes from Your Dappnode
- Go to your Tailscale Machines Dashboard.
- Find your Dappnode device in the list of machines
- Open the "Edit Route Settings" modal and check the Subnet Route that appears.
b. Add a Custom Nameserver
- Go to your Tailscale DNS Admin Panel.
- Find the Nameservers section, click on "Add nameserver" and add a custom nameserver.
- Fill the popup with:
- Nameserver IP:
172.33.1.2
- Activate "Restrict to domain" switch.
- Set the domain as
dappnode
.
- Nameserver IP:
That's it! You've successfully configured Tailscale to connect to your Dappnode. All that's left is to install Tailscale on the device you want to access your Dappnode from.
4. Connecting to Dappnode with Tailscale
macOS
- Open tailscale app in your finder
- Go to the top bar and click the tailscale logo (9 dots)
- Activate the switch to connect.
Linux
- Open up a terminal and run the following command:
sudo tailscale up --accept-routes
-
If it's your first time using Tailscale in this device, a browser window may open asking to connect this device to your Tailscale account. Click on "Connect". That's it! You're now connected to your Dappnode.
-
To stop Tailscale in any moment, run the following command:
sudo tailscale down
Having trouble using Tailscale on Linux? Check out the Tailscale Linux documentation for more information.
Windows
- Once installed, Tailscale's icon will appear in your system tray. Click on it.
- If it's your first time using Tailscale in this device, a browser window may open asking to connect this device to your Tailscale account. Click on "Connect". That's it! You're now connected to your Dappnode.
- To disconnect tailscale, right click on the icon on the system tray and log out or exit the application.
Having trouble using Tailscale on Windows? Check out the Tailscale Windows documentation for more information.
Android
- Open your Tailscale app
- Connect to your dappnode by clicking on the "Connect" button.
If you encounter any issues or need further assistance, refer to Dappnode's Discord, the Dappnode Community Forums, or Tailscale Support.