wireguard-dashboard/template/conf/wg.client.conf

14 lines
398 B
Plaintext
Raw Normal View History

2024-07-05 14:41:35 +08:00
[Interface]
PrivateKey = {{ .PrivateKey|html }}
Address = {{ .IpAllocation|html }}
{{ if .DNS }}DNS = {{ .DNS|html }}
MTU = {{ .MTU }}
{{ else }}MTU = {{ .MTU }}{{ end }}
[Peer]
PublicKey = {{ .PublicKey|html }}
PresharedKey = {{ .PresharedKey|html }}
AllowedIPs = {{ .AllowedIPS|html }}
Endpoint = {{ .Endpoint|html }}:{{ .ListenPort|html }}
PersistentKeepalive = {{ .PersistentKeepalive|html }}