Firewall requires reboot

Started by dcol, August 15, 2021, 08:31:37 PM

Previous topic - Next topic
I have an OPNsense appliance with Intel NIC's connected to a Westell G60 DSL Model using PPPoE on the WAN port. The modem is set to bridge mode.

Here is the issue. Every time the modem loses power or Internet connectivity, the firewall needs to be rebooted before the WAN works again. Is there something that I can do in the firewall to automatically reboot if the WAN or gateway is down?

I did see in another port the option for "Periodic reset". Where is this found?

With some forum searching I have found that what is happening is the interface goes down, not the WAN. So a simple ipconfig igb0 down then up brings the network back. So The WAN is up, just the LAN interface went down. So how can I setup a cron job or some other technique to fix this automatically?

More tests revealed the ix interfaces did not go down, just all the igb interfaces. maybe a tunable will help?

The WAN is on ix1 LAN is on igb0
Here are the only igb specific tunables I use
dev.igb.0.eee_disabled = 1
dev.igb.1.eee_disabled = 1
dev.igb.2.eee_disabled = 1
dev.igb.3.eee_disabled = 1
dev.igb.0.fc="0"
hw.igb.rx_process_limit="-1"
hw.igb.tx_process_limit="-1"

Anyone...
I have seen this issue on other posts, but never any usable solutions. Tried the Cron job with a script but never found any way to manually install a Cron job. Any reference I saw did not have the complete steps. Not sure what to do with the actions. OPNsense should really have a simple way to run a manual scheduled script in the WEBgui.

Monit may be better suited to this than cron