Details
Description
Hello,
please add wireguard support simliar to the openvpn agent script to get a vpn connected graph.
To get a list with the current connected clients use the command:
wg show all dump | awk 'BEGIN {}; \{if (systime()-$6 < 300 ) print strftime("%m-%d-%Y %H:%M:%S", systime()),$5, $4, (systime()-$6) "sec" } ; END {}'
|
See: https://manpages.debian.org/unstable/wireguard-tools/wg.8.en.html#show
Contact me in discord (JTC#3678) for further help.