Fix endpoint port

Fix #18
This commit is contained in:
angristan 2019-05-23 23:44:05 +02:00
parent bc18f1dd26
commit 8cb8b130d1
1 changed files with 1 additions and 1 deletions

View File

@ -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