Browse Source

Small bugs, removing ip rule flush

Joachim M. Giæver 5 years ago
parent
commit
9a23630c69
2 changed files with 6 additions and 14 deletions
  1. 0 1
      aiop/aiop-openvpn
  2. 6 13
      client1/config.ovpn

+ 0 - 1
aiop/aiop-openvpn

@@ -57,7 +57,6 @@ unroute_vpn () {
     fi
 
     cmd_run "ip-route" "ip route flush table ${RTABLE}"
-    cmd_run "ip-rule" "ip rule flush table ${RTABLE}"
 
     iptable "${IFACE}" "D" "FORWARD" "ACCEPT" "${IFACE_TUN}"
     iptable "${IFACE_TUN}" "D" "${IFACE_NWRK_ADDR}/${CIDR}"

+ 6 - 13
client1/config.ovpn

@@ -1,12 +1,8 @@
-# Pia config. 
-# Remember to add 
-# * your login credetials after import of this config.
-# * content of <ca.crt> in Certificate Auth.
-# * content of <crl.pem> in Certificate Revocation List
+# Automatically generated configuration
 daemon
 client
 proto udp
-remote PIA-ROUTE.privateinternetaccess.com 1197 #alter to e.g "no" for Norway
+remote CHANGE-ME.privateinternetaccess.com 1197
 resolv-retry 30
 nobind
 persist-key
@@ -15,16 +11,13 @@ comp-lzo adaptive
 cipher AES-256-CBC
 auth RSA-SHA256
 script-security 2
-route-delay 2
 verb 1
 reneg-sec 0
 status-version 2
 status status 10
 
 # Custom Configuration
-remote-cert-tls server
-tls-client
-persist-key
-persist-tun
-disable-occ
-route-nopull
+remote-cert-tls server
+tls-client
+disable-occ
+auth-nocache