Skip to content

Commit

Permalink
Add persistent keepalive for wireguard vpn gateway connections
Browse files Browse the repository at this point in the history
This keeps the connection up and running even if no traffic is routed through the wireguard connection. This is essentail for the fallback connection to keep it ready for use.
  • Loading branch information
hibo98 committed Oct 17, 2024
1 parent 27e3b22 commit fe9361d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions salt/freifunk/base/wireguard/etc/wireguard/gen-config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ PublicKey = $WG_PEER_PUBLIC_KEY
AllowedIPs = $WG_PEER_ALLOWED_IPS
Endpoint = $WG_PEER_ENDPOINT
$WG_PEER_PRE_SHARED_KEY
PersistentKeepalive = 25
EOM

Expand Down

0 comments on commit fe9361d

Please sign in to comment.