Authored by: Support.com Tech Pro Team
How to troubleshoot Multi-WAN on Netgate router
This section describes some of the most common problems with multi-WAN and how to troubleshoot them.
Verify Firewall Rule Configuration
The most common error when configuring multi-WAN is improper firewall rules. Remember, the first matching rule wins and any further rules are ignored. If a policy routing rule is below the default LAN rule in the list, no traffic will ever match that rule because it will match the default LAN rule first. Review Policy Routing Configuration and verify the rules are correct.
If the rule ordering and configuration appears correct, it may help to enable logging on the rules. See Troubleshooting Firewall Rules for more information. Ensure the appropriate policy routing rule is passing the traffic.
Policy routing does not work for web traffic or all traffic
When a proxy package that can transparently capture HTTP traffic is used, such as squid, it overrides any policy routes that are defined for client traffic on that port. So no matter which gateway is set in firewall rules, traffic for HTTP (TCP port 80) will still go through squid and follow the firewall’s default route.
Failover not working
If problems occur when an Internet connection fails, typically it is because the monitor IP address is still answering, so the firewall thinks the connection is still available. Check Status > Gateways to verify. An IP address on the modem may be used as a monitor IP address, which will still be accessible even if the Internet connection is down.
Load balancing not working
A gateway is incorrectly marked offline
If a gateway is listed as offline, but the WAN is actually up, several things could be at fault:
1
or higher.If all else fails, it’s possible the circuit really is down, but the testing methodology appears to show it up. Verify the Interface and Gateway settings and run the test again, and try traceroute
to make sure the traffic is leaving using the expected path.
Ping works by IP address, but web browsing fails
In this case, the most likely cause is DNS. If the firewall DNS settings do not match those in Interface and DNS Configuration, clients may not be able to resolve DNS when a WAN is down. Review the settings and fix any problems that are found.
Squid doesn’t seem to be using both connections
Squid and most other packages on the firewall itself do not understand load balancing; They will use only the WAN connection with the default gateway.