Homelab

How to Install OPNsense on a VMware VeloCloud Edge 640

November 24, 2026 · 6 min read · admin
Network appliance with six gigabit and two SFP+ ports inside a dashed frame, with a shield check badge labeled opnsense

The VMware (VeloCloud) SD-WAN Edge 640 is one of the best-value firewall boxes you can find on the used market right now. Once these appliances fall out of their SD-WAN licensing, they show up cheap, and underneath the branding they’re just x86 computers with a Denverton Atom CPU, plenty of RAM, six gigabit ports and two 10G SFP+ cages.

Out of the box they’re useless without a VeloCloud Orchestrator, so here’s how I’d wipe one and turn it into a proper OPNsense firewall.

What you’re working with

The Edge 600 series is built on the same Dell board family as the Dell EMC VEP1400 line, which matters because you’ll be using Dell’s tools to update it. Exact specs vary a bit from unit to unit, so check yours, but a typical 640 has:

  • Intel Atom C3000 (Denverton) CPU, usually 8 cores, with AES-NI
  • 32 GB of RAM
  • 16 GB eMMC plus an M.2 SSD (120 to 256 GB depending on the unit)
  • 6x 1G RJ45 ports and 2x 10G SFP+ ports
  • Two fans, a USB serial console and no video output

One buying tip: the 620, 640 and 680 are the ones people run OPNsense on happily. Skip the Edge 610, because its network ports have been a problem with third-party software.

What you’ll need

  • A USB-A to Micro-USB cable that carries data, not a charge-only cable
  • The Silicon Labs CP210x USB-to-UART driver on your PC (the 640 has a CP2102 chip built in)
  • A terminal program like PuTTY, Tera Term or screen
  • Two USB flash drives (one for Dell’s recovery OS, one for OPNsense) and Rufus or a similar image writer
  • From Dell support (search for VEP1400): the DiagOS recovery image and the VEP1400 firmware updater package (VEP1400_UFW2.5_External.zip at the time of writing)
  • The OPNsense serial installer image from opnsense.org

Step 1: Connect to the serial console

There’s no video port, so everything happens over serial. The console port is on the back, hidden under a small plate held by a single screw. Remove the plate, plug in your Micro-USB cable and check Device Manager (or dmesg on Linux) for the new COM port.

Open your terminal at 115200 baud, 8 data bits, no parity, 1 stop bit, with flow control off. Start the terminal before you power the box on so you catch the whole boot.

Step 2: Get into the BIOS

Power on and press Delete to enter setup. If it asks for a password, the default is the unit’s service tag followed by an exclamation mark (for example ABC1234!). The service tag is on the label on the bottom.

While you’re in there:

  • Make sure Secure Boot is off.
  • Under IntelRCSetup → Processor Configuration, turn on Turbo mode.
  • Optionally clear or change the BIOS password on the Security tab.

Step 3: Deal with the watchdog by updating the firmware

This is the step that trips most people up. The stock firmware has a hardware watchdog that reboots the box roughly every five minutes if the VeloCloud software isn’t running. If your fresh OPNsense install keeps rebooting on its own, this is why. Updating to Dell’s VEP1400 firmware fixes it.

The easiest way to run Dell’s updater is from Dell’s own DiagOS recovery environment:

  1. Write the DiagOS recovery zip’s image to a USB drive with Rufus, using a GPT/UEFI target. MBR targets are reported to make the eMMC install fail.
  2. Boot it in UEFI mode from one of the USB-A ports and choose the option to install to the eMMC. The box reboots into DiagOS when it’s done.
  3. Log in as root with the password calvin.
  4. Until the update is done, stop the watchdog at each prompt so it doesn’t reboot you mid-flash:
i2cset -y 1 0x22 0 0 b

Then copy the updater over from a second USB stick and run it from /root (it’s known to fail when run from anywhere else):

mkdir -p /mnt/sdb1
mount /dev/sdb1 /mnt/sdb1
cp /mnt/sdb1/vep1400x_ufw_2.5 /root/
cd /root
chmod +x vep1400x_ufw_2.5
./vep1400x_ufw_2.5 interactive

Choose the option to update all firmware components automatically. Reboot when it tells you to, then run the updater again and let it finish the BIOS, CPLD and PIC updates. Don’t pull power during any of this.

After the update, hold the reset button until you see Factory Reset!! on the console. Some people found ports missing in OPNsense until they did this.

Dell also publishes SSD firmware for these units. If hdparm -I /dev/sda | grep Firmware shows an older revision, it’s worth updating while you’re already in DiagOS.

Step 4: Make the OPNsense installer

Download the OPNsense serial image (amd64). The VGA image will boot, but you won’t see anything because the box has no video. Verify the checksum, decompress it and write it to a USB drive with Rufus in UEFI mode, or with dd on Linux or macOS:

bunzip2 OPNsense-*-serial-amd64.img.bz2
sudo dd if=OPNsense-*-serial-amd64.img of=/dev/sdX bs=16k status=progress

Replace /dev/sdX with your USB drive. Double-check it, because dd will happily overwrite the wrong disk.

Step 5: Install OPNsense to the SSD

  1. Plug in the installer, power on and press the boot-menu key (or set the USB first in the BIOS boot order).
  2. When the live environment finishes booting, log in as installer with the password opnsense.
  3. Pick your keymap, then choose ZFS or UFS. With a single SSD either works. I’d pick ZFS for its resilience to power loss.
  4. Select the M.2 SSD as the target, not the 16 GB eMMC. The eMMC is small and slow, and you can leave DiagOS on it as a recovery tool.
  5. Set a new root password when the installer asks, then reboot and pull the USB stick.

If the box still boots into DiagOS afterward, go back into the BIOS and put the SSD’s OPNsense boot entry first.

Step 6: Assign the interfaces

On first boot, OPNsense asks you to assign interfaces. The gigabit copper ports normally show up as igb devices and the SFP+ cages as ix devices. The physical port order doesn’t line up neatly with the device numbers, so don’t guess.

The easy trick: at the console menu choose 1) Assign interfaces, and when it asks for the WAN interface, use the auto-detect option. Then plug a live cable into the port you want as WAN, and OPNsense picks up whichever port gets link. Repeat for LAN.

If only the two SFP+ ports appear and the copper ports are missing, do the factory reset from Step 3 again. That’s the usual fix for missing ports.

Once LAN is set (192.168.1.1 by default), plug in a laptop and browse to https://192.168.1.1 to finish the setup wizard.

Step 7: Tidy up after the install

  • Keep the serial console working: under System → Settings → Administration → Console, set the primary console to Serial at 115200 so you can always get in with the USB cable.
  • Update right away: System → Firmware → Status → Check for updates.
  • Lock down admin access: only allow the web GUI and SSH on LAN or a management VLAN, and turn off root SSH password login if you enable SSH at all.
  • Turn on PowerD (System → Settings → Miscellaneous) to keep the Atom cool and quiet at idle.
  • Back up the config (System → Configuration → Backups) now that it’s working.

Troubleshooting

  • Box reboots every few minutes: the watchdog is still active. Redo the firmware update in Step 3.
  • Garbled text in the terminal: your baud rate is wrong. It should be 115200.
  • No COM port shows up: install the CP210x driver and try a different cable. Charge-only cables are the usual culprit.
  • Installer won’t boot: make sure Secure Boot is off and the stick was written for UEFI.
  • Copper ports missing: factory-reset the unit after the firmware update.

That’s it. For well under the price of a new firewall appliance, you get an 8-core box with 10G uplinks running OPNsense, and none of the SD-WAN lock-in.

Leave a Reply

Your email address will not be published. Required fields are marked *