Add example entries for possible ip-address/-network settings to 'Host' variable.

This commit is contained in:
Christoph 2020-09-01 16:01:09 +02:00
parent 3155c29c2f
commit 340b8fae1b
2 changed files with 22 additions and 0 deletions

View File

@ -485,6 +485,17 @@ if ! $NON_INTERACTIVE_MODE ; then
echo ""
echo " Leave empty to deny access from outside."
echo ""
echo " Example:"
echo ""
echo -e " \e[90m# A single IP Address\033[m"
echo -e " \033[1m192.168.52.192.168.52.44\033[m"
echo ""
echo -e " \e[90m# Class C Network\033[m"
echo -e " \033[1m192.168.52.%\033[m"
echo ""
echo -e " \e[90m# A Class C and a Class A Network\033[m"
echo -e " \033[1m192.168.52.% 10.%\033[m"
echo ""
echononl "List of IP Addresses: "
read IP_ADDRESSES
if [[ -n "$IP_ADDRESSES" ]] ; then

View File

@ -484,6 +484,17 @@ if ! $NON_INTERACTIVE_MODE ; then
echo ""
echo " Leave empty to deny access from outside."
echo ""
echo " Example:"
echo ""
echo -e " \e[90m# A single IP Address\033[m"
echo -e " \033[1m192.168.52.192.168.52.44\033[m"
echo ""
echo -e " \e[90m# Class C Network\033[m"
echo -e " \033[1m192.168.52.%\033[m"
echo ""
echo -e " \e[90m# A Class C and a Class A Network\033[m"
echo -e " \033[1m192.168.52.% 10.%\033[m"
echo ""
echononl "List of IP Addresses: "
read IP_ADDRESSES
if [[ -n "$IP_ADDRESSES" ]] ; then