summaryrefslogtreecommitdiff
path: root/obfsproxy/leap-vpn.sh
diff options
context:
space:
mode:
Diffstat (limited to 'obfsproxy/leap-vpn.sh')
-rwxr-xr-xobfsproxy/leap-vpn.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/obfsproxy/leap-vpn.sh b/obfsproxy/leap-vpn.sh
new file mode 100755
index 0000000..4fb09c3
--- /dev/null
+++ b/obfsproxy/leap-vpn.sh
@@ -0,0 +1,13 @@
+#!/bin/sh
+sudo openvpn \
+ --verb 3 \
+ --tls-cipher DHE-RSA-AES128-SHA \
+ --cipher AES-128-CBC \
+ --dev tun --client --tls-client \
+ --remote-cert-tls server --tls-version-min 1.2 \
+ --ca /tmp/ca.crt --cert /tmp/cert.pem --key /tmp/cert.pem \
+ --proto tcp4 \
+ --remote localhost 4430 \
+ --socks-proxy localhost 4430 \
+ --route $GW 255.255.255.255 net_gateway \
+ --persist-tun