Skip to content

Commit

Permalink
Port is a number, not a string
Browse files Browse the repository at this point in the history
  • Loading branch information
rmens authored Mar 20, 2024
1 parent 40f0f77 commit 58630a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vpn.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 58630a3

Please sign in to comment.