Update wireguard-install.sh

This commit is contained in:
Stanislas 2023-01-22 16:02:38 +01:00 committed by GitHub
parent 99b6c757a5
commit d99c019da9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -118,7 +118,7 @@ function installQuestions() {
#Allowed IPs
until [[ ${ALLOWED_IPS} =~ ^.+$ ]]; do
read -rp "Allowed IPs list: " -e -i '0.0.0.0/0, ::/0, 128.0.0.0/1' ALLOWED_IPS
read -rp "Allowed IPs list: " -e -i '0.0.0.0/1, 128.0.0.0/1, ::/0,' ALLOWED_IPS
if [[ ${ALLOWED_IPS} == "" ]]; then
ALLOWED_IPS="0.0.0.0/0, ::/0, 128.0.0.0/1"
fi