diff --git a/aws-connect.sh b/aws-connect.sh index e15247f..c2d523d 100755 --- a/aws-connect.sh +++ b/aws-connect.sh @@ -88,7 +88,7 @@ echo "Running OpenVPN with sudo. Enter password if requested" # Finally OpenVPN with a SAML response we got # Delete saml-response.txt after connect sudo bash -c "$OVPN_BIN --config "${OVPN_CONF}" \ - --verb 3 --auth-nocache --inactive 3600 \ + --verb 4 --auth-nocache --inactive 3600 \ --proto "$PROTO" --remote $SRV $PORT --ca "$OVPN_CA" \ --script-security 2 \ --route-up '/usr/bin/env rm saml-response.txt' \ diff --git a/vpn.conf b/vpn.conf index 2e0eb89..ce6c6a4 100644 --- a/vpn.conf +++ b/vpn.conf @@ -13,3 +13,5 @@ reneg-sec 0 up ./resolvconf.sh down ./resolvconf.sh + +tun-mtu 1340