Skip to content

Commit

Permalink
Added PersistentKeepalive to Peer section of created config file.
Browse files Browse the repository at this point in the history
  • Loading branch information
sfiorini committed Apr 4, 2022
1 parent a91da2a commit 8b978b7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions NordVpnToWireguard.sh
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ echo "[Peer]" >> Nordvpn.conf
echo "PublicKey = $publicKey" >> Nordvpn.conf
echo "AllowedIPs = 0.0.0.0/0" >> Nordvpn.conf
echo "Endpoint = $endpoint:51820" >> Nordvpn.conf
echo "PersistentKeepalive = 25" >> Nordvpn.conf

# Renaming config file to show the endpoint country id and server number
outputFileName=`echo $endpoint | grep -o '^[^.]*'`
Expand Down

0 comments on commit 8b978b7

Please sign in to comment.