summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKali Kaneko (leap communications) <kali@leap.se>2019-02-05 16:08:29 +0100
committerKali Kaneko (leap communications) <kali@leap.se>2019-02-05 16:08:29 +0100
commitd9d2a703d7fdab21b0865e16e5861d20bf45dd51 (patch)
tree3eeea6b34c2da5f7612031db39aa9fe2a01eade3
parentd0703ec25f2625ffd61489da4e2f45a7bc1be29b (diff)
[bug] use --block-outside-dns in windows
this should resolve DNS leaks on windows. -Resolves: #113
-rw-r--r--pkg/helper/windows.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/helper/windows.go b/pkg/helper/windows.go
index bc86e79..7e47884 100644
--- a/pkg/helper/windows.go
+++ b/pkg/helper/windows.go
@@ -34,6 +34,7 @@ const (
var (
platformOpenvpnFlags = []string{
"--script-security", "1",
+ "--block-outside-dns",
}
)