From 58630a3f80e6dfed2cdf8c2df64d5c1be2f37ad1 Mon Sep 17 00:00:00 2001 From: Raymon Mens Date: Wed, 20 Mar 2024 14:17:11 +0100 Subject: [PATCH] Port is a number, not a string --- vpn.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vpn.sh b/vpn.sh index 96a7fb3..1f09e95 100755 --- a/vpn.sh +++ b/vpn.sh @@ -31,7 +31,7 @@ check_rpi_model 3 # Ask for input for variables ask_user "SERVER_PUBLIC_IP" "8.8.8.8" "Enter the public ip-address of the Wireguard server" "str" -ask_user "SERVER_PORT" "51820" "Enter the port number of the Wireguard server" "str" +ask_user "SERVER_PORT" "51820" "Enter the port number of the Wireguard server" "num" ask_user "SERVER_PUBLIC_KEY" "GQ4G7V+uRFRbqzYTgNHLd58o+RNPUW99L7Nc7mTt2Hs=" "Enter the public key of the Wirguard server" "str" ask_user "NETWORK" "172.18.1.0/24" "Enter the network range you want to allow to connect" "str" ask_user "RASPBERRY_ADDRESS" "172.18.1.2" "Enter the private ip-address this device should have" "str"