Using a Slate AX. Is there a way in the UI to see how long the VPN Tunnel (WG) has been up, short of opening the logs and searching for when it connected - which might go away after few days).
If not, can I suggest adding an “connection uptime” or “date/time of connection” or something like that in the VPN Dashboard ?
I thought I could find the info maybe in LuCI, in Network->Interfaces, unfortunately the ‘wgclient’ interface displays " Unsupported protocol type.".
I followed the link to “install protocol extensions”, and installed luci-proto-wireguard , but it’s still displaying unsupported, and no info.
Not sure about Slate model, but when WG connection gets established it crates temporarily files. If you check the timestamp of these files you can find out the exact time it was started.
You may also try uci to find the uptime for WG interface.
I am not deep enough into WireGuard but it could be impossible to know the uptime since WireGuard will refresh the handshake every few seconds. So it’s basically not connected if there is no traffic - it’s stateless.