OPNsense Forum

Archive => 24.1, 24.4 Legacy Series => Topic started by: mr530 on April 18, 2024, 12:48:59 PM

Title: WAN drops daily— looking for high-level guidance on debugging
Post by: mr530 on April 18, 2024, 12:48:59 PM
I have the latest 24.1 with a bunch of additional services (Unbound, WireGuard, HAProxy, etc.).

My WAN drops roughly 2-3 times per day while in meetings. I'm not even sure how to fully diagnose the problem given all the processes.

Can anybody coach me through a diagnostic process— is there a master log?

I was thinking of writing down the exact time of WAN failure and then trying to use that to cross reference against a log.

Any high level guidance is much appreciated!
Title: Re: WAN drops daily— looking for high-level guidance on debugging
Post by: Saarbremer on April 18, 2024, 01:35:51 PM
Hi,

please have a look at https://docs.opnsense.org/manual/logging_system.html

Frequently dropping can have a lot of causes, starting from bad cabling/jacks, ISP issues, misconfiguration or broken hardware. It would be good to check the logs for the time period where the connection went lost and came back.

In some cases you might be lucky.
Title: Re: WAN drops daily— looking for high-level guidance on debugging
Post by: opnfwb on April 19, 2024, 03:55:10 PM
A good high level check to verify your WAN quality is to enable the gateway monitor IP. By default OPNsense has this disabled. This will give you a graph and also log the loss on the gateway link as a percentage. You want to enable this and look at your WAN quality graphs to see if you're getting packet loss. I've included a screenshot showing where to go to enable the gateway monitoring.

Look at the system log (system/log files/general) and search for the name of the WAN interface. This can be igbX or whatever NIC driver you have assigned to the WAN. See if there are any log events showing in the system log that coincide with the WAN connectivity issues.

Those are the two high level places I'd start looking if you are noticing WAN drops or connection problems. If both of those look stable, then the issue is likely some other configuration or plugin.
Title: Re: WAN drops daily— looking for high-level guidance on debugging
Post by: opnfwb on April 19, 2024, 03:55:53 PM
Screenshot for the gateway monitor
Title: Re: WAN drops daily— looking for high-level guidance on debugging
Post by: mr530 on April 20, 2024, 06:54:04 PM
Super helpful— going to start with the WAN monitoring and then cross reference the log

Thank you for pointing me in the right direction!.