mirror of
https://github.com/namibia/openvpn-install.git
synced 2024-12-23 15:28:55 +00:00
clarify that the external address can be either an IP or a domain name
This commit is contained in:
parent
3c8a6a0469
commit
b910dbb9ec
@ -430,9 +430,10 @@ tls-auth tls-auth.key 0" >> /etc/openvpn/server.conf
|
|||||||
echo ""
|
echo ""
|
||||||
echo "Looks like your server is behind a NAT!"
|
echo "Looks like your server is behind a NAT!"
|
||||||
echo ""
|
echo ""
|
||||||
echo "If your server is NATed (e.g. LowEndSpirit, Scaleway), I need to know the external IP"
|
echo "If your server is NATed (e.g. LowEndSpirit, Scaleway, or behind a router),"
|
||||||
|
echo "then I need to know the address that can be used to access it from outside."
|
||||||
echo "If that's not the case, just ignore this and leave the next field blank"
|
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 domain name: " -e USEREXTERNALIP
|
||||||
if [[ "$USEREXTERNALIP" != "" ]]; then
|
if [[ "$USEREXTERNALIP" != "" ]]; then
|
||||||
IP=$USEREXTERNALIP
|
IP=$USEREXTERNALIP
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user