Some updates about NAT
This commit is contained in:
parent
8fcd1bbab0
commit
ea8f8de201
1 changed files with 4 additions and 2 deletions
|
|
@ -39,7 +39,7 @@ If you have any question, head to the [FAQ](#faq) first.
|
||||||
|
|
||||||
### Headless install
|
### Headless install
|
||||||
|
|
||||||
It's also possible to run the script headless.
|
It's also possible to run the script headless, e.g. without waiting for user input, in an automated manner.
|
||||||
|
|
||||||
Example usage:
|
Example usage:
|
||||||
```bash
|
```bash
|
||||||
|
|
@ -51,11 +51,13 @@ export PROTOCOL_CHOICE=1
|
||||||
export DNS=1
|
export DNS=1
|
||||||
export COMPRESSION_ENABLED=n
|
export COMPRESSION_ENABLED=n
|
||||||
export CUSTOMIZE_ENC=n
|
export CUSTOMIZE_ENC=n
|
||||||
export CLIENT=clientName
|
export CLIENT=clientname
|
||||||
export PASS=1
|
export PASS=1
|
||||||
./openvpn-install.sh
|
./openvpn-install.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
|
If the server is behind NAT, you can specify its endpoint with the `PUBLICIP` variable. It the endpoint is the public IP address which it is behind, you can use `export PUBLICIP=$(curl ifconfig.co)`.
|
||||||
|
|
||||||
## Features
|
## Features
|
||||||
|
|
||||||
- Installs and configures a ready-to-use OpenVPN server
|
- Installs and configures a ready-to-use OpenVPN server
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue