Wednesday, January 01, 2025

Wireguard interface "debug" - where to see?

Hi,

The wg(4) man page indicates there is a "debug" option for the interface.

I can see that the DEBUG flag is set, but how to I access that debugging information?

mini# ifconfig wg1
wg1: flags=80c7<UP,BROADCAST,DEBUG,RUNNING,NOARP,MULTICAST> mtu 1420


I have my OpenBSD server set up as a public Wireguard server and it's working fine.  Now I am trying to set it up as a wireguard "client" to talk to a TP-Link AX3000 router. 

Running tcpdump on my interface connected to the TP-Link router, I can see:

09:16:12.899318 mini.15065 > 192.168.123.2.4433: [wg] initiation from 0xb67e0715

But the tunnel never comes "up".  The GUI on the TP-Link router doesn't give any ability to troubleshoot so I was trying to poke into the OpenBSD wg interface to get more information.

Like yesterday, it's likely a typo/misunderstanding of something.

Thanks,
Steve Williams


No comments:

Post a Comment