Skip to content

Commit

Permalink
Merge pull request #440 from vasylenko/patch-1
Browse files Browse the repository at this point in the history
fix: bug with duplicated port for additional client configurations
  • Loading branch information
Prajwal Koirala authored Apr 19, 2024
2 parents dbe16cc + 2a0c6c8 commit bfb5b5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wireguard-manager.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1624,7 +1624,7 @@ MTU = ${MTU_CHOICE}
PrivateKey = ${CLIENT_PRIVKEY}
[Peer]
AllowedIPs = ${CLIENT_ALLOWED_IP}
Endpoint = ${SERVER_HOST}${SERVER_PORT}
Endpoint = ${SERVER_HOST}
PersistentKeepalive = ${NAT_CHOICE}
PresharedKey = ${PRESHARED_KEY}
PublicKey = ${SERVER_PUBKEY}" >>${WIREGUARD_CLIENT_PATH}/"${NEW_CLIENT_NAME}"-${WIREGUARD_PUB_NIC}.conf
Expand Down

0 comments on commit bfb5b5b

Please sign in to comment.