1
0
Fork 0
mirror of synced 2025-04-05 14:13:37 +03:00

Update vpnsetup.sh

Updated libreswan version up to 3.31
Removed modp1024 from config file because it's now deprecated
Tested on Debian 10 Buster
This commit is contained in:
Loginbug 2020-03-30 12:31:57 +02:00 committed by GitHub
parent ca6bf9818d
commit 91b91d8cd4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -172,7 +172,7 @@ apt-get -yq install fail2ban || exiterr2
bigecho "Compiling and installing Libreswan..."
SWAN_VER=3.29
SWAN_VER=3.31
swan_file="libreswan-$SWAN_VER.tar.gz"
swan_url1="https://github.com/libreswan/libreswan/archive/v$SWAN_VER.tar.gz"
swan_url2="https://download.libreswan.org/$swan_file"
@ -239,7 +239,7 @@ conn shared
dpdtimeout=120
dpdaction=clear
ikev2=never
ike=aes256-sha2,aes128-sha2,aes256-sha1,aes128-sha1,aes256-sha2;modp1024,aes128-sha1;modp1024
ike=aes256-sha2,aes128-sha2,aes256-sha1,aes128-sha1,aes256-sha2
phase2alg=aes_gcm-null,aes128-sha1,aes256-sha1,aes256-sha2_512,aes128-sha2,aes256-sha2
sha2-truncbug=no