From 8cb8b130d1da045b7765b96f017f2277c1c1ca70 Mon Sep 17 00:00:00 2001 From: angristan Date: Thu, 23 May 2019 23:44:05 +0200 Subject: [PATCH] Fix endpoint port Fix #18 --- wireguard-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wireguard-install.sh b/wireguard-install.sh index 3429658..c2bae10 100644 --- a/wireguard-install.sh +++ b/wireguard-install.sh @@ -118,7 +118,7 @@ DNS = $CLIENT_DNS_1,$CLIENT_DNS_2" > "$HOME/$SERVER_WG_NIC-client.conf" # Add the server as a peer to the client echo "[Peer] PublicKey = $SERVER_PUB_KEY -Endpoint = $SERVER_PUB_IP:1194 +Endpoint = $SERVER_PUB_IP:$SERVER_PORT AllowedIPs = 0.0.0.0/0,::/0" >> "$HOME/$SERVER_WG_NIC-client.conf" # Enable routing on the server