Update docs

This commit is contained in:
hwdsl2 2023-09-12 23:00:02 -05:00
parent de2b25162d
commit 591b3cdcf6
2 changed files with 4 additions and 2 deletions

View File

@ -44,7 +44,7 @@ sudo bash wireguard.sh --auto
<p align="center"><img src="docs/images/demo1.svg"></p>
</details>
对于有外部防火墙的服务器(比如 [EC2](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-security-groups.html)/[GCE](https://cloud.google.com/vpc/docs/firewalls)),请为 VPN 打开 UDP 端口 51820。
对于有外部防火墙的服务器(比如 [EC2](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-security-groups.html)/[GCE](https://cloud.google.com/firewall/docs/firewalls)),请为 VPN 打开 UDP 端口 51820。
**选项 2:** 使用自定义选项进行交互式安装。
@ -95,6 +95,7 @@ sudo bash wireguard.sh
```bash
sudo bash wireguard.sh <<ANSWERS
n
51820
client
2

View File

@ -44,7 +44,7 @@ See the script in action (terminal recording).
<p align="center"><img src="docs/images/demo1.svg"></p>
</details>
For servers with an external firewall (e.g. [EC2](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-security-groups.html)/[GCE](https://cloud.google.com/vpc/docs/firewalls)), open UDP port 51820 for the VPN.
For servers with an external firewall (e.g. [EC2](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-security-groups.html)/[GCE](https://cloud.google.com/firewall/docs/firewalls)), open UDP port 51820 for the VPN.
**Option 2:** Interactive install using custom options.
@ -95,6 +95,7 @@ Next, create the custom install command using your inputs. Example:
```bash
sudo bash wireguard.sh <<ANSWERS
n
51820
client
2