wireguard.conf.templ 258 B

12345678910111213
  1. {{ define "wireguard.conf.templ" }}
  2. [Interface]
  3. PrivateKey = {{ .VpnClientPrivateKey }}
  4. Address = {{ .VpnClientAddress }}
  5. {{ range .Peers }}
  6. [Peer]
  7. PublicKey = {{ .Pubkey }}
  8. Endpoint = {{ .Address }}:{{ .Port }}
  9. AllowedIPs = 0.0.0.0/0
  10. {{ end }}
  11. {{ end }}