Table of Contents

OpenWRT on ESXi

This guide is primarily made for Windows, but Linux users can surely adapt ;-)
Tested and confirmed working on ESXi 6.7 U3 (Build 14320388) using ‘ESXi 6.7 U2 virtual machine’ compatibility level and OpenWrt 24.10.2.
It may work on later versions of ESXi and/or OpenWrt, but this configuration is verified.

Preparation

Create VM in ESXi (BIOS Firmware Only)

Note: EFI Firmware does 'not' work with OpenWRT in this setup.

Required: Remove the suggested Disk (You will add one later).
Optional: Remove USB controller, CD-ROM drive, and SATA controller from VM hardware — they’re not needed for OpenWRT and simplify the configuration.

Disk Preparation (on Windows)

Run the following commands:

qemu-img resize -f raw openwrt.img 128M
qemu-img convert -f raw -O vmdk -o adapter_type=lsilogic openwrt.img openwrt-esxi.vmdk

Disk Import (on ESXi via SSH)

Make sure SSH and ESXi Shell services are enabled on ESXi. Then run:

vmkfstools -i openwrt-esxi.vmdk openwrt.vmdk -d thin

Boot & Network Check

Start the VM and launch the console. Run:

ip a s dev eth1
ip a s dev br-lan

Connectivity Test

Run:

ping -c 5 8.8.8.8

Install VMware Tools

Run:

opkg update
opkg install open-vm-tools

Final Step

You should now be ready to access the OpenWrt configuration pages with your favourite browser at http://192.168.1.1
Default login: no password — just click 'Login'

DONE – ENJOY :-)

Feedback

Suggestions, corrections, or improvements are always welcome.
If you’ve tested this guide on ESXi 6.7 U3, or other versions, and have tips to enhance it, I’d love to hear from you.
Feel free to send feedback to: 'thevancouverman(at)hotmail(dot)com'