wireguard-docs icon indicating copy to clipboard operation
wireguard-docs copied to clipboard

How to use a PostUp hook to restart WireGuard every few minutes or hours?

Open kevinfay opened this issue 5 months ago • 0 comments

Dynamic IP addresses Many users report having to restart WireGuard whenever a dynamic IP changes, as it only resolves hostnames on startup. To force WireGuard to re-resolve dynamic DNS Endpoint hostnames more often, you may want to use a PostUp hook to restart WireGuard every few minutes or hours.

https://github.com/pirate/wireguard-docs#dynamic-ip-addresses

"But I don't know how to implement this PostUp hook. Help me, pls.

kevinfay avatar Sep 06 '24 13:09 kevinfay