1
0
mirror of synced 2024-11-24 05:46:09 +03:00

Compare commits

..

2 Commits

Author SHA1 Message Date
hwdsl2
1f62f28f29 Update docs 2022-07-08 18:22:49 -05:00
hwdsl2
f66e809f30 Update docs 2022-07-08 18:21:51 -05:00
8 changed files with 36 additions and 48 deletions

View File

@ -128,10 +128,10 @@ sh vpn.sh
<details>
<summary>
高级用户可以选择自定义 IKEv2 选项。
可选:在安装 VPN 时自定义 IKEv2 选项。
</summary>
高级用户可以指定一个域名作为 IKEv2 服务器地址。这是可选的。该域名必须是一个全称域名(FQDN)。示例如下:
在安装 VPN 时,你可以指定一个域名作为 IKEv2 服务器地址。这是可选的。该域名必须是一个全称域名(FQDN)。示例如下:
```bash
sudo VPN_DNS_NAME='vpn.example.com' sh vpn.sh
@ -189,13 +189,13 @@ https://gitlab.com/hwdsl2/setup-ipsec-vpn/-/raw/master/vpnsetup.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! :sparkles::tada::rocket::sparkles:
> 如果你喜欢这个项目,可以表达你的支持\*或感谢。
> 如果你喜欢这个项目,可以表达你的支持或感谢。
>
> <a href="https://ko-fi.com/hwdsl2" target="_blank"><img height="36" width="187" src="docs/images/kofi2.png" border="0" alt="Buy Me a Coffee at ko-fi.com" /></a> &nbsp;<a href="https://coindrop.to/hwdsl2" target="_blank"><img src="docs/images/embed-button.png" height="36" width="145" border="0" alt="Coindrop.to me" /></a>
>
> \* 访问仅限支持者的内容。
## 重要提示

View File

@ -128,10 +128,10 @@ After setup, you may optionally install [WireGuard](https://github.com/hwdsl2/wi
<details>
<summary>
Advanced users can optionally customize IKEv2 options.
Optional: Customize IKEv2 options during VPN setup.
</summary>
Advanced users can optionally specify a DNS name for the IKEv2 server address. The DNS name must be a fully qualified domain name (FQDN). Example:
When installing the VPN, you can optionally specify a DNS name for the IKEv2 server address. The DNS name must be a fully qualified domain name (FQDN). Example:
```bash
sudo VPN_DNS_NAME='vpn.example.com' sh vpn.sh
@ -189,13 +189,13 @@ 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 documentation](https://ko-fi.com/post/PDF-versions-of-Setup-IPsec-VPN-docs-for-easy-shar-E1E4DO69I)**
Enjoy your very own VPN! :sparkles::tada::rocket::sparkles:
> Like this project? You can show your support\* or appreciation.
> Like this project? You can show your support or appreciation.
>
> <a href="https://ko-fi.com/hwdsl2" target="_blank"><img height="36" width="187" src="docs/images/kofi2.png" border="0" alt="Buy Me a Coffee at ko-fi.com" /></a> &nbsp;<a href="https://coindrop.to/hwdsl2" target="_blank"><img src="docs/images/embed-button.png" height="36" width="145" border="0" alt="Coindrop.to me" /></a>
>
> \* Get access to supporter-only content.
## Important notes

View File

@ -16,15 +16,13 @@ IPsec/XAuth 模式也称为 "Cisco IPsec"。该模式通常能够比 IPsec/L2TP
* [iOS (iPhone/iPad)](#ios)
* [Linux](#linux)
> 如果你喜欢这个项目,可以表达你的支持\*或感谢。
> 如果你喜欢这个项目,可以表达你的支持或感谢。
>
> <a href="https://ko-fi.com/hwdsl2" target="_blank"><img height="36" width="187" src="images/kofi2.png" border="0" alt="Buy Me a Coffee at ko-fi.com" /></a> &nbsp;<a href="https://coindrop.to/hwdsl2" target="_blank"><img src="images/embed-button.png" height="36" width="145" border="0" alt="Coindrop.to me" /></a>
>
> \* 访问仅限支持者的内容。
## Windows
> :information_source: 你也可以使用 [IKEv2](ikev2-howto-zh.md)(推荐)或者 [IPsec/L2TP](clients-zh.md) 模式连接。无需安装额外的软件。
> 你也可以使用 [IKEv2](ikev2-howto-zh.md)(推荐)或者 [IPsec/L2TP](clients-zh.md) 模式连接。无需安装额外的软件。
1. 下载并安装免费的 [Shrew Soft VPN 客户端](https://www.shrew.net/download/vpn)。在安装时请选择 **Standard Edition**
**注:** 该 VPN 客户端 **不支持** Windows 10/11。
@ -48,7 +46,7 @@ VPN 连接成功后,你会在 VPN Connect 状态窗口中看到 **tunnel enabl
## OS X
> :information_source: 你也可以使用 [IKEv2](ikev2-howto-zh.md)(推荐)或者 [IPsec/L2TP](clients-zh.md) 模式连接。
> 你也可以使用 [IKEv2](ikev2-howto-zh.md)(推荐)或者 [IPsec/L2TP](clients-zh.md) 模式连接。
1. 打开系统偏好设置并转到网络部分。
1. 在窗口左下角单击 **+** 按钮。
@ -72,7 +70,7 @@ VPN 连接成功后,你会在 VPN Connect 状态窗口中看到 **tunnel enabl
## Android
> :information_source: 你也可以使用 [IKEv2](ikev2-howto-zh.md)(推荐)或者 [IPsec/L2TP](clients-zh.md) 模式连接。Android 12 仅支持 [IKEv2](ikev2-howto-zh.md) 模式。
> 你也可以使用 [IKEv2](ikev2-howto-zh.md)(推荐)或者 [IPsec/L2TP](clients-zh.md) 模式连接。Android 12 仅支持 [IKEv2](ikev2-howto-zh.md) 模式。
1. 启动 **设置** 应用程序。
1. 单击 **网络和互联网**。或者,如果你使用 Android 7 或更早版本,在 **无线和网络** 部分单击 **更多...**
@ -96,7 +94,7 @@ VPN 连接成功后,会在通知栏显示图标。最后你可以到 [这里](
## iOS
> :information_source: 你也可以使用 [IKEv2](ikev2-howto-zh.md)(推荐)或者 [IPsec/L2TP](clients-zh.md) 模式连接。
> 你也可以使用 [IKEv2](ikev2-howto-zh.md)(推荐)或者 [IPsec/L2TP](clients-zh.md) 模式连接。
1. 进入设置 -> 通用 -> VPN。
1. 单击 **添加VPN配置...**
@ -116,7 +114,7 @@ VPN 连接成功后,会在通知栏显示图标。最后你可以到 [这里](
## Linux
> :information_source: 你也可以使用 [IKEv2](ikev2-howto-zh.md) 模式连接(推荐)。
> 你也可以使用 [IKEv2](ikev2-howto-zh.md) 模式连接(推荐)。
### Fedora 和 CentOS

View File

@ -16,15 +16,13 @@ IPsec/XAuth mode is also called "Cisco IPsec". This mode is generally **faster t
* [iOS (iPhone/iPad)](#ios)
* [Linux](#linux)
> Like this project? You can show your support\* or appreciation.
> Like this project? You can show your support or appreciation.
>
> <a href="https://ko-fi.com/hwdsl2" target="_blank"><img height="36" width="187" src="images/kofi2.png" border="0" alt="Buy Me a Coffee at ko-fi.com" /></a> &nbsp;<a href="https://coindrop.to/hwdsl2" target="_blank"><img src="images/embed-button.png" height="36" width="145" border="0" alt="Coindrop.to me" /></a>
>
> \* Get access to supporter-only content.
## Windows
> :information_source: You may also connect using [IKEv2](ikev2-howto.md) (recommended) or [IPsec/L2TP](clients.md) mode. No additional software is required.
> You may also connect using [IKEv2](ikev2-howto.md) (recommended) or [IPsec/L2TP](clients.md) mode. No additional software is required.
1. Download and install the free [Shrew Soft VPN client](https://www.shrew.net/download/vpn). When prompted during install, select **Standard Edition**.
**Note:** This VPN client does NOT support Windows 10/11.
@ -48,7 +46,7 @@ If you get an error when trying to connect, see [Troubleshooting](clients.md#tro
## OS X
> :information_source: You may also connect using [IKEv2](ikev2-howto.md) (recommended) or [IPsec/L2TP](clients.md) mode.
> You may also connect using [IKEv2](ikev2-howto.md) (recommended) or [IPsec/L2TP](clients.md) mode.
1. Open System Preferences and go to the Network section.
1. Click the **+** button in the lower-left corner of the window.
@ -72,7 +70,7 @@ If you get an error when trying to connect, see [Troubleshooting](clients.md#tro
## Android
> :information_source: You may also connect using [IKEv2](ikev2-howto.md) (recommended) or [IPsec/L2TP](clients.md) mode. Android 12 only supports [IKEv2](ikev2-howto.md) mode.
> You may also connect using [IKEv2](ikev2-howto.md) (recommended) or [IPsec/L2TP](clients.md) mode. Android 12 only supports [IKEv2](ikev2-howto.md) mode.
1. Launch the **Settings** application.
1. Tap "Network & internet". Or, if using Android 7 or earlier, tap **More...** in the **Wireless & networks** section.
@ -96,7 +94,7 @@ If you get an error when trying to connect, see [Troubleshooting](clients.md#tro
## iOS
> :information_source: You may also connect using [IKEv2](ikev2-howto.md) (recommended) or [IPsec/L2TP](clients.md) mode.
> You may also connect using [IKEv2](ikev2-howto.md) (recommended) or [IPsec/L2TP](clients.md) mode.
1. Go to Settings -> General -> VPN.
1. Tap **Add VPN Configuration...**.
@ -116,7 +114,7 @@ If you get an error when trying to connect, see [Troubleshooting](clients.md#tro
## Linux
> :information_source: You may also connect using [IKEv2](ikev2-howto.md) mode (recommended).
> You may also connect using [IKEv2](ikev2-howto.md) mode (recommended).
### Fedora and CentOS

View File

@ -16,15 +16,13 @@
* [Linux](#linux)
* [故障排除](#故障排除)
> 如果你喜欢这个项目,可以表达你的支持\*或感谢。
> 如果你喜欢这个项目,可以表达你的支持或感谢。
>
> <a href="https://ko-fi.com/hwdsl2" target="_blank"><img height="36" width="187" src="images/kofi2.png" border="0" alt="Buy Me a Coffee at ko-fi.com" /></a> &nbsp;<a href="https://coindrop.to/hwdsl2" target="_blank"><img src="images/embed-button.png" height="36" width="145" border="0" alt="Coindrop.to me" /></a>
>
> \* 访问仅限支持者的内容。
## Windows
> :information_source: 你也可以使用 [IKEv2](ikev2-howto-zh.md) 模式连接(推荐)。
> 你也可以使用 [IKEv2](ikev2-howto-zh.md) 模式连接(推荐)。
### Windows 11
@ -117,7 +115,7 @@ Add-VpnConnection -Name 'My IPsec VPN' -ServerAddress '你的 VPN 服务器 IP'
## OS X
> :information_source: 你也可以使用 [IKEv2](ikev2-howto-zh.md)(推荐)或者 [IPsec/XAuth](clients-xauth-zh.md) 模式连接。
> 你也可以使用 [IKEv2](ikev2-howto-zh.md)(推荐)或者 [IPsec/XAuth](clients-xauth-zh.md) 模式连接。
1. 打开系统偏好设置并转到网络部分。
1. 在窗口左下角单击 **+** 按钮。
@ -143,7 +141,7 @@ Add-VpnConnection -Name 'My IPsec VPN' -ServerAddress '你的 VPN 服务器 IP'
## Android
> :information_source: 你也可以使用 [IKEv2](ikev2-howto-zh.md)(推荐)或者 [IPsec/XAuth](clients-xauth-zh.md) 模式连接。Android 12 仅支持 [IKEv2](ikev2-howto-zh.md) 模式。
> 你也可以使用 [IKEv2](ikev2-howto-zh.md)(推荐)或者 [IPsec/XAuth](clients-xauth-zh.md) 模式连接。Android 12 仅支持 [IKEv2](ikev2-howto-zh.md) 模式。
1. 启动 **设置** 应用程序。
1. 单击 **网络和互联网**。或者,如果你使用 Android 7 或更早版本,在 **无线和网络** 部分单击 **更多...**
@ -168,7 +166,7 @@ VPN 连接成功后,会在通知栏显示图标。最后你可以到 [这里](
## iOS
> :information_source: 你也可以使用 [IKEv2](ikev2-howto-zh.md)(推荐)或者 [IPsec/XAuth](clients-xauth-zh.md) 模式连接。
> 你也可以使用 [IKEv2](ikev2-howto-zh.md)(推荐)或者 [IPsec/XAuth](clients-xauth-zh.md) 模式连接。
1. 进入设置 -> 通用 -> VPN。
1. 单击 **添加VPN配置...**
@ -207,7 +205,7 @@ VPN 连接成功后,网络状态图标上会出现 VPN 指示。最后你可
## Linux
> :information_source: 你也可以使用 [IKEv2](ikev2-howto-zh.md) 模式连接(推荐)。
> 你也可以使用 [IKEv2](ikev2-howto-zh.md) 模式连接(推荐)。
### Ubuntu Linux

View File

@ -16,15 +16,13 @@ After [setting up your own VPN server](https://github.com/hwdsl2/setup-ipsec-vpn
* [Linux](#linux)
* [Troubleshooting](#troubleshooting)
> Like this project? You can show your support\* or appreciation.
> Like this project? You can show your support or appreciation.
>
> <a href="https://ko-fi.com/hwdsl2" target="_blank"><img height="36" width="187" src="images/kofi2.png" border="0" alt="Buy Me a Coffee at ko-fi.com" /></a> &nbsp;<a href="https://coindrop.to/hwdsl2" target="_blank"><img src="images/embed-button.png" height="36" width="145" border="0" alt="Coindrop.to me" /></a>
>
> \* Get access to supporter-only content.
## Windows
> :information_source: You may also connect using [IKEv2](ikev2-howto.md) mode (recommended).
> You may also connect using [IKEv2](ikev2-howto.md) mode (recommended).
### Windows 11
@ -117,7 +115,7 @@ If you get an error when trying to connect, see [Troubleshooting](#troubleshooti
## OS X
> :information_source: You may also connect using [IKEv2](ikev2-howto.md) (recommended) or [IPsec/XAuth](clients-xauth.md) mode.
> You may also connect using [IKEv2](ikev2-howto.md) (recommended) or [IPsec/XAuth](clients-xauth.md) mode.
1. Open System Preferences and go to the Network section.
1. Click the **+** button in the lower-left corner of the window.
@ -142,7 +140,7 @@ If you get an error when trying to connect, see [Troubleshooting](#troubleshooti
## Android
> :information_source: You may also connect using [IKEv2](ikev2-howto.md) (recommended) or [IPsec/XAuth](clients-xauth.md) mode. Android 12 only supports [IKEv2](ikev2-howto.md) mode.
> You may also connect using [IKEv2](ikev2-howto.md) (recommended) or [IPsec/XAuth](clients-xauth.md) mode. Android 12 only supports [IKEv2](ikev2-howto.md) mode.
1. Launch the **Settings** application.
1. Tap "Network & internet". Or, if using Android 7 or earlier, tap **More...** in the **Wireless & networks** section.
@ -167,7 +165,7 @@ If you get an error when trying to connect, see [Troubleshooting](#troubleshooti
## iOS
> :information_source: You may also connect using [IKEv2](ikev2-howto.md) (recommended) or [IPsec/XAuth](clients-xauth.md) mode.
> You may also connect using [IKEv2](ikev2-howto.md) (recommended) or [IPsec/XAuth](clients-xauth.md) mode.
1. Go to Settings -> General -> VPN.
1. Tap **Add VPN Configuration...**.
@ -206,7 +204,7 @@ If you get an error when trying to connect, see [Troubleshooting](#troubleshooti
## Linux
> :information_source: You may also connect using [IKEv2](ikev2-howto.md) mode (recommended).
> You may also connect using [IKEv2](ikev2-howto.md) mode (recommended).
### Ubuntu Linux

View File

@ -35,11 +35,9 @@ Libreswan 支持通过使用 RSA 签名算法的 X.509 Machine Certificates 来
* [Linux](#linux)
* [Mikrotik RouterOS](#routeros)
> 如果你喜欢这个项目,可以表达你的支持\*或感谢。
> 如果你喜欢这个项目,可以表达你的支持或感谢。
>
> <a href="https://ko-fi.com/hwdsl2" target="_blank"><img height="36" width="187" src="images/kofi2.png" border="0" alt="Buy Me a Coffee at ko-fi.com" /></a> &nbsp;<a href="https://coindrop.to/hwdsl2" target="_blank"><img src="images/embed-button.png" height="36" width="145" border="0" alt="Coindrop.to me" /></a>
>
> \* 访问仅限支持者的内容。
### Windows 7, 8, 10 和 11

View File

@ -35,11 +35,9 @@ By default, IKEv2 is automatically set up when running the VPN setup script. If
* [Linux](#linux)
* [Mikrotik RouterOS](#routeros)
> Like this project? You can show your support\* or appreciation.
> Like this project? You can show your support or appreciation.
>
> <a href="https://ko-fi.com/hwdsl2" target="_blank"><img height="36" width="187" src="images/kofi2.png" border="0" alt="Buy Me a Coffee at ko-fi.com" /></a> &nbsp;<a href="https://coindrop.to/hwdsl2" target="_blank"><img src="images/embed-button.png" height="36" width="145" border="0" alt="Coindrop.to me" /></a>
>
> \* Get access to supporter-only content.
### Windows 7, 8, 10 and 11