Update links
- Update links due to git.io deprecation. Ref: https://github.blog/changelog/2022-04-25-git-io-deprecation/
This commit is contained in:
parent
b48021c5e6
commit
cc709766e9
@ -4,4 +4,4 @@ export VPN_IPSEC_PSK=$1
|
|||||||
export VPN_USER=$2
|
export VPN_USER=$2
|
||||||
export VPN_PASSWORD=$3
|
export VPN_PASSWORD=$3
|
||||||
|
|
||||||
wget -t 3 -T 30 -nv -O vpn.sh https://git.io/vpnsetup && sh vpn.sh
|
wget -t 3 -T 30 -nv -O vpn.sh https://github.com/hwdsl2/setup-ipsec-vpn/raw/master/vpnsetup.sh && sh vpn.sh
|
||||||
|
@ -71,7 +71,7 @@ cat 1>&2 <<EOF
|
|||||||
Error: Libreswan version '$swan_ver' is not supported.
|
Error: Libreswan version '$swan_ver' is not supported.
|
||||||
IKEv2-only mode requires Libreswan 4.2 or newer.
|
IKEv2-only mode requires Libreswan 4.2 or newer.
|
||||||
To update Libreswan, run:
|
To update Libreswan, run:
|
||||||
wget https://git.io/vpnupgrade -qO vpnup.sh && sudo sh vpnup.sh
|
wget https://get.vpnsetup.net/upg -qO vpnup.sh && sudo sh vpnup.sh
|
||||||
EOF
|
EOF
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
@ -118,7 +118,7 @@ cat 1>&2 <<EOF
|
|||||||
Error: Libreswan version '$swan_ver' is not supported.
|
Error: Libreswan version '$swan_ver' is not supported.
|
||||||
This script requires Libreswan 3.23 or newer.
|
This script requires Libreswan 3.23 or newer.
|
||||||
To update Libreswan, run:
|
To update Libreswan, run:
|
||||||
wget https://git.io/vpnupgrade -qO vpnup.sh && sudo sh vpnup.sh
|
wget https://get.vpnsetup.net/upg -qO vpnup.sh && sudo sh vpnup.sh
|
||||||
EOF
|
EOF
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
@ -151,7 +151,7 @@ confirm_or_abort() {
|
|||||||
show_header() {
|
show_header() {
|
||||||
cat <<'EOF'
|
cat <<'EOF'
|
||||||
|
|
||||||
IKEv2 Script Copyright (c) 2020-2022 Lin Song 27 Apr 2022
|
IKEv2 Script Copyright (c) 2020-2022 Lin Song 28 Apr 2022
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
}
|
}
|
||||||
@ -1288,7 +1288,7 @@ check_swan_update() {
|
|||||||
cat <<EOF
|
cat <<EOF
|
||||||
Note: A newer version of Libreswan ($swan_ver_latest) is available.
|
Note: A newer version of Libreswan ($swan_ver_latest) is available.
|
||||||
To update, run:
|
To update, run:
|
||||||
wget https://git.io/vpnupgrade -qO vpnup.sh && sudo sh vpnup.sh
|
wget https://get.vpnsetup.net/upg -qO vpnup.sh && sudo sh vpnup.sh
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user