From cb04be301e4f5737d8972185bba934ab9862d1bd Mon Sep 17 00:00:00 2001 From: Cyb0rk Date: Sat, 17 Mar 2018 00:45:15 +0100 Subject: [PATCH 1/3] DNS leak fix in server_config.txt Added fix to prevent DNS leak on Windows 10 --- server_config.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server_config.txt b/server_config.txt index 2eb0491..a5099b2 100755 --- 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. From 30397f2d4c2df8ab25c720d7d22f91e479575cc0 Mon Sep 17 00:00:00 2001 From: Tristan Hill Date: Wed, 21 Mar 2018 12:20:47 +0000 Subject: [PATCH 2/3] shouldn't be executable --- Default.txt | 0 server_config.txt | 0 2 files changed, 0 insertions(+), 0 deletions(-) mode change 100755 => 100644 Default.txt mode change 100755 => 100644 server_config.txt diff --git a/Default.txt b/Default.txt old mode 100755 new mode 100644 diff --git a/server_config.txt b/server_config.txt old mode 100755 new mode 100644 From 23cc58ce3abe7b1808baf6425f96f81dfc4e2a5d Mon Sep 17 00:00:00 2001 From: johanfagerstroem Date: Tue, 1 May 2018 16:38:38 +0200 Subject: [PATCH 3/3] Changing name validation regex to allow dashes Great for readable naming conventions. --- scripts/makeOVPN.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/makeOVPN.sh b/scripts/makeOVPN.sh index 09ef655..ed29501 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