Compare commits
No commits in common. "1f62f28f29514ff5c0d33a611e434aa1a2a09be5" and "8ca05e13d9e819b7caa2519bf7fb2acafe808e40" have entirely different histories.
1f62f28f29
...
8ca05e13d9
10
README-zh.md
10
README-zh.md
@ -128,10 +128,10 @@ sh vpn.sh
|
||||
|
||||
<details>
|
||||
<summary>
|
||||
可选:在安装 VPN 时自定义 IKEv2 选项。
|
||||
高级用户可以选择自定义 IKEv2 选项。
|
||||
</summary>
|
||||
|
||||
在安装 VPN 时,你可以指定一个域名作为 IKEv2 服务器地址。这是可选的。该域名必须是一个全称域名(FQDN)。示例如下:
|
||||
高级用户可以指定一个域名作为 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> <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>
|
||||
>
|
||||
> \* 访问仅限支持者的内容。
|
||||
|
||||
## 重要提示
|
||||
|
||||
|
10
README.md
10
README.md
@ -128,10 +128,10 @@ After setup, you may optionally install [WireGuard](https://github.com/hwdsl2/wi
|
||||
|
||||
<details>
|
||||
<summary>
|
||||
Optional: Customize IKEv2 options during VPN setup.
|
||||
Advanced users can optionally customize IKEv2 options.
|
||||
</summary>
|
||||
|
||||
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:
|
||||
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:
|
||||
|
||||
```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> <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
|
||||
|
||||
|
@ -16,13 +16,15 @@ 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> <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
|
||||
|
||||
> 你也可以使用 [IKEv2](ikev2-howto-zh.md)(推荐)或者 [IPsec/L2TP](clients-zh.md) 模式连接。无需安装额外的软件。
|
||||
> :information_source: 你也可以使用 [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。
|
||||
@ -46,7 +48,7 @@ VPN 连接成功后,你会在 VPN Connect 状态窗口中看到 **tunnel enabl
|
||||
|
||||
## OS X
|
||||
|
||||
> 你也可以使用 [IKEv2](ikev2-howto-zh.md)(推荐)或者 [IPsec/L2TP](clients-zh.md) 模式连接。
|
||||
> :information_source: 你也可以使用 [IKEv2](ikev2-howto-zh.md)(推荐)或者 [IPsec/L2TP](clients-zh.md) 模式连接。
|
||||
|
||||
1. 打开系统偏好设置并转到网络部分。
|
||||
1. 在窗口左下角单击 **+** 按钮。
|
||||
@ -70,7 +72,7 @@ VPN 连接成功后,你会在 VPN Connect 状态窗口中看到 **tunnel enabl
|
||||
|
||||
## Android
|
||||
|
||||
> 你也可以使用 [IKEv2](ikev2-howto-zh.md)(推荐)或者 [IPsec/L2TP](clients-zh.md) 模式连接。Android 12 仅支持 [IKEv2](ikev2-howto-zh.md) 模式。
|
||||
> :information_source: 你也可以使用 [IKEv2](ikev2-howto-zh.md)(推荐)或者 [IPsec/L2TP](clients-zh.md) 模式连接。Android 12 仅支持 [IKEv2](ikev2-howto-zh.md) 模式。
|
||||
|
||||
1. 启动 **设置** 应用程序。
|
||||
1. 单击 **网络和互联网**。或者,如果你使用 Android 7 或更早版本,在 **无线和网络** 部分单击 **更多...**。
|
||||
@ -94,7 +96,7 @@ VPN 连接成功后,会在通知栏显示图标。最后你可以到 [这里](
|
||||
|
||||
## iOS
|
||||
|
||||
> 你也可以使用 [IKEv2](ikev2-howto-zh.md)(推荐)或者 [IPsec/L2TP](clients-zh.md) 模式连接。
|
||||
> :information_source: 你也可以使用 [IKEv2](ikev2-howto-zh.md)(推荐)或者 [IPsec/L2TP](clients-zh.md) 模式连接。
|
||||
|
||||
1. 进入设置 -> 通用 -> VPN。
|
||||
1. 单击 **添加VPN配置...**。
|
||||
@ -114,7 +116,7 @@ VPN 连接成功后,会在通知栏显示图标。最后你可以到 [这里](
|
||||
|
||||
## Linux
|
||||
|
||||
> 你也可以使用 [IKEv2](ikev2-howto-zh.md) 模式连接(推荐)。
|
||||
> :information_source: 你也可以使用 [IKEv2](ikev2-howto-zh.md) 模式连接(推荐)。
|
||||
|
||||
### Fedora 和 CentOS
|
||||
|
||||
|
@ -16,13 +16,15 @@ 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> <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
|
||||
|
||||
> You may also connect using [IKEv2](ikev2-howto.md) (recommended) or [IPsec/L2TP](clients.md) mode. No additional software is required.
|
||||
> :information_source: 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.
|
||||
@ -46,7 +48,7 @@ If you get an error when trying to connect, see [Troubleshooting](clients.md#tro
|
||||
|
||||
## OS X
|
||||
|
||||
> You may also connect using [IKEv2](ikev2-howto.md) (recommended) or [IPsec/L2TP](clients.md) mode.
|
||||
> :information_source: 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.
|
||||
@ -70,7 +72,7 @@ If you get an error when trying to connect, see [Troubleshooting](clients.md#tro
|
||||
|
||||
## Android
|
||||
|
||||
> 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.
|
||||
> :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.
|
||||
|
||||
1. Launch the **Settings** application.
|
||||
1. Tap "Network & internet". Or, if using Android 7 or earlier, tap **More...** in the **Wireless & networks** section.
|
||||
@ -94,7 +96,7 @@ If you get an error when trying to connect, see [Troubleshooting](clients.md#tro
|
||||
|
||||
## iOS
|
||||
|
||||
> You may also connect using [IKEv2](ikev2-howto.md) (recommended) or [IPsec/L2TP](clients.md) mode.
|
||||
> :information_source: 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...**.
|
||||
@ -114,7 +116,7 @@ If you get an error when trying to connect, see [Troubleshooting](clients.md#tro
|
||||
|
||||
## Linux
|
||||
|
||||
> You may also connect using [IKEv2](ikev2-howto.md) mode (recommended).
|
||||
> :information_source: You may also connect using [IKEv2](ikev2-howto.md) mode (recommended).
|
||||
|
||||
### Fedora and CentOS
|
||||
|
||||
|
@ -16,13 +16,15 @@
|
||||
* [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> <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
|
||||
|
||||
> 你也可以使用 [IKEv2](ikev2-howto-zh.md) 模式连接(推荐)。
|
||||
> :information_source: 你也可以使用 [IKEv2](ikev2-howto-zh.md) 模式连接(推荐)。
|
||||
|
||||
### Windows 11
|
||||
|
||||
@ -115,7 +117,7 @@ Add-VpnConnection -Name 'My IPsec VPN' -ServerAddress '你的 VPN 服务器 IP'
|
||||
|
||||
## OS X
|
||||
|
||||
> 你也可以使用 [IKEv2](ikev2-howto-zh.md)(推荐)或者 [IPsec/XAuth](clients-xauth-zh.md) 模式连接。
|
||||
> :information_source: 你也可以使用 [IKEv2](ikev2-howto-zh.md)(推荐)或者 [IPsec/XAuth](clients-xauth-zh.md) 模式连接。
|
||||
|
||||
1. 打开系统偏好设置并转到网络部分。
|
||||
1. 在窗口左下角单击 **+** 按钮。
|
||||
@ -141,7 +143,7 @@ Add-VpnConnection -Name 'My IPsec VPN' -ServerAddress '你的 VPN 服务器 IP'
|
||||
|
||||
## Android
|
||||
|
||||
> 你也可以使用 [IKEv2](ikev2-howto-zh.md)(推荐)或者 [IPsec/XAuth](clients-xauth-zh.md) 模式连接。Android 12 仅支持 [IKEv2](ikev2-howto-zh.md) 模式。
|
||||
> :information_source: 你也可以使用 [IKEv2](ikev2-howto-zh.md)(推荐)或者 [IPsec/XAuth](clients-xauth-zh.md) 模式连接。Android 12 仅支持 [IKEv2](ikev2-howto-zh.md) 模式。
|
||||
|
||||
1. 启动 **设置** 应用程序。
|
||||
1. 单击 **网络和互联网**。或者,如果你使用 Android 7 或更早版本,在 **无线和网络** 部分单击 **更多...**。
|
||||
@ -166,7 +168,7 @@ VPN 连接成功后,会在通知栏显示图标。最后你可以到 [这里](
|
||||
|
||||
## iOS
|
||||
|
||||
> 你也可以使用 [IKEv2](ikev2-howto-zh.md)(推荐)或者 [IPsec/XAuth](clients-xauth-zh.md) 模式连接。
|
||||
> :information_source: 你也可以使用 [IKEv2](ikev2-howto-zh.md)(推荐)或者 [IPsec/XAuth](clients-xauth-zh.md) 模式连接。
|
||||
|
||||
1. 进入设置 -> 通用 -> VPN。
|
||||
1. 单击 **添加VPN配置...**。
|
||||
@ -205,7 +207,7 @@ VPN 连接成功后,网络状态图标上会出现 VPN 指示。最后你可
|
||||
|
||||
## Linux
|
||||
|
||||
> 你也可以使用 [IKEv2](ikev2-howto-zh.md) 模式连接(推荐)。
|
||||
> :information_source: 你也可以使用 [IKEv2](ikev2-howto-zh.md) 模式连接(推荐)。
|
||||
|
||||
### Ubuntu Linux
|
||||
|
||||
|
@ -16,13 +16,15 @@ 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> <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
|
||||
|
||||
> You may also connect using [IKEv2](ikev2-howto.md) mode (recommended).
|
||||
> :information_source: You may also connect using [IKEv2](ikev2-howto.md) mode (recommended).
|
||||
|
||||
### Windows 11
|
||||
|
||||
@ -115,7 +117,7 @@ If you get an error when trying to connect, see [Troubleshooting](#troubleshooti
|
||||
|
||||
## OS X
|
||||
|
||||
> You may also connect using [IKEv2](ikev2-howto.md) (recommended) or [IPsec/XAuth](clients-xauth.md) mode.
|
||||
> :information_source: 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.
|
||||
@ -140,7 +142,7 @@ If you get an error when trying to connect, see [Troubleshooting](#troubleshooti
|
||||
|
||||
## Android
|
||||
|
||||
> 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.
|
||||
> :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.
|
||||
|
||||
1. Launch the **Settings** application.
|
||||
1. Tap "Network & internet". Or, if using Android 7 or earlier, tap **More...** in the **Wireless & networks** section.
|
||||
@ -165,7 +167,7 @@ If you get an error when trying to connect, see [Troubleshooting](#troubleshooti
|
||||
|
||||
## iOS
|
||||
|
||||
> You may also connect using [IKEv2](ikev2-howto.md) (recommended) or [IPsec/XAuth](clients-xauth.md) mode.
|
||||
> :information_source: 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...**.
|
||||
@ -204,7 +206,7 @@ If you get an error when trying to connect, see [Troubleshooting](#troubleshooti
|
||||
|
||||
## Linux
|
||||
|
||||
> You may also connect using [IKEv2](ikev2-howto.md) mode (recommended).
|
||||
> :information_source: You may also connect using [IKEv2](ikev2-howto.md) mode (recommended).
|
||||
|
||||
### Ubuntu Linux
|
||||
|
||||
|
@ -35,9 +35,11 @@ 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> <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
|
||||
|
||||
|
@ -35,9 +35,11 @@ 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> <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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user