1
1
mirror of https://github.com/angristan/wireguard-install.git synced 2024-05-31 18:50:47 +00:00

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

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