Basically i have something like this:
Server client :-----router lan/router wan----Me
I have a VPN with the client through which i query nsclient on the clients server
What i want (i can’t see a way to make a host dependent on a service)
How can i make something like this:
IF the public ip is Down (the wan) do not alert me on the vpn since it is pointless and alert me on the wan
If the wan is ok check the vpn
So basically how to add 2 addresses for host online check ???