diff --git a/vpnsetup.sh b/vpnsetup.sh index 2f8ed07..f962f47 100755 --- a/vpnsetup.sh +++ b/vpnsetup.sh @@ -198,8 +198,9 @@ conn shared dpddelay=30 dpdtimeout=120 dpdaction=clear - ike=3des-sha1,aes-sha1 - phase2alg=3des-sha1,aes-sha1 + ike=3des-sha1,aes-sha1,aes256-sha2_512,aes256-sha2_256 + phase2alg=3des-sha1,aes-sha1,aes256-sha2_512,aes256-sha2_256 + sha2-truncbug=yes conn l2tp-psk auto=add diff --git a/vpnsetup_centos.sh b/vpnsetup_centos.sh index 08c421d..ddea15a 100755 --- a/vpnsetup_centos.sh +++ b/vpnsetup_centos.sh @@ -192,8 +192,9 @@ conn shared dpddelay=30 dpdtimeout=120 dpdaction=clear - ike=3des-sha1,aes-sha1 - phase2alg=3des-sha1,aes-sha1 + ike=3des-sha1,aes-sha1,aes256-sha2_512,aes256-sha2_256 + phase2alg=3des-sha1,aes-sha1,aes256-sha2_512,aes256-sha2_256 + sha2-truncbug=yes conn l2tp-psk auto=add