mirror of
https://github.com/Nyr/openvpn-install.git
synced 2024-11-23 21:46:08 +03:00
NAT: explicitly mention FQDN besides IP
Specifying a fully quialified domain name also works as input, so it can be mentioned to the user. Also fixed the nitpick of preceding "i.e." before LowEndSpirit, just in case the user doesn't know the service at all.
This commit is contained in:
parent
e8958b969e
commit
6139d8cc00
@ -345,9 +345,9 @@ crl-verify crl.pem" >> /etc/openvpn/server.conf
|
||||
echo ""
|
||||
echo "Looks like your server is behind a NAT!"
|
||||
echo ""
|
||||
echo "If your server is NATed (LowEndSpirit), I need to know the external IP"
|
||||
echo "If your server is NATed (i.e. LowEndSpirit), I need to know the external IP or FQDN"
|
||||
echo "If that's not the case, just ignore this and leave the next field blank"
|
||||
read -p "External IP: " -e USEREXTERNALIP
|
||||
read -p "External IP or FQDN: " -e USEREXTERNALIP
|
||||
if [[ "$USEREXTERNALIP" != "" ]]; then
|
||||
IP=$USEREXTERNALIP
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user