mirror of
https://github.com/hwdsl2/wireguard-install.git
synced 2024-06-30 06:15:38 +02:00
Update docs
This commit is contained in:
parent
de2b25162d
commit
591b3cdcf6
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user