Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
hwdsl2 committed Oct 20, 2023
1 parent d24c724 commit 6644997
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion wireguard-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,8 @@ enter_server_address() {
read -rp "Enter the DNS name of this VPN server: " server_addr
done
ip="$server_addr"
echo
echo "Note: Make sure this DNS name resolves to the IPv4 address of this server."
else
detect_ip
check_nat_ip
Expand Down Expand Up @@ -259,7 +261,7 @@ detect_ipv6() {
select_port() {
if [ "$auto" = 0 ]; then
echo
echo "What port should WireGuard listen to?"
echo "Which port should WireGuard listen to?"
read -rp "Port [51820]: " port
until [[ -z "$port" || "$port" =~ ^[0-9]+$ && "$port" -le 65535 ]]; do
echo "$port: invalid port."
Expand Down

0 comments on commit 6644997

Please sign in to comment.