Still having issues with Dpinger dropping gateways when Starlink goes offline. Restarting the dpinger service brings it back up.
I have sledgehammered a solution while not ideal works. I am asking for this feature to be added to OPNSense:
I created a file /usr/local/opnsense/service/conf/actions.d/actions_dpinger.conf
And added the following code:
[restart]
command:/usr/local/sbin/pluginctl -s dpinger restart
parameters:
type:script
message:Restarting Dpinger
description:Restart Dpinger service
I was then able to create a Cron Job via the web interface:
*/5 * * * * (/usr/local/sbin/pluginctl -s dpinger restart
If this could be added to the main build I think it would benefit the OPNSense community.