Note: The Listed platform will permanently shut down December 31, 2026. Your data published on Listed will still be available in your personal Standard Notes account. Learn more

OPNSense on Sophos Hardware

Preparing install media

  1. Navigate to the OPNSense Downloads page, and grab the serial image. THIS IS IMPORTANT as we do not have a VGA display on ((most)) sophos devices.
  2. Mount/Burn the image in your usual way. I used ISO Image Writer, you can use whatever you like Etcher, Rufus, etc

Preparing your Sophos Device

  • You can use whatever serial connection console emulator you like. I found that minicom worked great, and I will be using it for all of the examples moving forward. screen should work just fine as well, as should puTTY if that's more your speed.
  • Connect your workstation to a Sophos Device via console cable. I used a MicroUSB cable for this example. Also connect your OPNSense media to the firewall at this point, so we can target it in the BIOS.
  • While connected, open up a terminal and do a sudo dmesg | grep tty, it should give you the device path. In my case it's /dev/ttyUSB0.
  • run sudo minicom -s, and adjust your serial settings. We are targeting the /dev/ttyUSB0 device, with a BAUD rate of 38400 for now, but we will be changing this refresh rate a little later.
  • Once connected, reboot your Sophos device, and hit del to pull up the BIOS. We are going to switch from Legacy Boot to UEFI boot, and moving your USB device to the top of the boot order. Save and Restart.
  • I like to let it reboot fully before changing my BAUD rate again, this time to make sure it gets past the initial boot screen into the OPNSense live environment. Once it does, we will start seeing some gobbledygook, so it's time to change our BAUD rate to 115200 and reconnect.
  • Once we're reconnected, go through the install process as normal. Don't forget to change your boot order back after installation so that we can boot to our new OPNSense config.
  • After we are back in our OPNSense menu, we can set up our interfaces, and get ourselves into the web interface, where you'll want to finish setup. Happy hacking!

More from Xen
All posts