Download the image from https://archive.openwrt.org/releases/24.10.0/targets/x86/64/
# DOWNLOAD
wget https://archive.openwrt.org/releases/24.10.0/targets/x86/64/openwrt-24.10.0-x86-64-generic-ext4-combined.img.gz \
-O openwrt.img.gz
# EXTRACT
gzip -d openwrt.img.gz
# CONVERT IMG <-> QCOW2
qemu-img convert -O qcow2 openwrt.img openwrt.qcow2
# MOVE TO UNRAID DOMAIN
mkdir -pv /mnt/user/domains/openwrt/
mv openwrt.qcow2 /mnt/user/domains/openwrt/
The following are the unRaid configuration for VM using Generic Linux VM
Linux
Logical CPU: 1/2 Core
Initial Memory: 128 MB
Machine: i440fx-7.1
BIOS: SeaBIOS
Primary vDisk Bus: VirtIO
Primary vDisk Location (Manual): /mnt/user/domains/openwrt/openwrt.qcow2
Network Model: virtio-net
Optionally, enable hardware passthrough if required from unRaid to VMs.
This can be found under Tools -> System Devices
and enbale Bind selected to VFIO at Boot
.
- Connect to OpenWRT VM via VNC console.
- Open the file
/etc/config/network
in an editor. - Find
lan
interface configuraion, and modifyoption ipaddr '192.168.1.1'
to an IP inside the subnet of the unRaid server. - Optionally, find
lan
interface configuraion, and modifyproto
todhcp
. - Optionally, modify
wan
based on network topology. - Once all done, restart network using
/etc/init.d/network restart
- Get the current IP using
ip addr
- Open the UI on the IP obtained in the previous step.