mirror of
https://github.com/ngoduykhanh/wireguard-ui.git
synced 2025-06-07 00:46:58 +03:00
Merge pull request #3 from systemcrash/Interface_Table_optional
Make Interface Table setting optional in wg.conf template.
This commit is contained in:
commit
88fe812523
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ 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}}
|
||||||
{{if .serverConfig.Interface.PostDown }}PostDown = {{ .serverConfig.Interface.PostDown }}{{end}}
|
{{if .serverConfig.Interface.PostDown }}PostDown = {{ .serverConfig.Interface.PostDown }}{{end}}
|
||||||
Table = {{ .globalSettings.Table }}
|
{{if .globalSettings.Table}}Table = {{ .globalSettings.Table }}{{end}}
|
||||||
|
|
||||||
{{range .clientDataList}}{{if eq .Client.Enabled true}}
|
{{range .clientDataList}}{{if eq .Client.Enabled true}}
|
||||||
# ID: {{ .Client.ID }}
|
# ID: {{ .Client.ID }}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue