:new:新增客户端配置文件模板

This commit is contained in:
coward
2024-03-13 17:30:39 +08:00
parent 7c48551989
commit 91a1e61334
4 changed files with 16 additions and 3 deletions

11
template/wg.client.conf Normal file
View File

@@ -0,0 +1,11 @@
[Interface]
PrivateKey = {{ .PrivateKey|html }}
Address = {{ .IpAllocation|html }}
MTU = {{ .MTU }}
[Peer]
PublicKey = {{ .PublicKey|html }}
PresharedKey = {{ .PresharedKey|html }}
AllowedIPs = {{ .AllowedIPS|html }}
Endpoint = {{ .Endpoint|html }}:{{ .ListenPort|html }}
PersistentKeepalive = {{ .PersistentKeepalive|html }}