From 0b1ca44fa4053dc12aa66707f02da15f6b361fe5 Mon Sep 17 00:00:00 2001 From: hwdsl2 Date: Sat, 14 May 2022 23:59:01 -0500 Subject: [PATCH] Update docs --- README-zh.md | 19 +++++++++++++++++++ README.md | 23 +++++++++++++++++++++-- 2 files changed, 40 insertions(+), 2 deletions(-) diff --git a/README-zh.md b/README-zh.md index ec170e1..39ccdd2 100644 --- a/README-zh.md +++ b/README-zh.md @@ -33,6 +33,12 @@ wget https://get.vpnsetup.net -qO vpn.sh && sudo sh vpn.sh 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` 复制,然后粘贴到你喜欢的编辑器。
@@ -161,6 +167,13 @@ curl -fL https://get.vpnsetup.net -o vpn.sh sudo sh vpn.sh ``` +或者,你也可以使用这个链接: + +```bash +curl -fL 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` 复制,然后粘贴到你喜欢的编辑器。
@@ -213,6 +226,12 @@ wget https://get.vpnsetup.net/upg -qO vpnup.sh && sudo sh vpnup.sh 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` 复制,然后粘贴到你喜欢的编辑器。 diff --git a/README.md b/README.md index 8f78d54..866c443 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ Your VPN login details will be randomly generated, and displayed when finished.
-Alternative one-liner. +Alternative one-liners. You may also use `curl` to download: @@ -33,6 +33,12 @@ You may also use `curl` to download: curl -fsSL https://get.vpnsetup.net -o vpn.sh && sudo sh vpn.sh ``` +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.
@@ -161,6 +167,13 @@ curl -fL https://get.vpnsetup.net -o vpn.sh sudo sh vpn.sh ``` +Alternative setup URL: + +```bash +curl -fL 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.
@@ -204,7 +217,7 @@ wget https://get.vpnsetup.net/upg -qO vpnup.sh && sudo sh vpnup.sh
-Alternative one-liner. +Alternative one-liners. You may also use `curl` to download: @@ -213,6 +226,12 @@ You may also use `curl` to download: curl -fsSL https://get.vpnsetup.net/upg -o vpnup.sh && sudo sh vpnup.sh ``` +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.