Health: show IPv6 uplink and public IPv4/IPv6 addresses

The uplink check only reported the IPv4 default route. Split it into
IPv4 and IPv6 uplink rows, and add a public address row for each, read
from the uplink interface (private addresses are shown as behind NAT).
This commit is contained in:
Daniel Redetzke
2026-10-04 00:39:13 +03:00
parent 7d4cd48ca4
commit 3a93ec35ee
2 changed files with 46 additions and 2 deletions
+2 -1
View File
@@ -73,7 +73,8 @@ func (k *simKernel) Checks(c *Config) []Check {
{"WireGuard interface", true, c.Server.Interface + " is up"},
{"IPv4 forwarding", true, "net.ipv4.ip_forward=1"},
{"nftables rules", true, "table inet " + appName + " present"},
{"Uplink", true, "IPv4 via eth0"},
{"IPv4 uplink", true, "via eth0"},
{"Public IPv4", true, "203.0.113.10"},
}
}