diff --git a/README-zh.md b/README-zh.md index 6c7b0e3..0d77c85 100644 --- a/README-zh.md +++ b/README-zh.md @@ -37,10 +37,11 @@ wget https://get.vpnsetup.net -O 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 +https://gitlab.com/hwdsl2/setup-ipsec-vpn/-/raw/master/vpnsetup.sh ``` 如果无法下载,打开 [vpnsetup.sh](vpnsetup.sh),然后点击右边的 `Raw` 按钮。按快捷键 `Ctrl/Cmd+A` 全选,`Ctrl/Cmd+C` 复制,然后粘贴到你喜欢的编辑器。 @@ -173,11 +174,11 @@ 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 +https://gitlab.com/hwdsl2/setup-ipsec-vpn/-/raw/master/vpnsetup.sh ``` 如果无法下载,打开 [vpnsetup.sh](vpnsetup.sh),然后点击右边的 `Raw` 按钮。按快捷键 `Ctrl/Cmd+A` 全选,`Ctrl/Cmd+C` 复制,然后粘贴到你喜欢的编辑器。 @@ -232,10 +233,11 @@ wget https://get.vpnsetup.net/upg -O 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 +https://gitlab.com/hwdsl2/setup-ipsec-vpn/-/raw/master/extras/vpnupgrade.sh ``` 如果无法下载,打开 [vpnupgrade.sh](extras/vpnupgrade.sh),然后点击右边的 `Raw` 按钮。按快捷键 `Ctrl/Cmd+A` 全选,`Ctrl/Cmd+C` 复制,然后粘贴到你喜欢的编辑器。 @@ -263,6 +265,25 @@ curl -fsSL https://gitlab.com/hwdsl2/setup-ipsec-vpn/-/raw/master/extras/vpnupgr wget https://get.vpnsetup.net/unst -O vpnunst.sh && sudo bash vpnunst.sh ``` +
+ +或者,你也可以使用以下命令。 + + +你也可以使用 `curl` 下载: + +```bash +curl -fsSL https://get.vpnsetup.net/unst -o vpnunst.sh && sudo bash vpnunst.sh +``` + +或者,你也可以使用这些链接: + +```bash +https://github.com/hwdsl2/setup-ipsec-vpn/raw/master/extras/vpnuninstall.sh +https://gitlab.com/hwdsl2/setup-ipsec-vpn/-/raw/master/extras/vpnuninstall.sh +``` +
+ 更多信息请参见 [卸载 VPN](docs/uninstall-zh.md)。 ## 问题和反馈 diff --git a/README.md b/README.md index 4a45300..3c08b51 100644 --- a/README.md +++ b/README.md @@ -37,10 +37,11 @@ You may also use `curl` to download: curl -fsSL https://get.vpnsetup.net -o vpn.sh && sudo sh vpn.sh ``` -Alternative setup URL: +Alternative setup URLs: ```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 +https://gitlab.com/hwdsl2/setup-ipsec-vpn/-/raw/master/vpnsetup.sh ``` If you are unable to download, open [vpnsetup.sh](vpnsetup.sh), then click the `Raw` button on the right. Press `Ctrl/Cmd+A` to select all, `Ctrl/Cmd+C` to copy, then paste into your favorite editor. @@ -173,11 +174,11 @@ curl -fL https://get.vpnsetup.net -o vpn.sh sudo sh vpn.sh ``` -Alternative setup URL: +Alternative setup URLs: ```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 +https://gitlab.com/hwdsl2/setup-ipsec-vpn/-/raw/master/vpnsetup.sh ``` If you are unable to download, open [vpnsetup.sh](vpnsetup.sh), then click the `Raw` button on the right. Press `Ctrl/Cmd+A` to select all, `Ctrl/Cmd+C` to copy, then paste into your favorite editor. @@ -232,10 +233,11 @@ You may also use `curl` to download: curl -fsSL https://get.vpnsetup.net/upg -o vpnup.sh && sudo sh vpnup.sh ``` -Alternative update URL: +Alternative update URLs: ```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 +https://gitlab.com/hwdsl2/setup-ipsec-vpn/-/raw/master/extras/vpnupgrade.sh ``` If you are unable to download, open [vpnupgrade.sh](extras/vpnupgrade.sh), then click the `Raw` button on the right. Press `Ctrl/Cmd+A` to select all, `Ctrl/Cmd+C` to copy, then paste into your favorite editor. @@ -263,6 +265,25 @@ To uninstall IPsec VPN, run the [helper script](extras/vpnuninstall.sh): wget https://get.vpnsetup.net/unst -O vpnunst.sh && sudo bash vpnunst.sh ``` +
+ +Alternative commands. + + +You may also use `curl` to download: + +```bash +curl -fsSL https://get.vpnsetup.net/unst -o vpnunst.sh && sudo bash vpnunst.sh +``` + +Alternative script URLs: + +```bash +https://github.com/hwdsl2/setup-ipsec-vpn/raw/master/extras/vpnuninstall.sh +https://gitlab.com/hwdsl2/setup-ipsec-vpn/-/raw/master/extras/vpnuninstall.sh +``` +
+ For more information, see [Uninstall the VPN](docs/uninstall.md). ## Feedback & Questions diff --git a/docs/images/badges/docker-stars.svg b/docs/images/badges/docker-stars.svg index 355ab08..4e209aa 100644 --- a/docs/images/badges/docker-stars.svg +++ b/docs/images/badges/docker-stars.svg @@ -1 +1 @@ -docker stars: 422docker stars422 +docker stars: 426docker stars426 diff --git a/docs/uninstall-zh.md b/docs/uninstall-zh.md index 2ed3c1c..0d223d2 100644 --- a/docs/uninstall-zh.md +++ b/docs/uninstall-zh.md @@ -15,6 +15,25 @@ wget https://get.vpnsetup.net/unst -O vpnunst.sh && sudo bash vpnunst.sh ``` +
+ +或者,你也可以使用以下命令。 + + +你也可以使用 `curl` 下载: + +```bash +curl -fsSL https://get.vpnsetup.net/unst -o vpnunst.sh && sudo bash vpnunst.sh +``` + +或者,你也可以使用这些链接: + +```bash +https://github.com/hwdsl2/setup-ipsec-vpn/raw/master/extras/vpnuninstall.sh +https://gitlab.com/hwdsl2/setup-ipsec-vpn/-/raw/master/extras/vpnuninstall.sh +``` +
+ ## 手动卸载 VPN 另外,你也可以手动卸载 IPsec VPN。按照以下步骤操作。这些命令需要用 `root` 账户运行,或者使用 `sudo`。 diff --git a/docs/uninstall.md b/docs/uninstall.md index 2bdea04..95bbcff 100644 --- a/docs/uninstall.md +++ b/docs/uninstall.md @@ -15,6 +15,25 @@ To uninstall IPsec VPN, run the [helper script](../extras/vpnuninstall.sh): wget https://get.vpnsetup.net/unst -O vpnunst.sh && sudo bash vpnunst.sh ``` +
+ +Alternative commands. + + +You may also use `curl` to download: + +```bash +curl -fsSL https://get.vpnsetup.net/unst -o vpnunst.sh && sudo bash vpnunst.sh +``` + +Alternative script URLs: + +```bash +https://github.com/hwdsl2/setup-ipsec-vpn/raw/master/extras/vpnuninstall.sh +https://gitlab.com/hwdsl2/setup-ipsec-vpn/-/raw/master/extras/vpnuninstall.sh +``` +
+ ## Manually uninstall the VPN Alternatively, you may manually uninstall IPsec VPN by following these steps. Commands must be run as `root`, or with `sudo`.