Run an OpenWRT VM on Proxmox VE
i12bretro
#OpenWRT #Proxmox #VirtualMachine
Full steps can be found at https://i12bretro.github.io/tutorials/0405.html
What is OpenWRT?
OpenWrt is an open-source project for embedded operating systems based on Linux, primarily used on embedded devices to route network traffic. The main components are Linux, util-linux, musl, and BusyBox. All components have been optimized to be small enough to fit into the limited storage and memory available in home routers. - https://en.wikipedia.org/wiki/OpenWrt
Creating the VM
01. Open a web browser and navigate to the ProxMox web UI https://ProxMoxDNSorIP:8006/ 02. Click the Create VM button at the top right 03. On the General tab, name the VM OpenWRT and set a VM ID (123 in this example) ≫ click Next 04. On the OS tab select Do not use any media and set the Guest OS Type to Linux and Version to 5.x - 2.6 Kernel ≫ click Next 05. On the System tab click Next 06. On the Hard Disk tab set the Disk size to 0.001 ≫ click Next 07. On the CPU tab set the number of CPU cores and the Type to host ≫ click Next 08. On the Memory tab set the amount of memory to 256 MiB ≫ click Next 09. On the Network tab set the Model field to VirtIO (paravirtualized), Uncheck the Firewall box ≫ click Next 10. On the Confirm tab review the settings and click Finish 11. Select the newly created OpenWRT VM from the left navigation panel 12. Select Hardware from the left sub-navigation menu 13. Click the Hard Disk to select it 14. Click the Detach button at the top of the main content window to detach the hard disk from the VM 15. Click the Unused disk to select it 16. Click the Remove button at the top of the main content window to permanently delete it 17. Click the Add button ≫ Network Device 18. Set the Model field to VirtIO (paravirtualized), Uncheck the Firewall box ≫ Click Add
Setting Up the OpenWRT Disk
01. Select the Proxmox node name in the left navigation menu 02. Click Shell in the left sub-navigation 03. Run the following commands in the terminal # lookup the latest stable version number regex='≪strong≫Current Stable Release - OpenWrt ([^/]*)≪/strong≫' && response=$(curl -s https://openwrt.org) && [[ $response =~ $regex ] ... https://www.youtube.com/watch?v=_fh7tnQW034
23244261 Bytes