Make STUN run by default when embedded DERP is enabled
This commit also allows to set an external STUN server, while running the embedded DERP server (without embedded STUN)
This commit is contained in:
parent
61440c42d3
commit
b8aad5451d
4 changed files with 21 additions and 12 deletions
|
@ -69,10 +69,13 @@ derp:
|
|||
region_code: "headscale"
|
||||
region_name: "Headscale Embedded DERP"
|
||||
|
||||
# If enabled, also listens in UDP at the configured address for STUN connections to help on NAT traversal
|
||||
# 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.
|
||||
#
|
||||
# For more details on how this works, check this great article: https://tailscale.com/blog/how-tailscale-works/
|
||||
stun:
|
||||
enabled: false
|
||||
enabled: true
|
||||
listen_addr: "0.0.0.0:3478"
|
||||
|
||||
# List of externally available DERP maps encoded in JSON
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue