chriswheeldon

Notes: Debugging WireGuard

On the client

Wireshark with the following filter: (ip.dst_host == <server ip> || ip.src_host == <server ip>) && ip.proto == 17

On the server

Check the WireGuard interface status:

 sudo wg show

Enable and view debug logging for WireGuard:

 sudo modprobe wireguard
 echo "module wireguard +p" | sudo tee /sys/kernel/debug/dynamic_debug/control
 dmesg -wT | grep wireguard