mirror of
https://github.com/ngoduykhanh/wireguard-ui.git
synced 2025-06-07 00:46:58 +03:00
Make Interface Table setting optional in wg.conf template.
This commit is contained in:
parent
d5558fcf58
commit
4e7250f192
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 .serverConfig.Interface.PostUp }}PostUp = {{ .serverConfig.Interface.PostUp }}{{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}}
|
||||
# ID: {{ .Client.ID }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue