1
0
Fork 0
mirror of synced 2024-11-22 16:55:35 -05:00
ovpn-admin/templates/ccd.tpl

7 lines
227 B
Smarty
Raw 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 }}