1
1
mirror of https://github.com/angristan/wireguard-install.git synced 2024-11-01 03:02:35 +00:00

Change Wireguard port from OpenVPN default

Current port `1194` conflicts with OpenVPN listening port.
Wireguard docs use port `51820` so we'll use that.
This commit is contained in:
randomshell 2020-03-29 03:39:12 +00:00 committed by GitHub
parent 01bdb56b98
commit 7a360c668e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -52,7 +52,7 @@ read -rp "Server's WireGuard IPv4 " -e -i "$SERVER_WG_IPV4" SERVER_WG_IPV4
SERVER_WG_IPV6="fd42:42:42::1"
read -rp "Server's WireGuard IPv6 " -e -i "$SERVER_WG_IPV6" SERVER_WG_IPV6
SERVER_PORT=1194
SERVER_PORT=51820
read -rp "Server's WireGuard port " -e -i "$SERVER_PORT" SERVER_PORT
CLIENT_WG_IPV4="10.66.66.2"