1
0
mirror of synced 2024-11-28 23:56:04 +03:00

Update docs

- Ref: #1040
This commit is contained in:
hwdsl2 2021-11-05 23:03:22 -05:00
parent a1179b7f71
commit 78b3766846
2 changed files with 3 additions and 3 deletions

View File

@ -574,10 +574,10 @@ ip route
在输出中查找以下行: `default via X.X.X.X ...`。记下这个网关 IP并且在下面的两个命令中使用。
从新的默认路由中排除你的 VPN 服务器 IP (替换为你自己的值):
从新的默认路由中排除你的 VPN 服务器的公有 IP替换为你自己的值
```bash
route add 你的VPN服务器IP gw X.X.X.X
route add 你的VPN服务器的公有IP gw X.X.X.X
```
如果你的 VPN 客户端是一个远程服务器,则必须从新的默认路由中排除你的本地电脑的公有 IP以避免 SSH 会话被断开 (替换为[实际值](https://www.ipchicken.com)

View File

@ -573,7 +573,7 @@ ip route
Find this line in the output: `default via X.X.X.X ...`. Write down this gateway IP for use in the two commands below.
Exclude your VPN server's IP from the new default route (replace with actual value):
Exclude your VPN server's public IP from the new default route (replace with actual value):
```bash
route add YOUR_VPN_SERVER_PUBLIC_IP gw X.X.X.X