diff --git a/README-zh.md b/README-zh.md index 9a97f4d..bd9964c 100644 --- a/README-zh.md +++ b/README-zh.md @@ -38,6 +38,8 @@ curl -fsSL https://get.vpnsetup.net -o vpn.sh && sudo sh vpn.sh ```bash curl -fsSL https://gitlab.com/hwdsl2/setup-ipsec-vpn/-/raw/master/vpnsetup.sh -o vpn.sh && sudo sh vpn.sh ``` + +如果无法下载,点[这里](https://github.com/hwdsl2/setup-ipsec-vpn/raw/master/vpnsetup.sh)查看脚本。按快捷键 `Ctrl/Cmd+A` 全选,`Ctrl/Cmd+C` 复制,然后粘贴到你喜欢的编辑器。
@@ -229,6 +231,8 @@ curl -fsSL https://get.vpnsetup.net/upg -o vpnup.sh && sudo sh vpnup.sh ```bash curl -fsSL https://gitlab.com/hwdsl2/setup-ipsec-vpn/-/raw/master/extras/vpnupgrade.sh -o vpnup.sh && sudo sh vpnup.sh ``` + +如果无法下载,点[这里](https://github.com/hwdsl2/setup-ipsec-vpn/raw/master/extras/vpnupgrade.sh)查看脚本。按快捷键 `Ctrl/Cmd+A` 全选,`Ctrl/Cmd+C` 复制,然后粘贴到你喜欢的编辑器。
当前支持的 Libreswan 最新版本是 `4.6`。查看已安装版本:`ipsec --version`。 @@ -245,11 +249,12 @@ curl -fsSL https://gitlab.com/hwdsl2/setup-ipsec-vpn/-/raw/master/extras/vpnupgr ## 卸载 VPN -**警告:** 此[辅助脚本](../extras/vpnuninstall.sh)将从你的服务器中删除 IPsec VPN。所有的 VPN 配置将被**永久删除**,并且 Libreswan 和 xl2tpd 将被移除。此操作**不可撤销**! +**警告:** 此辅助脚本将从你的服务器中删除 IPsec VPN。所有的 VPN 配置将被**永久删除**,并且 Libreswan 和 xl2tpd 将被移除。此操作**不可撤销**! + +要卸载 IPsec VPN,运行[辅助脚本](extras/vpnuninstall.sh): ```bash -wget -nv -O vpnunst.sh https://get.vpnsetup.net/unst -sudo bash vpnunst.sh +wget https://get.vpnsetup.net/unst -qO vpnunst.sh && sudo bash vpnunst.sh ``` 更多信息请参见 [卸载 VPN](docs/uninstall-zh.md)。 diff --git a/README.md b/README.md index c9d4f23..7f9be1f 100644 --- a/README.md +++ b/README.md @@ -38,6 +38,8 @@ Alternative setup URL: ```bash curl -fsSL https://gitlab.com/hwdsl2/setup-ipsec-vpn/-/raw/master/vpnsetup.sh -o vpn.sh && sudo sh vpn.sh ``` + +If you are unable to download, click [here](https://github.com/hwdsl2/setup-ipsec-vpn/raw/master/vpnsetup.sh) to view the script. Press `Ctrl/Cmd+A` to select all, `Ctrl/Cmd+C` to copy, then paste into your favorite editor.
@@ -229,6 +231,8 @@ Alternative update URL: ```bash curl -fsSL https://gitlab.com/hwdsl2/setup-ipsec-vpn/-/raw/master/extras/vpnupgrade.sh -o vpnup.sh && sudo sh vpnup.sh ``` + +If you are unable to download, click [here](https://github.com/hwdsl2/setup-ipsec-vpn/raw/master/extras/vpnupgrade.sh) to view the script. Press `Ctrl/Cmd+A` to select all, `Ctrl/Cmd+C` to copy, then paste into your favorite editor.
The latest supported Libreswan version is `4.6`. Check installed version: `ipsec --version`. @@ -245,11 +249,12 @@ See [Advanced usage](docs/advanced-usage.md). ## Uninstall the VPN -**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**! +**Warning:** This helper script 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**! + +To uninstall IPsec VPN, run the [helper script](extras/vpnuninstall.sh): ```bash -wget -nv -O vpnunst.sh https://get.vpnsetup.net/unst -sudo bash vpnunst.sh +wget https://get.vpnsetup.net/unst -qO vpnunst.sh && sudo bash vpnunst.sh ``` For more information, see [Uninstall the VPN](docs/uninstall.md). diff --git a/docs/uninstall-zh.md b/docs/uninstall-zh.md index 01aa682..8cf80d9 100644 --- a/docs/uninstall-zh.md +++ b/docs/uninstall-zh.md @@ -7,11 +7,12 @@ ## 使用辅助脚本卸载 VPN -**警告:** 此[辅助脚本](../extras/vpnuninstall.sh)将从你的服务器中删除 IPsec VPN。所有的 VPN 配置将被**永久删除**,并且 Libreswan 和 xl2tpd 将被移除。此操作**不可撤销**! +**警告:** 此辅助脚本将从你的服务器中删除 IPsec VPN。所有的 VPN 配置将被**永久删除**,并且 Libreswan 和 xl2tpd 将被移除。此操作**不可撤销**! + +要卸载 IPsec VPN,运行[辅助脚本](../extras/vpnuninstall.sh): ```bash -wget -nv -O vpnunst.sh https://get.vpnsetup.net/unst -sudo bash vpnunst.sh +wget https://get.vpnsetup.net/unst -qO vpnunst.sh && sudo bash vpnunst.sh ``` ## 手动卸载 VPN diff --git a/docs/uninstall.md b/docs/uninstall.md index 1b0f125..c80a0c8 100644 --- a/docs/uninstall.md +++ b/docs/uninstall.md @@ -7,11 +7,12 @@ ## Uninstall using helper script -**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**! +**Warning:** This helper script 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**! + +To uninstall IPsec VPN, run the [helper script](../extras/vpnuninstall.sh): ```bash -wget -nv -O vpnunst.sh https://get.vpnsetup.net/unst -sudo bash vpnunst.sh +wget https://get.vpnsetup.net/unst -qO vpnunst.sh && sudo bash vpnunst.sh ``` ## Manually uninstall the VPN