I’m quite new to NethServer. I would like to know how NethServer puts an interface UP or DOWN, as seen in the dashboard. In /var/log/messages I often found lines like these:
Well, after reading some docs, I answer to myself:
NethServer firewall can handle 15 red (WAN) interfaces. Implementation uses Shorewall with LSM (Link Status Monitor). The LSM daemon takes care of monitoring WAN connections (interface) using ICMP traffic and it informs Shorewall about interface up/down events. Each interface can be checked using multiple IPs (see checkip property below). At least one IP must be reachable to mark the WAN connection as usable. If no IP is specified (recommended option), the system will uses well-known default IPs (Google DNS and OpenDNS).
I’ve set debug=9 and now I see a lot more info in the log, thanks!
What do you mean “it lost the configured number of pings you set in Multi WAN”?
Regarding this, I would like also to question: both parameters “Disable provider after # lost pings (2-99)” and “Disable provider over % lost pings (1-100)” are mutually exclusive or not? How does LSM act if both are set?