Use a Vagrant VM to build custom Raspberry Pi 4 OpenWrt images.
This are scripts to create an attack VM. It's more a template than another thing. Here is the skeleton applied for HTB.
Notes from the Vagrant Crash Course YouTube video.