Skip to content

hojulian/tailscale-relay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

tailscale-relay

This is a docker image based on alpine:3.12 for setting up a tailscale instance in relay mode.

Prerequisites

  • Defined docker network via docker network create -d bridge <network name>
  • Subnet network via docker inspect <NETWORK ID> | grep Subnet
  • Auth key from https://login.tailscale.com/admin/authkeys (e.g. tskey-123abc...)

Requirements

  • --cap-add=NET_ADMIN
  • Volume for persistent storage /tailscale

Use

Run the following docker run command.

  • AUTHKEY=tskey-123abc...
  • ROUTES=172.31.0.0/16
docker run -d \
    -v /tailscale \
    --cap-add=NET_ADMIN \
    --network=<docker_net> \
    -e "ROUTES=<docker_network>" \
    -e "AUTHKEY=<your_auth_key>" \
    xumr0x/tailscale-relay:latest

Find this image on Docker Hub

About

Tailscale docker image in relay mode

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published