mirror of
https://github.com/Nyr/openvpn-install.git
synced 2024-11-24 05:56:08 +03:00
Hostname instead of IP for VPN server address
Suggest user that he's able to use hostname instead of IP address in external address configuration.
This commit is contained in:
parent
e73503054e
commit
03ebe952d0
@ -386,7 +386,7 @@ exit 0' > $RCLOCAL
|
|||||||
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), I need to know the external IP"
|
echo "If your server is NATed (e.g. LowEndSpirit), I need to know the external IP or hostname"
|
||||||
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: " -e USEREXTERNALIP
|
||||||
if [[ "$USEREXTERNALIP" != "" ]]; then
|
if [[ "$USEREXTERNALIP" != "" ]]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user