Files
Arch1Panel/apps/tailscale-derp/README_en.md
2026-04-01 18:38:58 +08:00

1.8 KiB

Tailscale Derp

Tailscale DERP relay server with complete configuration, including coexistence of tailscale and derper.

Features

  • Complete tailscale and derper coexistence configuration
  • Supports client verification to prevent abuse
  • Low resource consumption, simple deployment
  • Supports multiple architectures (amd64, arm64, arm/v7)

Usage

Default Ports

  • TCP: 43443
  • UDP: 43478

Login Guide

After deployment, you need to get the tailscale login link:

# Check tailscale container logs for login link
docker logs -f <container-name>-tailscale

Find the login link in the logs similar to:

To authenticate, visit:
        https://login.tailscale.com/a/xxxxxxx

Copy the link to browser and login to your Tailscale account.

Firewall Configuration

Ensure the following ports are open in the server firewall:

  • TCP 43443
  • UDP 43478

Tailscale ACL Configuration

Add the following configuration in the Access controls section of the Tailscale control panel:

{
  "derpMap": {
    "OmitDefaultRegions": false,
    "Regions": {
      "912": {
        "RegionID": 912,
        "RegionCode": "derper_self",
        "RegionName": "Derper Self",
        "Nodes": [
          {
            "Name": "derper_self",
            "RegionID": 912,
            "DERPPort": 43443,
            "STUNPort": 43478,
            "IPv4": "YOUR_SERVER_IP",
            "InsecureForTests": true
          }
        ]
      }
    }
  }
}

After saving, clients need to reconnect to get the new configuration.

Verify Deployment

Use the following command to verify the DERP server is working:

tailscale netcheck