We really need this since logging is important for monitoring who connects to the VPN and from what IP.
I see that someone has made a similar script based solution for Mikrotik routers. Can anyone implement something similar for for OPNsense? The built in kernel level logging is what it is but it does not stop us from having logs since the peer info is accessible and can be parsed.
https://forum.mikrotik.com/t/logging-wireguard-peer-connects-and-disconnects/263033
I see that someone has made a similar script based solution for Mikrotik routers. Can anyone implement something similar for for OPNsense? The built in kernel level logging is what it is but it does not stop us from having logs since the peer info is accessible and can be parsed.
https://forum.mikrotik.com/t/logging-wireguard-peer-connects-and-disconnects/263033