diff --git a/conf/openvpn-server-config.tpl b/conf/openvpn-server-config.tpl index a6346b44..31406646 100644 --- a/conf/openvpn-server-config.tpl +++ b/conf/openvpn-server-config.tpl @@ -14,9 +14,9 @@ keysize {{ .Keysize }} auth {{ .Auth }} dh {{ .Dh }} -server 10.8.0.0 255.255.255.0 +server {{ .Server }} ifconfig-pool-persist {{ .IfconfigPoolPersist }} -push "route 10.8.0.0 255.255.255.0" +push "route {{ .Server }}" push "dhcp-option DNS 8.8.8.8" push "dhcp-option DNS 8.8.4.4"