mirror of
https://github.com/hwdsl2/setup-ipsec-vpn.git
synced 2026-05-17 08:05:45 +03:00
Update docs
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
>
|
||||
> 比如 `m5a.large` 可能无法在 `ap-east-1` 区域部署(仅为假设)。在此情况下,你会在部署过程中遇到此错误:`The requested configuration is currently not supported. Please check the documentation for supported configurations`。新开放的 AWS 区域更容易出现此问题,因为它们提供的实例类型较少。如需了解更多关于实例可用性的信息,请参见 [https://instances.vantage.sh/](https://instances.vantage.sh/)。</details>
|
||||
|
||||
- VPN 服务器的操作系统(Ubuntu 24.04/**22.04**/20.04, Debian 12/11, Amazon Linux 2)
|
||||
- VPN 服务器的操作系统(Ubuntu **24.04**/22.04, Debian 12/11, Amazon Linux 2)
|
||||
- 你的 VPN 用户名
|
||||
- 你的 VPN 密码
|
||||
- 你的 VPN IPsec PSK(预共享密钥)
|
||||
|
||||
@@ -12,7 +12,7 @@ Available customization parameters:
|
||||
>
|
||||
> For example, you may not be able to deploy an `m5a.large` instance in `ap-east-1` (hypothetically). In that case, you might experience the following error during deployment: `The requested configuration is currently not supported. Please check the documentation for supported configurations`. Newly released regions are more prone to having this problem as there are less variety of instances. For more info about instance type availability, refer to [https://instances.vantage.sh/](https://instances.vantage.sh/).</details>
|
||||
|
||||
- OS for your VPN server (Ubuntu 24.04/**22.04**/20.04, Debian 12/11, Amazon Linux 2)
|
||||
- OS for your VPN server (Ubuntu **24.04**/22.04, Debian 12/11, Amazon Linux 2)
|
||||
- Your VPN username
|
||||
- Your VPN password
|
||||
- Your VPN IPsec PSK (pre-shared key)
|
||||
|
||||
@@ -377,7 +377,7 @@ touch /var/run/xl2tpd/l2tp-control
|
||||
```bash
|
||||
service strongswan restart
|
||||
|
||||
# 适用于 Ubuntu 20.04,如果 strongswan 服务不存在
|
||||
# 适用于 Ubuntu,如果 strongswan 服务不存在
|
||||
ipsec restart
|
||||
|
||||
service xl2tpd restart
|
||||
|
||||
@@ -376,7 +376,7 @@ Restart services:
|
||||
```bash
|
||||
service strongswan restart
|
||||
|
||||
# For Ubuntu 20.04, if strongswan service not found
|
||||
# For Ubuntu, if strongswan service not found
|
||||
ipsec restart
|
||||
|
||||
service xl2tpd restart
|
||||
|
||||
Reference in New Issue
Block a user