HUB
Sign inSign up

zhj9709/ip-derper

By zhj9709

•Updated over 1 year ago

Image
0

1.8K

zhj9709/ip-derper repository overview

⁠Setup

docker run -d --name ip-derper -p 50443:443 -p 3478:3478/udp zhj9709/ip-derper
envrequireddescriptiondefault value
DERP_CERT_DIRfalsedirectory to store LetsEncrypt certs(if addr's port is :443)/app/certs
DERP_ADDRfalselistening server address:443
DERP_STUNfalsealso run a STUN servertrue
DERP_STUN_PORTfalseThe UDP port on which to serve STUN.3478
DERP_HTTP_PORTfalseThe port on which to serve HTTP. Set to -1 to disable-1
DERP_VERIFY_CLIENTSfalseverify clients to this DERP server through a local tailscaled instancefalse

⁠Usage

inserts this into tailscale ACLs: https://login.tailscale.com/admin/acls⁠

"derpMap": {
    "Regions": {
        "900": {
            "RegionID": 900,
            "RegionCode": "my_private_derper",
            "Nodes": [
                {
                    "Name": "1",
                    "RegionID": 900,
                    "HostName": "YOUR_SERVER_IP",
                    "IPv4": "YOUR_SERVER_IP",
                    "InsecureForTests": true,
                    "DERPPort": 50443
                }
            ]
        }
    }
}

⁠Github

Tag summary
Recent tags
Content type
Image
Digest
sha256:3c85c75e7…
Size
16.2 MB
Last updated
over 1 year ago
docker pull zhj9709/ip-derper:latest