1
0
mirror of synced 2024-11-27 23:36:02 +03:00

Compare commits

..

2 Commits

Author SHA1 Message Date
hwdsl2
2bd37ccf66 Cleanup
- Save a redirect and make VPN setup slightly faster by using
  raw.githubusercontent.com directly instead of
  https://github.com/hwdsl2/setup-ipsec-vpn/raw/...
2022-10-23 14:05:57 -05:00
hwdsl2
5732125abf Update docs 2022-10-23 11:21:29 -05:00
12 changed files with 20 additions and 20 deletions

View File

@ -264,7 +264,7 @@ sudo ikev2.sh
**[配置 IPsec/XAuth ("Cisco IPsec") VPN 客户端](docs/clients-xauth-zh.md)**
**[下载 VPN 文档的 PDF 版本(支持者)](https://ko-fi.com/post/PDF-versions-of-Setup-IPsec-VPN-docs-for-easy-shar-E1E4DO69I)**
**[下载 VPN 文档的 PDF 版本(支持者)](https://ko-fi.com/post/Support-this-project-and-get-access-to-supporter-o-X8X5FVFZC)**
开始使用自己的专属 VPN! :sparkles::tada::rocket::sparkles:

View File

@ -264,7 +264,7 @@ Get your computer or device to use the VPN. Please refer to:
**[Configure IPsec/XAuth ("Cisco IPsec") VPN Clients](docs/clients-xauth.md)**
**[Download PDF versions of VPN docs (supporters)](https://ko-fi.com/post/PDF-versions-of-Setup-IPsec-VPN-docs-for-easy-shar-E1E4DO69I)**
**[Download PDF versions of VPN docs (supporters)](https://ko-fi.com/post/Support-this-project-and-get-access-to-supporter-o-O5O7FVF8J)**
Enjoy your very own VPN! :sparkles::tada::rocket::sparkles:

View File

@ -4,4 +4,4 @@ export VPN_IPSEC_PSK=$1
export VPN_USER=$2
export VPN_PASSWORD=$3
wget -t 3 -T 30 -nv -O vpn.sh https://github.com/hwdsl2/setup-ipsec-vpn/raw/master/vpnsetup.sh && sh vpn.sh
wget -t 3 -T 30 -nv -O vpn.sh https://raw.githubusercontent.com/hwdsl2/setup-ipsec-vpn/master/vpnsetup.sh && sh vpn.sh

View File

@ -67,7 +67,7 @@ Libreswan 支持通过使用 RSA 签名算法的 X.509 Machine Certificates 来
#### 手动导入配置
[**屏幕录影:** 在 Windows 上手动导入 IKEv2 配置(支持者)](https://ko-fi.com/post/Video-IKEv2-Manually-Import-Configuration-H2H1DS8SV)
[**屏幕录影:** 在 Windows 上手动导入 IKEv2 配置(支持者)](https://ko-fi.com/post/Support-this-project-and-get-access-to-supporter-o-X8X5FVFZC)
或者,**Windows 7, 8, 10 和 11** 用户可以手动导入 IKEv2 配置:
@ -146,7 +146,7 @@ Libreswan 支持通过使用 RSA 签名算法的 X.509 Machine Certificates 来
### OS X (macOS)
[**屏幕录影:** 在 macOS 上导入 IKEv2 配置并连接(支持者)](https://ko-fi.com/post/Video-IKEv2-Import-Configuration-and-Connect-on-m-X8X7F38K1)
[**屏幕录影:** 在 macOS 上导入 IKEv2 配置并连接(支持者)](https://ko-fi.com/post/Support-this-project-and-get-access-to-supporter-o-X8X5FVFZC)
首先,将生成的 `.mobileconfig` 文件安全地传送到你的 Mac然后双击并按提示操作以导入为 macOS 配置描述文件。如果你的 Mac 运行 macOS Big Sur 或更新版本,打开系统偏好设置并转到描述文件部分以完成导入。在完成之后,检查并确保 "IKEv2 VPN" 显示在系统偏好设置 -> 描述文件中。
@ -202,7 +202,7 @@ Libreswan 支持通过使用 RSA 签名算法的 X.509 Machine Certificates 来
### iOS
[**屏幕录影:** 在 iOS (iPhone & iPad) 上导入 IKEv2 配置并连接(支持者)](https://ko-fi.com/post/Video-IKEv2-Import-Configuration-and-Connect-on-i-T6T1F38M7)
[**屏幕录影:** 在 iOS (iPhone & iPad) 上导入 IKEv2 配置并连接(支持者)](https://ko-fi.com/post/Support-this-project-and-get-access-to-supporter-o-X8X5FVFZC)
首先,将生成的 `.mobileconfig` 文件安全地传送到你的 iOS 设备,并且导入为 iOS 配置描述文件。要传送文件,你可以使用:
@ -262,7 +262,7 @@ Libreswan 支持通过使用 RSA 签名算法的 X.509 Machine Certificates 来
### Android
[**屏幕录影:** 使用 Android strongSwan VPN 客户端连接(支持者)](https://ko-fi.com/post/Video-Connect-to-IKEv2-using-Android-strongSwan-V-D1D3F2ITM)
[**屏幕录影:** 使用 Android strongSwan VPN 客户端连接(支持者)](https://ko-fi.com/post/Support-this-project-and-get-access-to-supporter-o-X8X5FVFZC)
1. 将生成的 `.sswan` 文件安全地传送到你的 Android 设备。
1. 从 [**Google Play**](https://play.google.com/store/apps/details?id=org.strongswan.android)[**F-Droid**](https://f-droid.org/en/packages/org.strongswan.android/) 或 [**strongSwan 下载网站**](https://download.strongswan.org/Android/)下载并安装 strongSwan VPN 客户端。
@ -280,7 +280,7 @@ Libreswan 支持通过使用 RSA 签名算法的 X.509 Machine Certificates 来
或者Android 11+ 用户也可以使用系统自带的 IKEv2 客户端连接。
</summary>
[**屏幕录影:** 使用 Android 11+ 系统自带的 VPN 客户端连接(支持者)](https://ko-fi.com/post/Video-Connect-to-IKEv2-using-Native-VPN-Client-on-F1F3F2IYW)
[**屏幕录影:** 使用 Android 11+ 系统自带的 VPN 客户端连接(支持者)](https://ko-fi.com/post/Support-this-project-and-get-access-to-supporter-o-X8X5FVFZC)
1. 将生成的 `.p12` 文件安全地传送到你的 Android 设备。
1. 启动 **设置** App。

View File

@ -67,7 +67,7 @@ If you get an error when trying to connect, see [Troubleshooting](#troubleshooti
#### Manually import configuration
[**Screencast:** IKEv2 Manually Import Configuration on Windows (supporters)](https://ko-fi.com/post/Video-IKEv2-Manually-Import-Configuration-H2H1DS8SV)
[**Screencast:** IKEv2 Manually Import Configuration on Windows (supporters)](https://ko-fi.com/post/Support-this-project-and-get-access-to-supporter-o-O5O7FVF8J)
Alternatively, **Windows 7, 8, 10 and 11** users can manually import IKEv2 configuration:
@ -146,7 +146,7 @@ Using the following steps, you can remove the VPN connection and optionally rest
### OS X (macOS)
[**Screencast:** IKEv2 Import Configuration and Connect on macOS (supporters)](https://ko-fi.com/post/Video-IKEv2-Import-Configuration-and-Connect-on-m-X8X7F38K1)
[**Screencast:** IKEv2 Import Configuration and Connect on macOS (supporters)](https://ko-fi.com/post/Support-this-project-and-get-access-to-supporter-o-O5O7FVF8J)
First, securely transfer the generated `.mobileconfig` file to your Mac, then double-click and follow the prompts to import as a macOS profile. If your Mac runs macOS Big Sur or newer, open System Preferences and go to the Profiles section to finish importing. When finished, check to make sure "IKEv2 VPN" is listed under System Preferences -> Profiles.
@ -202,7 +202,7 @@ To remove the IKEv2 VPN connection, open System Preferences -> Profiles and remo
### iOS
[**Screencast:** IKEv2 Import Configuration and Connect on iOS (iPhone & iPad) (supporters)](https://ko-fi.com/post/Video-IKEv2-Import-Configuration-and-Connect-on-i-T6T1F38M7)
[**Screencast:** IKEv2 Import Configuration and Connect on iOS (iPhone & iPad) (supporters)](https://ko-fi.com/post/Support-this-project-and-get-access-to-supporter-o-O5O7FVF8J)
First, securely transfer the generated `.mobileconfig` file to your iOS device, then import it as an iOS profile. To transfer the file, you may use:
@ -262,7 +262,7 @@ To remove the IKEv2 VPN connection, open Settings -> General -> VPN & Device Man
### Android
[**Screencast:** Connect using Android strongSwan VPN Client (supporters)](https://ko-fi.com/post/Video-Connect-to-IKEv2-using-Android-strongSwan-V-D1D3F2ITM)
[**Screencast:** Connect using Android strongSwan VPN Client (supporters)](https://ko-fi.com/post/Support-this-project-and-get-access-to-supporter-o-O5O7FVF8J)
1. Securely transfer the generated `.sswan` file to your Android device.
1. Install strongSwan VPN Client from [**Google Play**](https://play.google.com/store/apps/details?id=org.strongswan.android), [**F-Droid**](https://f-droid.org/en/packages/org.strongswan.android/) or [**strongSwan download server**](https://download.strongswan.org/Android/).
@ -280,7 +280,7 @@ To remove the IKEv2 VPN connection, open Settings -> General -> VPN & Device Man
Alternatively, Android 11+ users can also connect using the native IKEv2 client.
</summary>
[**Screencast:** Connect using Native VPN Client on Android 11+ (supporters)](https://ko-fi.com/post/Video-Connect-to-IKEv2-using-Native-VPN-Client-on-F1F3F2IYW)
[**Screencast:** Connect using Native VPN Client on Android 11+ (supporters)](https://ko-fi.com/post/Support-this-project-and-get-access-to-supporter-o-O5O7FVF8J)
1. Securely transfer the generated `.p12` file to your Android device.
1. Launch the **Settings** application.

View File

@ -245,7 +245,7 @@ install_pkgs() {
}
get_setup_url() {
base_url1="https://github.com/hwdsl2/setup-ipsec-vpn/raw/master"
base_url1="https://raw.githubusercontent.com/hwdsl2/setup-ipsec-vpn/master"
base_url2="https://gitlab.com/hwdsl2/setup-ipsec-vpn/-/raw/master"
sh_file="vpnsetup_ubuntu.sh"
if [ "$os_type" = "centos" ] || [ "$os_type" = "rhel" ] || [ "$os_type" = "rocky" ] \

View File

@ -141,7 +141,7 @@ install_pkgs() {
}
get_setup_url() {
base_url1="https://github.com/hwdsl2/setup-ipsec-vpn/raw/master/extras"
base_url1="https://raw.githubusercontent.com/hwdsl2/setup-ipsec-vpn/master/extras"
base_url2="https://gitlab.com/hwdsl2/setup-ipsec-vpn/-/raw/master/extras"
sh_file="vpnupgrade_ubuntu.sh"
if [ "$os_type" = "centos" ] || [ "$os_type" = "rhel" ] || [ "$os_type" = "rocky" ] \

View File

@ -199,7 +199,7 @@ EOF
update_ikev2_script() {
bigecho "Updating IKEv2 script..."
cd /opt/src || exit 1
ikev2_url="https://github.com/hwdsl2/setup-ipsec-vpn/raw/master/extras/ikev2setup.sh"
ikev2_url="https://raw.githubusercontent.com/hwdsl2/setup-ipsec-vpn/master/extras/ikev2setup.sh"
(
set -x
wget -t 3 -T 30 -q -O ikev2.sh.new "$ikev2_url"

View File

@ -195,7 +195,7 @@ restore_selinux() {
update_ikev2_script() {
bigecho "Updating IKEv2 script..."
cd /opt/src || exit 1
ikev2_url="https://github.com/hwdsl2/setup-ipsec-vpn/raw/master/extras/ikev2setup.sh"
ikev2_url="https://raw.githubusercontent.com/hwdsl2/setup-ipsec-vpn/master/extras/ikev2setup.sh"
(
set -x
wget -t 3 -T 30 -q -O ikev2.sh.new "$ikev2_url"

View File

@ -247,7 +247,7 @@ restore_selinux() {
update_ikev2_script() {
bigecho "Updating IKEv2 script..."
cd /opt/src || exit 1
ikev2_url="https://github.com/hwdsl2/setup-ipsec-vpn/raw/master/extras/ikev2setup.sh"
ikev2_url="https://raw.githubusercontent.com/hwdsl2/setup-ipsec-vpn/master/extras/ikev2setup.sh"
(
set -x
wget -t 3 -T 30 -q -O ikev2.sh.new "$ikev2_url"

View File

@ -258,7 +258,7 @@ EOF
update_ikev2_script() {
bigecho "Updating IKEv2 script..."
cd /opt/src || exit 1
ikev2_url="https://github.com/hwdsl2/setup-ipsec-vpn/raw/master/extras/ikev2setup.sh"
ikev2_url="https://raw.githubusercontent.com/hwdsl2/setup-ipsec-vpn/master/extras/ikev2setup.sh"
(
set -x
wget -t 3 -T 30 -q -O ikev2.sh.new "$ikev2_url"

View File

@ -245,7 +245,7 @@ install_pkgs() {
}
get_setup_url() {
base_url1="https://github.com/hwdsl2/setup-ipsec-vpn/raw/master"
base_url1="https://raw.githubusercontent.com/hwdsl2/setup-ipsec-vpn/master"
base_url2="https://gitlab.com/hwdsl2/setup-ipsec-vpn/-/raw/master"
sh_file="vpnsetup_ubuntu.sh"
if [ "$os_type" = "centos" ] || [ "$os_type" = "rhel" ] || [ "$os_type" = "rocky" ] \