Update docs

This commit is contained in:
hwdsl2 2021-04-30 09:42:36 -05:00
parent 9bd716dda8
commit 21a72d6232
4 changed files with 9 additions and 11 deletions

View File

@ -406,17 +406,16 @@ grep pluto /var/log/secure
grep xl2tpd /var/log/messages
```
IPsec VPN 服务器状态:
查 IPsec VPN 服务器状态:
```bash
ipsec status
ipsec verify
```
显示当前已建立的 VPN 连接:
查看当前已建立的 VPN 连接:
```bash
ipsec whack --trafficstatus
ipsec trafficstatus
```
## 使用命令行配置 Linux VPN 客户端

View File

@ -405,17 +405,16 @@ grep pluto /var/log/secure
grep xl2tpd /var/log/messages
```
Check status of the IPsec VPN server:
Check the status of the IPsec VPN server:
```bash
ipsec status
ipsec verify
```
Show current established VPN connections:
Show currently established VPN connections:
```bash
ipsec whack --trafficstatus
ipsec trafficstatus
```
## Configure Linux VPN clients using the command line

View File

@ -44,7 +44,7 @@ sudo bash /opt/src/ikev2.sh --auto
错误:"bash: /opt/src/ikev2.sh: No such file or directory".
</summary>
如果你使用了较早版本的 VPN 安装脚本,这是正常的。请使用以下命令下载并运行 IKEv2 辅助脚本:
如果你使用了较早版本的 VPN 安装脚本,这是正常的。请下载并运行 IKEv2 辅助脚本:
```
wget https://git.io/ikev2setup -O /opt/src/ikev2.sh && sudo bash /opt/src/ikev2.sh --auto

View File

@ -44,7 +44,7 @@ The <a href="../extras/ikev2setup.sh" target="_blank">script</a> must be run usi
Error: "bash: /opt/src/ikev2.sh: No such file or directory".
</summary>
This is normal if you used an older version of the VPN setup script. Please download and run the IKEv2 helper script using this command:
This is normal if you used an older version of the VPN setup script. Please download and run the IKEv2 helper script:
```
wget https://git.io/ikev2setup -O /opt/src/ikev2.sh && sudo bash /opt/src/ikev2.sh --auto
@ -129,7 +129,7 @@ To customize IKEv2 or client options, run this script without arguments.
Alternatively, you can manually create the VPN connection. Click <a href="https://wiki.strongswan.org/projects/strongswan/wiki/Win7Config" target="_blank">here</a> for instructions. If you specified the server's DNS name (instead of its IP address) during IKEv2 setup, you must enter the DNS name in the **Internet address** field.
1. (**Required** if you manually created the VPN connection) Enable stronger ciphers for IKEv2 with a one-time registry change. Download and import the `.reg` file below, or run the following from an elevated command prompt. Read more <a href="https://wiki.strongswan.org/projects/strongswan/wiki/WindowsClients#AES-256-CBC-and-MODP2048" target="_blank">here</a>.
1. (**This step is required** if you manually created the VPN connection) Enable stronger ciphers for IKEv2 with a one-time registry change. Download and import the `.reg` file below, or run the following from an elevated command prompt. Read more <a href="https://wiki.strongswan.org/projects/strongswan/wiki/WindowsClients#AES-256-CBC-and-MODP2048" target="_blank">here</a>.
- For Windows 7, 8.x and 10 ([download .reg file](https://dl.ls20.com/reg-files/v1/Enable_Stronger_Ciphers_for_IKEv2_on_Windows.reg))