GitHub Page: https://github.com/1itt1eB0y/MyCollection/tree/master/docker/derper
If you want to run with -verify-clients option, you must volume /var/run/tailscale/tailscaled.sock.
Edit docker-compose.yml as you need, then run
docker-compose up -d
Notice:
Manual cert will search
<certdir>/<hostname>.crtand<certdir>/<hostname>.keyautomaticlly, copy a renamed copy, orln -Pyour Let's Encryptpemfiles tocrtandkey
https://tailscale.com/kb/1118/custom-derp-servers/#monitoring-custom-derps
wget https://raw.githubusercontent.com/1itt1eB0y/MyCollection/master/docker/derper/derpprobe
chmod 755 derpprobe
./derpprobe -derp-map http://127.0.0.1/testDERP.json -listen :1000
testDERP.json
You can copy and paste this json to Official ACL's derpMap section.
{
"Regions": {
"999": {
"RegionID": 999,
"RegionCode": "custom",
"RegionName": "My Custom Derp",
"Nodes": [{
"Name": "1",
"RegionID": 999,
"HostName":"derp.example.com",
"IPv4":"1.1.1.1",
"DERPPort": 443,
"STUNPort": 3478
}]
}
}
}
ACL EXAMPLE https://tailscale.com/kb/1118/custom-derp-servers/#step-2-adding-derp-servers-to-your-tailnet
{
// ... other parts of ACL/Policy JSON
"derpMap": {
"Regions": {
"999": {
"RegionID": 999,
"RegionCode": "custom",
"RegionName": "My Custom Derp",
"Nodes": [{
"Name": "1",
"RegionID": 999,
"HostName":"derp.example.com",
"IPv4":"1.1.1.1",
"DERPPort": 443,
"STUNPort": 3478
}]
}
}
}
}
Content type
Image
Digest
sha256:44b1535d9…
Size
52.6 MB
Last updated
3 days ago
docker pull 1itt1eb0y/derper