0
0
mirror of https://github.com/vx3r/wg-gen-web.git synced 2025-09-11 12:24:27 +00:00

PreUp, PostUp, PreDown, PostDown added

This commit is contained in:
vx3r
2020-02-05 11:57:43 +09:00
parent 727b5c4049
commit 26dec5ce7a
4 changed files with 28 additions and 0 deletions

View File

@ -217,6 +217,10 @@ Address = {{.}}
{{end}}
ListenPort = {{.Server.ListenPort}}
PrivateKey = {{.Server.PrivateKey}}
PreUp = {{.Server.PreUp}}
PostUp = {{.Server.PostUp}}
PreDown = {{.Server.PreDown}}
PostDown = {{.Server.PostDown}}
{{$server := .Server}}
{{range .Clients}}
{{if .Enable}}