Led indicates net connection multiwan

I would like to ask if is it possible to indicate on led whether there is internet connection on each of multi wan links (red - no connection, green - connection) If so, how? I use mwan3 package, Turris Omnia. Thank you :slight_smile:

If you want to do it manually I guess you could create a cron job that does a ping to some server on the internet that has high availability eg. and if there is no response change the led setting in the rainbow config and restart the service (https://doc.turris.cz/doc/en/howto/led_settings)

But how does the router know which provider/wan port was used to send the ping?

ping -I
(see ping --help)