From 6139d8cc00a74d2ef682810065de9fac31c7477d Mon Sep 17 00:00:00 2001 From: "Andres G. Aragoneses" Date: Mon, 29 Feb 2016 16:26:42 +0800 Subject: [PATCH] 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. --- openvpn-install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openvpn-install.sh b/openvpn-install.sh index 21d4659..41a910b 100644 --- a/openvpn-install.sh +++ b/openvpn-install.sh @@ -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