mirror of
https://github.com/hwdsl2/openvpn-install.git
synced 2024-07-01 01:06:07 +02:00
Cleanup
This commit is contained in:
parent
9c9ecae84e
commit
77b87f41b2
|
@ -298,7 +298,7 @@ select_protocol() {
|
|||
select_port() {
|
||||
if [ "$auto" = 0 ]; then
|
||||
echo
|
||||
echo "What port should OpenVPN listen to?"
|
||||
echo "Which port should OpenVPN listen to?"
|
||||
read -rp "Port [1194]: " port
|
||||
until [[ -z "$port" || "$port" =~ ^[0-9]+$ && "$port" -le 65535 ]]; do
|
||||
echo "$port: invalid port."
|
||||
|
|
Loading…
Reference in New Issue
Block a user