diff options
Diffstat (limited to 'standalone')
-rw-r--r-- | standalone/vpn.go | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/standalone/vpn.go b/standalone/vpn.go index 44fa768..fddda6e 100644 --- a/standalone/vpn.go +++ b/standalone/vpn.go @@ -17,7 +17,6 @@ package bitmask import ( "path" - "runtime" ) const ( @@ -45,21 +44,12 @@ func (b *Bitmask) StartVPN(provider string) error { } certPemPath := b.getCertPemPath() arg = append(arg, - "--nobind", "--verb", "1", - "--dev", "tun", - "--client", - "--tls-client", - "--remote-cert-tls", "server", - "--script-security", "1", "--management-client", "--management", openvpnManagementAddr, openvpnManagementPort, "--ca", b.getCaCertPath(), "--cert", certPemPath, "--key", certPemPath) - if runtime.GOOS == "windows" { - arg = append(arg, "--log", `C:\bitmask\openvp.log`) - } return b.launch.openvpnStart(arg...) } |