diff --git a/README.md b/README.md index a05ccf4..9bfb640 100644 --- a/README.md +++ b/README.md @@ -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