Make STUN server mandatory if DERP embedded is enabled
This commit is contained in:
parent
8f5875efe4
commit
2e6687209b
3 changed files with 11 additions and 12 deletions
|
@ -69,14 +69,12 @@ derp:
|
|||
region_code: "headscale"
|
||||
region_name: "Headscale Embedded DERP"
|
||||
|
||||
# Enabled by default when embedded DERP is enabled. Listens in UDP at the configured address for STUN connections
|
||||
# to help on NAT traversal.
|
||||
# If DERP is enabled, but STUN is disabled you still need to input an external STUN server in the listen_addr field.
|
||||
|
||||
# Listens in UDP at the configured address for STUN connections to help on NAT traversal.
|
||||
# When the embedded DERP server is enabled stun_listen_addr MUST be defined.
|
||||
#
|
||||
# For more details on how this works, check this great article: https://tailscale.com/blog/how-tailscale-works/
|
||||
stun:
|
||||
enabled: true
|
||||
listen_addr: "0.0.0.0:3478"
|
||||
stun_listen_addr: "0.0.0.0:3478"
|
||||
|
||||
# List of externally available DERP maps encoded in JSON
|
||||
urls:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue