added Post Up and Post Down configuration to server interface (#28)

This commit is contained in:
Jaryl Chng
2020-09-14 03:47:01 +08:00
committed by GitHub
parent d82da2fb35
commit b0ed08f19d
4 changed files with 22 additions and 2 deletions

View File

@@ -8,6 +8,8 @@ Address = {{$first :=true}}{{range .serverConfig.Interface.Addresses }}{{if $fir
ListenPort = {{ .serverConfig.Interface.ListenPort }}
PrivateKey = {{ .serverConfig.KeyPair.PrivateKey }}
MTU = {{ .globalSettings.MTU }}
PostUp = {{ .serverConfig.Interface.PostUp }}
PostDown = {{ .serverConfig.Interface.PostDown }}
{{range .clientDataList}}{{if eq .Client.Enabled true}}
# ID: {{ .Client.ID }}