Files
dropshell-templates/tailscale-relay/config/service.env
j 1a61eec6ac
All checks were successful
Test and Publish Templates / test-and-publish (push) Successful in 14s
Add 24 files
2026-02-26 15:04:20 +13:00

36 lines
1.1 KiB
Bash

# Service settings for Tailscale Relay (LXC)
# (can also override anything in the template_info.env file to make it specific to this server)
# REQUIRED: Your Tailscale authentication key
# Get this from: https://login.tailscale.com/admin/settings/keys
# Can be reusable or one-time use
TAILSCALE_AUTH_KEY=
# REQUIRED: Network settings for the LXC container's static IP
# The container gets its own real IP on the host's physical network.
HOST_INTERFACE=eth0
STATIC_IP=192.168.0.50/24
GATEWAY=192.168.0.1
# Optional: DNS servers (comma-separated)
DNS_SERVERS="8.8.8.8,8.8.4.4"
# REQUIRED: Peer relay UDP port
# This is the port used by Tailscale's peer relay feature.
# Forward this UDP port on your router to the container's STATIC_IP.
RELAY_PORT=3478
# Optional: Custom hostname for this node
# If not set, will use the container name
TAILSCALE_HOSTNAME=
# Optional: Additional Tailscale arguments
# Examples:
# TAILSCALE_EXTRA_ARGS="--advertise-exit-node"
# TAILSCALE_EXTRA_ARGS="--accept-routes"
# TAILSCALE_EXTRA_ARGS="--advertise-routes=10.0.0.0/24"
TAILSCALE_EXTRA_ARGS=
# Server Settings
SSH_USER="dropshell"