I appreciate the feedback on this. Wireguard has served me well and is easy to use, setup and maintain. The amount of logging this script provides serves my purposes and is good enough for me even if the times are approximate and based on assumptions. At least i get persistent logs of IP addresses and connected endpoints. This is basically the same information that is visible in the status screen.
Some logs are better than no logs and I wanted to share my solution since there was nothing available for OPNsense. Hope this helps.
Some logs are better than no logs and I wanted to share my solution since there was nothing available for OPNsense. Hope this helps.
"