Afternoon all, per the title, trying to find out if I can expose both network ports to a VM so I can run pfsense as a VM rather than nuking ZimaOS because I’ve got everything else where I want it!
There’s no obvious way in the GUI, so was wondering if there’s a file somewhere, or can I create the machine manually?
Turns out that the answer is “Yes”!
It’s a QEMU hypervisor on board, so the key words to kagi (or google, if you prefer) are “virsh attach-interface”. I can’t tell you the exact syntax as I got it wrong but was able to edit the machine with virsh edit and edited the new interface to look like the existing interface, so it now looks like (with mac addresses obscured):
<interface type='direct'>
<mac address='xx:xx:xx:xx:xx:xx'/>
<source dev='eth0' mode='bridge'/>
<model type='e1000e'/>
<address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
</interface>
<interface type='direct'>
<mac address='xx:xx:xx:xx:xx:xx'/>
<source dev='eth1' mode='bridge'/>
<model type='e1000e'/>
<address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
</interface>
Both show up in the pfsense interface and appear to be happily accessible to the rest of the network, so this may well be a sensible way to run pfsense alongside ZimaOS. The actual configuration of the routing is an entirely different kettle of fish, I’m only here to try and get inbound IPv6 on my Starlink!