diff --git a/Default.txt b/Default.txt old mode 100755 new mode 100644 diff --git a/scripts/makeOVPN.sh b/scripts/makeOVPN.sh index fce0adb..2bcd9c2 100755 --- a/scripts/makeOVPN.sh +++ b/scripts/makeOVPN.sh @@ -141,8 +141,8 @@ if [ -z "${NAME}" ]; then read -r NAME fi -if [[ "${NAME}" =~ [^a-zA-Z0-9] ]]; then - echo "Name can only contain alphanumeric characters." +if [[ "${NAME}" =~ [^a-zA-Z0-9\-] ]]; then + echo "Name can only contain alphanumeric characters and dashes (-)." exit 1 fi diff --git a/server_config.txt b/server_config.txt old mode 100755 new mode 100644 index 2eb0491..a5099b2 --- a/server_config.txt +++ b/server_config.txt @@ -10,6 +10,8 @@ server 10.8.0.0 255.255.255.0 # Set your primary domain name server address for clients push "dhcp-option DNS 8.8.8.8" push "dhcp-option DNS 8.8.4.4" +# Prevent DNS leaks on Windows +push "block-outside-dns" # Override the Client default gateway by using 0.0.0.0/1 and # 128.0.0.0/1 rather than 0.0.0.0/0. This has the benefit of # overriding but not wiping out the original default gateway.