I'm having trouble configuring the VirtualBox network settings to make this work. I would like to have two virtual machines running, one will be OpenWrt and the other one Ubuntu 20.04. The plan is to use the OpenWrt VM as a virtual router that connects directly to internet (Bridge adapter) and the other vm will connect to internet only through OpenWrt. The host is linux mint.
I was able to install OpenWrt on VirtualBox with the official guide but I'm not completely sure how I can continue with the rest of the process.
I would appreciate any help.
Its possible and works quite well.
Did you create two network cards for the OpenWRT-VM as follows? Adapter 1 is LAN for OpenWRT and Adapter 2 is WAN for OpenWRT:
The Ubuntu-VM needs to have just one network as follows:
I have the same setup as @Torxgewinde, except for two things:
In the OpenWrt VM, the adapter 2 (WAN) is a "Bridged Network".
For better performance, I select "Paravirtualized network adapter (virtio-net) " in type of hardware for all my VM.
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.