@ -2,6 +2,12 @@
// SPDX-License-Identifier: BSD-3-Clause
// The derper binary is a simple DERP server.
//
// For more information, see:
//
// - About: https://tailscale.com/kb/1232/derp-servers
// - Protocol & Go docs: https://pkg.go.dev/tailscale.com/derp
// - Running a DERP server: https://github.com/tailscale/tailscale/tree/main/cmd/derper#derp
package main // import "tailscale.com/cmd/derper"
import (
@ -209,11 +215,16 @@ func main() {
io . WriteString ( w , ` < html > < body >
< h1 > DERP < / h1 >
< p >
This is a
< a href = "https://tailscale.com/" > Tailscale < / a >
< a href = "https://pkg.go.dev/tailscale.com/derp" > DERP < / a >
server .
This is a < a href = "https://tailscale.com/" > Tailscale < / a > DERP server .
< / p >
< p >
Documentation :
< / p >
< ul >
< li > < a href = "https://tailscale.com/kb/1232/derp-servers" > About DERP < / a > < / li >
< li > < a href = "https://pkg.go.dev/tailscale.com/derp" > Protocol & Go docs < / a > < / li >
< li > < a href = "https://github.com/tailscale/tailscale/tree/main/cmd/derper#derp" > How to run a DERP server < / a > < / li >
< / ul >
` )
if ! * runDERP {
io . WriteString ( w , ` <p>Status: <b>disabled</b></p> ` )