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:
+2
-1
@@ -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"},
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user