config-example: add configuration for a dual-stack tailnet

This commit is contained in:
Csaba Sarkadi 2022-01-28 22:13:45 +01:00
parent e2f8c69e2e
commit bf7ee78324
1 changed files with 7 additions and 0 deletions

View File

@ -22,6 +22,13 @@ listen_addr: 0.0.0.0:8080
# autogenerated if it's missing # autogenerated if it's missing
private_key_path: /var/lib/headscale/private.key private_key_path: /var/lib/headscale/private.key
# List of IP prefixes to allocate tailaddresses from.
# Each prefix consists of either an IPv4 or IPv6 address,
# and the associated prefix length, delimited by a slash.
ip_prefixes:
- fd7a:115c:a1e0::/48
- 100.64.0.0/10
# DERP is a relay system that Tailscale uses when a direct # DERP is a relay system that Tailscale uses when a direct
# connection cannot be established. # connection cannot be established.
# https://tailscale.com/blog/how-tailscale-works/#encrypted-tcp-relays-derp # https://tailscale.com/blog/how-tailscale-works/#encrypted-tcp-relays-derp