From f07fd4698501a7f25aa898e0774403283b9985f4 Mon Sep 17 00:00:00 2001 From: hwdsl2 Date: Wed, 5 Mar 2025 23:54:12 -0600 Subject: [PATCH] New Libreswan version - Use new Libreswan version 5.2. --- vpnsetup_alpine.sh | 2 +- vpnsetup_amzn.sh | 4 ++-- vpnsetup_centos.sh | 2 +- vpnsetup_ubuntu.sh | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/vpnsetup_alpine.sh b/vpnsetup_alpine.sh index 5ef9327..4c9fa12 100755 --- a/vpnsetup_alpine.sh +++ b/vpnsetup_alpine.sh @@ -240,7 +240,7 @@ get_helper_scripts() { } get_swan_ver() { - SWAN_VER=5.1 + SWAN_VER=5.2 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 8423517..2e1a2db 100755 --- a/vpnsetup_amzn.sh +++ b/vpnsetup_amzn.sh @@ -7,7 +7,7 @@ # The latest version of this script is available at: # https://github.com/hwdsl2/setup-ipsec-vpn # -# Copyright (C) 2020-2024 Lin Song +# Copyright (C) 2020-2025 Lin Song # # This work is licensed under the Creative Commons Attribution-ShareAlike 3.0 # Unported License: http://creativecommons.org/licenses/by-sa/3.0/ @@ -258,7 +258,7 @@ get_helper_scripts() { } get_swan_ver() { - SWAN_VER=5.1 + SWAN_VER=5.2 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 e6bf08e..8440412 100755 --- a/vpnsetup_centos.sh +++ b/vpnsetup_centos.sh @@ -361,7 +361,7 @@ get_helper_scripts() { } get_swan_ver() { - SWAN_VER=5.1 + SWAN_VER=5.2 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 f26223a..26ddeb3 100755 --- a/vpnsetup_ubuntu.sh +++ b/vpnsetup_ubuntu.sh @@ -7,7 +7,7 @@ # The latest version of this script is available at: # https://github.com/hwdsl2/setup-ipsec-vpn # -# Copyright (C) 2014-2024 Lin Song +# Copyright (C) 2014-2025 Lin Song # Based on the work of Thomas Sarlandie (Copyright 2012) # # This work is licensed under the Creative Commons Attribution-ShareAlike 3.0 @@ -321,7 +321,7 @@ get_helper_scripts() { } get_swan_ver() { - SWAN_VER=5.1 + SWAN_VER=5.2 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)