After 24.03 update VNSTAT no longer reporting on WireGuard interface
-
I have nightly interface reports that I run through Email Reports. The WG_VPN interface was reported just fine in the previous release but now uder 24.03 I am receiving:
/usr/local/bin/vnstat -i WG_VPN "Error: No interface matching "WG_VPN" found in database" /usr/local/bin/vnstat -i WG_VPN -hg "Error: No interface matching "WG_VPN" found in database"
Looking at the interface it hasn't changed:
WG_VPN (opt6) -> tun_wg0
Any ideas how to get VNSTAT to log the interface activity again?
-
Never mind, I was doing some maintenance this afternoon and I rebooted the router and then the WG_VPN interface was picked up by VNSTAT. Must have been a timing issue from the upgrade that VNSTAT didn't see the WG interface.