ovpn-admin/templates/ccd.tpl

7 lines
227 B
Smarty
Raw Permalink Normal View History

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