UDPQuiz is an eBPF program that runs on Linux to send back all udp packets as is. This makes it a perfect tool to test which udp ports have been firewalled on your network.
Visiting the site requires your browser to support HTTP/3 and HTTP DNS records. A static copy is available at https://static.udpquiz.com/
Take a look at the Makefile.