Get a Protectli box with a very good CPU, 4 Ethernet ports, install OPNSense, and have at it.
I'm surprised the UDM Pro cannot route 2x 1 Gbps on two WANs. I thought it was rated higher than that.
Your test might be running into the 1 Gbps limit backplane problem on the built in switch for UDM Pros.