From 78ffae9257ffb2cf3e01c5df1029fd2db64fbc7e Mon Sep 17 00:00:00 2001 From: "thorsten.spille" Date: Sat, 1 Apr 2023 22:55:34 +0200 Subject: [PATCH] Change Port to ListenPort --- wg-config | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wg-config b/wg-config index 9e1fe36..819b626 100644 --- a/wg-config +++ b/wg-config @@ -94,7 +94,7 @@ cat << EOF > $a_file PrivateKey = $a_privkey Address = $a_tunnel_address DNS = $b_dns -Port = $port +ListenPort = $port [Peer] PublicKey = $b_pubkey @@ -120,7 +120,7 @@ cat << EOF > $b_file PrivateKey = $b_privkey Address = $b_tunnel_address DNS = $a_dns -Port = $port +ListenPort = $port [Peer] PublicKey = $a_pubkey