route-update: flush routes via commented-out gateways; route-health: stricter tunnel checks
route-update.sh:
- After loading routes, detect and remove routes via gateways that were
commented out or removed from the gateway file. Previously only stale
destination IPs were cleaned up, leaving routes via disabled gateways.
route-health.sh:
- For tunnel gateways (ikev2/gre/openconnect/ovpn/xray/amneziawg/cloak/warp),
require VPN status and iperf3 data — missing data means dead, not skip.
- Use base (v4) tag for VPN/iperf3 lookups on .v6 gateways (they share tunnel).
- Reduce ping query window from 3m to 1m (matches Telegraf 30s interval).
Co-Authored-By:
Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Showing
Please
register
or
sign in
to comment