mirror of
https://github.com/flant/ovpn-admin.git
synced 2025-01-05 10:40:52 +02:00
7 lines
227 B
Smarty
7 lines
227 B
Smarty
{{- if (ne .ClientAddress "dynamic") }}
|
|
ifconfig-push {{ .ClientAddress }} 255.255.255.0
|
|
{{- end }}
|
|
{{- range $route := .CustomRoutes }}
|
|
push "route {{ $route.Address }} {{ $route.Mask }}" # {{ $route.Description }}
|
|
{{- end }}
|