mirror of
https://github.com/hwdsl2/wireguard-install.git
synced 2024-07-07 01:32:15 +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>
|
<p align="center"><img src="docs/images/demo1.svg"></p>
|
||||||
</details>
|
</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:** 使用自定义选项进行交互式安装。
|
**选项 2:** 使用自定义选项进行交互式安装。
|
||||||
|
|
||||||
@ -95,6 +95,7 @@ sudo bash wireguard.sh
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
sudo bash wireguard.sh <<ANSWERS
|
sudo bash wireguard.sh <<ANSWERS
|
||||||
|
n
|
||||||
51820
|
51820
|
||||||
client
|
client
|
||||||
2
|
2
|
||||||
|
@ -44,7 +44,7 @@ See the script in action (terminal recording).
|
|||||||
<p align="center"><img src="docs/images/demo1.svg"></p>
|
<p align="center"><img src="docs/images/demo1.svg"></p>
|
||||||
</details>
|
</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.
|
**Option 2:** Interactive install using custom options.
|
||||||
|
|
||||||
@ -95,6 +95,7 @@ Next, create the custom install command using your inputs. Example:
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
sudo bash wireguard.sh <<ANSWERS
|
sudo bash wireguard.sh <<ANSWERS
|
||||||
|
n
|
||||||
51820
|
51820
|
||||||
client
|
client
|
||||||
2
|
2
|
||||||
|
Loading…
Reference in New Issue
Block a user