New article: 02.2025
notemptyThis article refers to a Beta version
Introduction
Unfortunately, the WireGuard protocol itself does not offer any logging options. However, it is still possible to track which IP addresses have connected or attempted to connect via WireGuard on the UTM. This can be achieved using a packet filter rule. The implicit rules for WireGuard are deactivated and a packet filter rule is created instead, which can then be logged.
In addition, the WireGuard widget can be used to monitor when clients last successfully logged in using the "Last Handshake" column. However, this column is only visible if the widget is at least 2 columns wide.
Replace implicit rules with packet filter rules
Disable implicit rules
UTMuser@firewall.name.fqdnVPN
WireGuard Disable implicit rules
Create packet filter rule
Read log





