mirror of
https://github.com/hwdsl2/openvpn-install.git
synced 2026-01-10 18:36:17 +00:00
Update docs
This commit is contained in:
@@ -44,7 +44,7 @@ sudo bash openvpn.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 端口 1194。
|
||||
对于有外部防火墙的服务器(比如 [EC2](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-security-groups.html)/[GCE](https://cloud.google.com/firewall/docs/firewalls)),请为 VPN 打开 UDP 端口 1194。
|
||||
|
||||
**选项 2:** 使用自定义选项进行交互式安装。
|
||||
|
||||
@@ -95,6 +95,7 @@ sudo bash openvpn.sh
|
||||
|
||||
```bash
|
||||
sudo bash openvpn.sh <<ANSWERS
|
||||
n
|
||||
1
|
||||
1194
|
||||
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 1194 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 1194 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 openvpn.sh <<ANSWERS
|
||||
n
|
||||
1
|
||||
1194
|
||||
2
|
||||
|
||||
Reference in New Issue
Block a user