From 368e4c0f6288c743040391001930a47f30ded4a3 Mon Sep 17 00:00:00 2001 From: hwdsl2 Date: Sat, 30 Apr 2022 21:27:04 -0500 Subject: [PATCH] Update docs --- README-zh.md | 12 ------------ README.md | 12 ------------ docs/advanced-usage-zh.md | 2 +- docs/advanced-usage.md | 2 +- docs/ikev2-howto-zh.md | 2 +- docs/ikev2-howto.md | 2 +- docs/manage-users-zh.md | 6 +++--- docs/manage-users.md | 6 +++--- docs/uninstall-zh.md | 2 +- docs/uninstall.md | 2 +- 10 files changed, 12 insertions(+), 36 deletions(-) diff --git a/README-zh.md b/README-zh.md index 328b569..cf0ceed 100644 --- a/README-zh.md +++ b/README-zh.md @@ -228,18 +228,6 @@ sudo sh vpn.sh wget https://get.vpnsetup.net/upg -qO vpnup.sh && sudo sh vpnup.sh ``` -
- -或者,你也可以使用以下命令。 - - -或者,你也可以使用这个链接: - -```bash -wget https://gitlab.com/hwdsl2/setup-ipsec-vpn/-/raw/master/extras/vpnupgrade.sh -qO vpnup.sh && sudo sh vpnup.sh -``` -
- 当前支持的 Libreswan 最新版本是 `4.6`。查看已安装版本:`ipsec --version`。 **注:** `xl2tpd` 可以使用系统的软件包管理器进行更新,例如 Ubuntu/Debian 上的 `apt-get`。 diff --git a/README.md b/README.md index d4d2db1..ae87fc6 100644 --- a/README.md +++ b/README.md @@ -228,18 +228,6 @@ Use this one-liner to update [Libreswan](https://libreswan.org) ([changelog](htt wget https://get.vpnsetup.net/upg -qO vpnup.sh && sudo sh vpnup.sh ``` -
- -Alternative one-liner. - - -Alternative update URL: - -```bash -wget https://gitlab.com/hwdsl2/setup-ipsec-vpn/-/raw/master/extras/vpnupgrade.sh -qO vpnup.sh && sudo sh vpnup.sh -``` -
- The latest supported Libreswan version is `4.6`. Check installed version: `ipsec --version`. **Note:** `xl2tpd` can be updated using your system's package manager, such as `apt-get` on Ubuntu/Debian. diff --git a/docs/advanced-usage-zh.md b/docs/advanced-usage-zh.md index 863ac82..b4da233 100644 --- a/docs/advanced-usage-zh.md +++ b/docs/advanced-usage-zh.md @@ -44,7 +44,7 @@ sudo VPN_DNS_NAME='vpn.example.com' ikev2.sh --auto ```bash # 下载脚本 -wget -nv -O ikev2onlymode.sh https://bit.ly/ikev2onlymode +wget -nv -O ikev2onlymode.sh https://get.vpnsetup.net/ikev2only # 运行脚本并按提示操作 sudo bash ikev2onlymode.sh ``` diff --git a/docs/advanced-usage.md b/docs/advanced-usage.md index 3002ac8..1605dc5 100644 --- a/docs/advanced-usage.md +++ b/docs/advanced-usage.md @@ -44,7 +44,7 @@ To enable IKEv2-only mode, first install the VPN server and set up IKEv2 using i ```bash # Download the script -wget -nv -O ikev2onlymode.sh https://bit.ly/ikev2onlymode +wget -nv -O ikev2onlymode.sh https://get.vpnsetup.net/ikev2only # Run the script and follow the prompts sudo bash ikev2onlymode.sh ``` diff --git a/docs/ikev2-howto-zh.md b/docs/ikev2-howto-zh.md index 76be506..7946c57 100644 --- a/docs/ikev2-howto-zh.md +++ b/docs/ikev2-howto-zh.md @@ -764,7 +764,7 @@ REG ADD HKLM\SYSTEM\CurrentControlSet\Services\RasMan\Parameters /v NegotiateDH2 ```bash # 下载脚本 -wget -nv -O ikev2changeaddr.sh https://bit.ly/ikev2changeaddr +wget -nv -O ikev2changeaddr.sh https://get.vpnsetup.net/ikev2addr # 运行脚本并按照提示操作 sudo bash ikev2changeaddr.sh ``` diff --git a/docs/ikev2-howto.md b/docs/ikev2-howto.md index 6adbdd8..b0be218 100644 --- a/docs/ikev2-howto.md +++ b/docs/ikev2-howto.md @@ -766,7 +766,7 @@ To change the server address, run this [helper script](../extras/ikev2changeaddr ```bash # Download the script -wget -nv -O ikev2changeaddr.sh https://bit.ly/ikev2changeaddr +wget -nv -O ikev2changeaddr.sh https://get.vpnsetup.net/ikev2addr # Run the script and follow the prompts sudo bash ikev2changeaddr.sh ``` diff --git a/docs/manage-users-zh.md b/docs/manage-users-zh.md index 3fb5055..b70b25d 100644 --- a/docs/manage-users-zh.md +++ b/docs/manage-users-zh.md @@ -35,7 +35,7 @@ sudo addvpnuser.sh 如果你使用了较早版本的 VPN 安装脚本,这是正常的。首先下载辅助脚本: ```bash -wget -nv -O /opt/src/addvpnuser.sh https://bit.ly/addvpnuser +wget -nv -O /opt/src/addvpnuser.sh https://get.vpnsetup.net/adduser chmod +x /opt/src/addvpnuser.sh && ln -s /opt/src/addvpnuser.sh /usr/bin ``` @@ -70,7 +70,7 @@ sudo delvpnuser.sh 如果你使用了较早版本的 VPN 安装脚本,这是正常的。首先下载辅助脚本: ```bash -wget -nv -O /opt/src/delvpnuser.sh https://bit.ly/delvpnuser +wget -nv -O /opt/src/delvpnuser.sh https://get.vpnsetup.net/deluser chmod +x /opt/src/delvpnuser.sh && ln -s /opt/src/delvpnuser.sh /usr/bin ``` @@ -92,7 +92,7 @@ sudo delvpnuser.sh '要删除的用户名' 首先下载脚本: ```bash -wget -nv -O updatevpnusers.sh https://bit.ly/updatevpnusers +wget -nv -O updatevpnusers.sh https://get.vpnsetup.net/updateusers ``` 要使用这个脚本,从以下选项中选择一个: diff --git a/docs/manage-users.md b/docs/manage-users.md index 23ff482..89dc82f 100644 --- a/docs/manage-users.md +++ b/docs/manage-users.md @@ -35,7 +35,7 @@ Error: "sudo: addvpnuser.sh: command not found". This is normal if you used an older version of the VPN setup script. First, download the helper script: ```bash -wget -nv -O /opt/src/addvpnuser.sh https://bit.ly/addvpnuser +wget -nv -O /opt/src/addvpnuser.sh https://get.vpnsetup.net/adduser chmod +x /opt/src/addvpnuser.sh && ln -s /opt/src/addvpnuser.sh /usr/bin ``` @@ -70,7 +70,7 @@ Error: "sudo: delvpnuser.sh: command not found". This is normal if you used an older version of the VPN setup script. First, download the helper script: ```bash -wget -nv -O /opt/src/delvpnuser.sh https://bit.ly/delvpnuser +wget -nv -O /opt/src/delvpnuser.sh https://get.vpnsetup.net/deluser chmod +x /opt/src/delvpnuser.sh && ln -s /opt/src/delvpnuser.sh /usr/bin ``` @@ -92,7 +92,7 @@ Remove all existing VPN users and replace with the list of users you specify. First, download the script: ```bash -wget -nv -O updatevpnusers.sh https://bit.ly/updatevpnusers +wget -nv -O updatevpnusers.sh https://get.vpnsetup.net/updateusers ``` To use this script, choose one of the following options: diff --git a/docs/uninstall-zh.md b/docs/uninstall-zh.md index ed18eb4..035187a 100644 --- a/docs/uninstall-zh.md +++ b/docs/uninstall-zh.md @@ -10,7 +10,7 @@ **警告:** 此[辅助脚本](../extras/vpnuninstall.sh)将从你的服务器中删除 IPsec VPN。所有的 VPN 配置将被**永久删除**,并且 Libreswan 和 xl2tpd 将被移除。此操作**不可撤销**! ```bash -wget -nv -O vpnunst.sh https://bit.ly/vpnuninstall +wget -nv -O vpnunst.sh https://get.vpnsetup.net/unst sudo bash vpnunst.sh ``` diff --git a/docs/uninstall.md b/docs/uninstall.md index 2d4d914..3b4ce16 100644 --- a/docs/uninstall.md +++ b/docs/uninstall.md @@ -10,7 +10,7 @@ **Warning:** This [helper script](../extras/vpnuninstall.sh) will remove IPsec VPN from your server. All VPN configuration will be **permanently deleted**, and Libreswan and xl2tpd will be removed. This **cannot be undone**! ```bash -wget -nv -O vpnunst.sh https://bit.ly/vpnuninstall +wget -nv -O vpnunst.sh https://get.vpnsetup.net/unst sudo bash vpnunst.sh ```