Ping Reboot Fundamentals

Ping Reboot Over a VPN: Monitoring the Tunnel, Not Just the Link

A public ping proves the link. A ping across the tunnel proves the thing the customer pays for.

On a lot of industrial sites the router exists for one reason: to keep a VPN tunnel up to a control room, a camera server or a SCADA system. A ping to 8.8.8.8 tells you the mobile connection works. It tells you nothing about the tunnel, and the tunnel is the thing the customer is paying for.

VPN monitoring at a glance

The gapMobile link up, VPN down, public ping still passes
What to pingAn address at the far end of the tunnel, such as the VPN head end
KeepThe tunnel’s own keepalive or dead peer detection
Recovery orderRestart the VPN, then the mobile connection, then the router

Why a public ping misses it

The underlying connection and the tunnel fail independently. The mobile session can be perfect while the tunnel has dropped because of a certificate, a key renegotiation, a change at the far end, or a NAT timeout in the operator network. A public ping goes straight out to the internet, never touches the tunnel, and keeps passing.

What to ping

Ping something you can only reach through the tunnel: the VPN concentrator’s inside address, or a server on the far network. If that stops answering while a public ping still works, you know exactly which layer has failed. Many tunnel types, including OpenVPN, IPsec and WireGuard, also have their own keepalive or dead peer detection, and that should stay switched on as the first line of defence.

Recovery order

Restarting the whole router because the tunnel is down is a big hammer. It drops every LAN device and every other service. Where the router can do it, restart the tunnel first, then the mobile connection, and reboot only if neither works. On routers whose ping reboot cannot restart a VPN directly, keep the tunnel’s own keepalive doing that job, and let the ping rule handle the heavier steps further out.

On a private APN

Many VPN-dependent sites also use private APN SIMs, in which case public targets are not reachable at all and the tunnel target may be the only sensible ping target there is. Ping Reboot on Private IP SIM Cards explains the private APN side, and which IP address to ping covers choosing targets in general.

Questions

Will ping reboot notice a dead VPN?

Only if it pings something on the far side of the tunnel. A ping to a public address such as 8.8.8.8 does not go through the tunnel, so it keeps passing.

What should I ping to monitor a VPN?

An address you can only reach through the tunnel, such as the VPN head end’s inside address or a server on the far network.

Keep reading

Ping Reboot Fundamentals 2 min read

What Is Cell ICMP Check?

Cell ICMP Check is the ProRoute name for ping reboot. What it does, where the name comes from, and how it relates…

Read explainer
Ping Reboot Fundamentals 2 min read

Ping Reboot vs Watchdog vs Scheduled Reboot

The difference between ping reboot, a hardware watchdog and a scheduled reboot, what each one catches, and why a remote router should…

Read explainer