wireguard multiple question in order to debug issues

Started by FredFresh, August 13, 2025, 09:51:52 AM

Previous topic - Next topic
August 13, 2025, 09:51:52 AM Last Edit: August 13, 2025, 10:28:57 AM by FredFresh
Hi,I am trying to figure out the origin of my randomic problem of "loss of handshake".

I created static routes and firewall rule (with log) to the VPN endpoint and one to the monitoring ping (og the gateway).

Now I am trying to log the handshake connection to understand what is wrong, but I am not able to get enything on the firewall live view.

I am assuming that the handshake connection goes through the WAN or the specific wireguard gateway.

Update: Using packet capture I am finally seeing these connections, but I have a few extra questions:
- considering that the wireguard gateway is remote, is it possible to log the connections going through as it would be for a local gateway,
- the handshake shall happen with which IP (endpoint pubblic IP through the WAN interface or maybe with an internal VPN IP through the wiregatud gateway)?

Thank you very much.