Hi all - this question/topic has 2 parts - the first is the VM setup of opnsense in KVM and then I will probably need to finalise with the opnsense forum folks.
I am using opnsense (baremetal) as my router/firewall for my home network. It is all configured and working fine.
I want to create an opnsense VM using KVM that I can use to test stuff before making changes to my production router/firewall.
I have the opnsense VM setup and it is generally working as expected so I think I am close, I just wanted to check that I have VM (network interfaces in particular) correct.
- Network interface 1 (WAN): br0 - bridge to OMV - this interface is correctly picking up a IP address from my main home network (as expected)
- Network interface 2 (LAN): created a new network in KVM GUI (172.16.1.1). Then added this network interface using virtio linked to the KVM network
I have configured the VM as above and have been able to successfully get it up and running and with opnsense providing dhcp leases to VM clients with the same network as used for LAN in opnsense.
My issue is that I am having trouble connecting to opnsense GUI (on 172.16.1.1). I can ping this ip from the client VM but if I open a web session to the ip, it points to OMV GUI
So 172.16.1.1 in the client VM points to 192.168.1.3 (OMV server) and I did not expect this.
Anyone have any advice and tips? I'm thinking that my KVM network config for LAN is not quite right?