Installing OpenWRT on ESXi

1. Software Package Download (Official)

https://downloads.openwrt.org/

Or find a suitable image on the Enshan Forum

Traditional BIOS Boot

generic-squashfs-combined.img.gz

EFI Boot

generic-squashfs-combined-efi.img.gz

The author has chosen the EFI image

2. Convert the img file to a vmdk file (ESXi virtual machine disk file)

The tool used for conversion is “StarWind V2V Converter”, please download and install it yourself.

Installing OpenWRT on ESXiInstalling OpenWRT on ESXiInstalling OpenWRT on ESXiInstalling OpenWRT on ESXiInstalling OpenWRT on ESXiInstalling OpenWRT on ESXiInstalling OpenWRT on ESXiInstalling OpenWRT on ESXiInstalling OpenWRT on ESXi

Finally, two VMDK files are generated

Installing OpenWRT on ESXi

This tool may have slightly different steps in different versions, but overall they are quite similar. Please pay attention to the selection and operate carefully.

Installing OpenWRT on ESXiInstalling OpenWRT on ESXi

Finally, start the virtual machine and successfully enter the OpenWrt command line.

Installing OpenWRT on ESXi

Use vi /etc/config/network to edit the network configuration file, change the static address to an address in the same subnet as your router (do not copy the IP and subnet mask, please fill in according to your actual situation), then save with wq.

Installing OpenWRT on ESXi

Finally, after rebooting with reboot, you can access it by entering this IP in your browser.

Installing OpenWRT on ESXi

Leave a Comment