From 6e8a39416c6619287be62e42a0adfccda1738dae Mon Sep 17 00:00:00 2001 From: Gauthier Loutsch Date: Mon, 30 Sep 2024 09:32:51 +0200 Subject: [PATCH] Update config --- aws-connect.sh | 2 +- vpn.conf | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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