diff --git a/states/openvpn_server/install.sls b/states/openvpn_server/install.sls index 5bf32eb..20525d9 100644 --- a/states/openvpn_server/install.sls +++ b/states/openvpn_server/install.sls @@ -5,5 +5,5 @@ openvpn-server-install: openvpn-server-ccd-dir: file.directory: - - name: /etc/openvpn/ccd/ - - mode: 0600 + - name: /etc/openvpn/ccd + - mode: 0755 diff --git a/states/openvpn_server/templates/vpn.conf.j2 b/states/openvpn_server/templates/vpn.conf.j2 index 0fe2d04..77cf34d 100644 --- a/states/openvpn_server/templates/vpn.conf.j2 +++ b/states/openvpn_server/templates/vpn.conf.j2 @@ -44,7 +44,7 @@ route {{ route.ip }} {{ route.netmask }} {{ route.hop }} {% for route in routes -%} push "route {{ route.ip }} {{ route.netmask }} {{ route.hop }}" {% endfor -%} -push "dhcp-option DNS {{ dns|join(" ") }}" +#push "dhcp-option DNS {{ dns|join(" ") }}" # IPv6 #server-ipv6 2a01:e0a:97:8311::/64