Some updates about NAT

This commit is contained in:
Stanislas 2019-02-25 20:01:43 +01:00 committed by GitHub
parent 8fcd1bbab0
commit ea8f8de201
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -39,7 +39,7 @@ If you have any question, head to the [FAQ](#faq) first.
### 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:
```bash
@ -51,11 +51,13 @@ export PROTOCOL_CHOICE=1
export DNS=1
export COMPRESSION_ENABLED=n
export CUSTOMIZE_ENC=n
export CLIENT=clientName
export CLIENT=clientname
export PASS=1
./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
- Installs and configures a ready-to-use OpenVPN server