Is there a way to run a script once a Wireguard tunnel has been established or is not working anymore?
Or do I have to run a script periodically (e.g., each minute) which takes certain action depending on whether or not some IP on the other side of the tunnel is accessible?
Thanks!