Skip to content
/ derp Public

Tailscale custom DERP server Dockerfile and configs.

Notifications You must be signed in to change notification settings

mchlwong/derp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

About this repo

Tailscale custom DERP server Dockerfile and configs.

Build command

docker build --no-cache --tag derp:version .

Docker command

In case you want to use "-verify-clients", add "-e DERP_VERIFY_CLIENTS=true" and "-v /var/run/tailscale/tailscaled.sock:/var/run/tailscale/tailscaled.sock".

docker run -d \
--name derp \
--restart=always \
-e DERP_DOMAIN=your.domain.name \
-p 10443:443 \
-p 3478:3478/udp \
-v /etc/letsencrypt/live/your.domain.name/fullchain.pem:/cert/your.domain.name.crt \
-v /etc/letsencrypt/live/your.domain.name/privkey.pem:/cert/your.domain.name.key \
derp:latest

Tailscale admin ACLs

"derpMap": {
  "OmitDefaultRegions": true,
  "Regions": { "900": {
    "RegionID": 900,
    "RegionCode": "myderp",
    "Nodes": [{
        "Name": "1",
        "RegionID": 900,
        "HostName": "your.domain.name",
        "DERPPort": 10443
    }]
  }}
}

About

Tailscale custom DERP server Dockerfile and configs.

Topics

Resources

Stars

Watchers

Forks