1 series · 2 posts
This guide outlines the steps to create a cron-activated recovery script for OPNsense 25.7.7_4 to address DHCP outages. The script monitors connectivity, logs activity, and reconfigures the WAN interface as needed. It implements cooldown mechanisms to prevent reboot loops and integrates with the system's configuration and scheduling functions.
Nov 14, 2025This post addresses the absence of a built-in WAN recovery mechanism in OPNsense 25.7.7_4, which can lead to internet connection loss requiring manual reboot. The author presents a DIY solution: a shell script that pings a reliable host, attempts to renew DHCP leases, and reboots the system if necessary. The script can be scheduled via cron for regular monitoring, enhancing network reliability.
Sep 3, 2025
You must be logged in to post a comment.