summaryrefslogtreecommitdiffstats
path: root/modules/headscale/templates/config.yaml
blob: 134f331f4625af97aab68630fed9c88827b1bcfe (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
server_url: https://headscale.tozt.net
listen_addr: 0.0.0.0:8081
metrics_listen_addr: 0.0.0.0:9091
private_key_path: <%= @data_dir %>/private.key
noise:
  private_key_path: <%= @data_dir %>/noise_private.key
ip_prefixes:
  - fd7a:115c:a1e0::/48
  - 100.64.0.0/10
derp:
  server:
    enabled: true
    stun_listen_addr: 0.0.0.0:3478
    private_key_path: <%= @data_dir %>/derp_server_private.key
    ipv4: <%= @bind_address %>
disable_check_updates: true
db_type: sqlite3
db_path: <%= @data_dir %>/db.sqlite
dns_config:
  override_local_dns: false
  magic_dns: true
  base_domain: headscale.tozt.net