Dark arts mastery: Created a Linux x86 VM on my M1 Pro MacBook Pro

Within that Linux VM, created a docker container of Ubuntu with some personalised stuff.

On that container, built another one with the OpenWRT builder for RPi 4

Used that docker container to build a new OpenWRT image

Booted it on a spare RPi 4 and restored the backup of my OpenWRT config to it.

Took my actual OpenWRT router down, inserted the flash card I'd just created, and powered it back up.

Everything. Worked.

If you roll your own router, it's useful to know that you can recreate it were it to go tits-up, and I can!

Unknown parent

friendica (DFRN) - Link to source

Sarah Brown

@Becky UTM. My Friendica server, what I am typing this on right now, is also a bunch of Docker containers running on a UTM Debian box (native, not emulated this time) on a Mac Mini M2. The Debian VM in question is on a VLAN that can only access the Internet and not my internal network, which makes me feel a lot better about hosting a web server on my home network (even if it's compromised, they're stuck in VLAN jail with just the gateway which they can only access for DHCP and DNS for company).
in reply to Sarah Brown

Unknown parent

friendica (DFRN) - Link to source

Sarah Brown

@Becky I'll also note that you can't bridge VMs on 2 different VLANs to the same physical ethernet port on UTM and if you try, neither will work.

I discovered this in the traditional manner.

(UTM on a different VLAN to the one the Mac is using natively is fine, this only applies to VMs)

Which is why my Mac Mini has TWO ethernet ports both connected now.