mirror of
https://github.com/angristan/wireguard-install.git
synced 2024-06-01 03:00:47 +00:00
Add keep alive to clients
This commit is contained in:
parent
5c2ba2a35b
commit
9dcbdf02ae
|
@ -310,6 +310,7 @@ DNS = ${CLIENT_DNS_1},${CLIENT_DNS_2}
|
||||||
PublicKey = ${SERVER_PUB_KEY}
|
PublicKey = ${SERVER_PUB_KEY}
|
||||||
PresharedKey = ${CLIENT_PRE_SHARED_KEY}
|
PresharedKey = ${CLIENT_PRE_SHARED_KEY}
|
||||||
Endpoint = ${ENDPOINT}
|
Endpoint = ${ENDPOINT}
|
||||||
|
PersistentKeepalive = 20
|
||||||
AllowedIPs = 0.0.0.0/0,::/0" >>"${HOME_DIR}/${SERVER_WG_NIC}-client-${CLIENT_NAME}.conf"
|
AllowedIPs = 0.0.0.0/0,::/0" >>"${HOME_DIR}/${SERVER_WG_NIC}-client-${CLIENT_NAME}.conf"
|
||||||
|
|
||||||
# Add the client as a peer to the server
|
# Add the client as a peer to the server
|
||||||
|
|
Loading…
Reference in New Issue
Block a user