Check for Updates to OPNSense from the Command Line

As part of my morning routine, I have a few scripts I run to make sure my laptop and servers are up to date. Rather than login to the web GUI of my OPNSense firewall, I created an alias to check for updates from the CLI. Add the following line to .bash_aliases or directly to .bashrc: alias check-update='sudo /usr/local/opnsense/scripts/firmware/launcher.sh check' There are a few small, but interesting, additional steps required for the alias to work over a “non-interactive” SSH session....

OPNSense and BSD Boot Environments

I’ve been using OPNSense for my home firewall for many years now, and I previously ran it as a VM in a Proxmox virtual server. That worked great for my purposes, but I’ve since upgraded to a dedicated physical device (Protectli) running OPNSense and I love it. However, with the migration away from a VM, I lost the ability to create a snapshot of the system prior to an upgrade - just in case something went wrong I could easily roll back....