mirror of
https://github.com/ngoduykhanh/wireguard-ui.git
synced 2025-06-07 00:46:58 +03:00
Make Interface PostDown setting optional in wg.conf template.
This commit is contained in:
parent
84d44d13a4
commit
c1de34116f
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ ListenPort = {{ .serverConfig.Interface.ListenPort }}
|
||||||
PrivateKey = {{ .serverConfig.KeyPair.PrivateKey }}
|
PrivateKey = {{ .serverConfig.KeyPair.PrivateKey }}
|
||||||
{{if .globalSettings.MTU}}MTU = {{ .globalSettings.MTU }}{{end}}
|
{{if .globalSettings.MTU}}MTU = {{ .globalSettings.MTU }}{{end}}
|
||||||
{{if .serverConfig.Interface.PostUp }}PostUp = {{ .serverConfig.Interface.PostUp }}{{end}}
|
{{if .serverConfig.Interface.PostUp }}PostUp = {{ .serverConfig.Interface.PostUp }}{{end}}
|
||||||
PostDown = {{ .serverConfig.Interface.PostDown }}
|
{{if .serverConfig.Interface.PostDown }}PostDown = {{ .serverConfig.Interface.PostDown }}{{end}}
|
||||||
Table = {{ .globalSettings.Table }}
|
Table = {{ .globalSettings.Table }}
|
||||||
|
|
||||||
{{range .clientDataList}}{{if eq .Client.Enabled true}}
|
{{range .clientDataList}}{{if eq .Client.Enabled true}}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue