From 21ba11505ab5850843a9d965984732911bd145fd Mon Sep 17 00:00:00 2001 From: hwdsl2 Date: Mon, 14 Oct 2024 21:53:17 -0500 Subject: [PATCH] New Libreswan version - Use new Libreswan version 5.1. --- vpnsetup_alpine.sh | 2 +- vpnsetup_amzn.sh | 2 +- vpnsetup_centos.sh | 2 +- vpnsetup_ubuntu.sh | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/vpnsetup_alpine.sh b/vpnsetup_alpine.sh index c7a8d4d..edba7ec 100755 --- a/vpnsetup_alpine.sh +++ b/vpnsetup_alpine.sh @@ -240,7 +240,7 @@ get_helper_scripts() { } get_swan_ver() { - SWAN_VER=5.0 + SWAN_VER=5.1 base_url="https://github.com/hwdsl2/vpn-extras/releases/download/v1.0.0" swan_ver_url="$base_url/v1-$os_type-$os_ver-swanver" swan_ver_latest=$(wget -t 2 -T 10 -qO- "$swan_ver_url" | head -n 1) diff --git a/vpnsetup_amzn.sh b/vpnsetup_amzn.sh index 5403bc0..8423517 100755 --- a/vpnsetup_amzn.sh +++ b/vpnsetup_amzn.sh @@ -258,7 +258,7 @@ get_helper_scripts() { } get_swan_ver() { - SWAN_VER=5.0 + SWAN_VER=5.1 base_url="https://github.com/hwdsl2/vpn-extras/releases/download/v1.0.0" swan_ver_url="$base_url/v1-amzn-2-swanver" swan_ver_latest=$(wget -t 2 -T 10 -qO- "$swan_ver_url" | head -n 1) diff --git a/vpnsetup_centos.sh b/vpnsetup_centos.sh index 810dae7..a6837e3 100755 --- a/vpnsetup_centos.sh +++ b/vpnsetup_centos.sh @@ -361,7 +361,7 @@ get_helper_scripts() { } get_swan_ver() { - SWAN_VER=5.0 + SWAN_VER=5.1 base_url="https://github.com/hwdsl2/vpn-extras/releases/download/v1.0.0" swan_ver_url="$base_url/v1-$os_type-$os_ver-swanver" swan_ver_latest=$(wget -t 2 -T 10 -qO- "$swan_ver_url" | head -n 1) diff --git a/vpnsetup_ubuntu.sh b/vpnsetup_ubuntu.sh index 86899cf..68a1f5a 100755 --- a/vpnsetup_ubuntu.sh +++ b/vpnsetup_ubuntu.sh @@ -313,7 +313,7 @@ get_helper_scripts() { } get_swan_ver() { - SWAN_VER=5.0 + SWAN_VER=5.1 base_url="https://github.com/hwdsl2/vpn-extras/releases/download/v1.0.0" swan_ver_url="$base_url/v1-$os_type-$os_ver-swanver" swan_ver_latest=$(wget -t 2 -T 10 -qO- "$swan_ver_url" | head -n 1)