1
0
mirror of https://github.com/flant/ovpn-admin.git synced 2025-01-23 18:02:55 +02:00

7 lines
227 B
Smarty
Raw Normal View History

2020-10-29 13:50:19 +03:00
{{- if (ne .ClientAddress "dynamic") }}
2021-03-22 13:37:26 +03:00
ifconfig-push {{ .ClientAddress }} 255.255.255.0
2020-10-29 13:50:19 +03:00
{{- end }}
{{- range $route := .CustomRoutes }}
2020-11-20 19:11:58 +03:00
push "route {{ $route.Address }} {{ $route.Mask }}" # {{ $route.Description }}
2020-10-29 13:50:19 +03:00
{{- end }}