https://github.com/mchlwong/derp
Tailscale custom DERP server Dockerfile and configs.
https://github.com/mchlwong/derp
derp tailscale
Last synced: 3 months ago
JSON representation
Tailscale custom DERP server Dockerfile and configs.
- Host: GitHub
- URL: https://github.com/mchlwong/derp
- Owner: mchlwong
- Created: 2021-11-14T11:32:13.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-11-22T02:55:17.000Z (8 months ago)
- Last Synced: 2025-04-09T17:14:30.533Z (3 months ago)
- Topics: derp, tailscale
- Language: Dockerfile
- Homepage:
- Size: 9.77 KB
- Stars: 36
- Watchers: 1
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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".
```shell
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
```json
"derpMap": {
"OmitDefaultRegions": true,
"Regions": { "900": {
"RegionID": 900,
"RegionCode": "myderp",
"Nodes": [{
"Name": "1",
"RegionID": 900,
"HostName": "your.domain.name",
"DERPPort": 10443
}]
}}
}
```