diff options
Diffstat (limited to 'pkg/helper/windows.go')
-rw-r--r-- | pkg/helper/windows.go | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/pkg/helper/windows.go b/pkg/helper/windows.go index 44ac6f5..c33a4bc 100644 --- a/pkg/helper/windows.go +++ b/pkg/helper/windows.go @@ -40,11 +40,15 @@ var ( openvpnPath = path.Join(appPath, "openvpn.exe") chocoOpenvpnPath = `C:\Program Files\OpenVPN\bin\openvpn.exe` platformOpenvpnFlags = []string{ + httpServerConf = &httpConf{} +) + +func getPlatformOpenvpnFlags() []string { + return []string{ "--script-security", "1", "--block-outside-dns", } - httpServerConf = &httpConf{} -) +} func getExecDir() string { ex, err := os.Executable() |