Installing wireguard on CentOS Stream 9

As I do a lot of my research on new Domino versions, Connections versions and HCL DX on my own server at home and as I’m often not at home, I figured I needed a VPN tunnel to my server, so I can work as if I am home. Wireguard has become kind of the de facto standard for these kind of situations, so I looked into installing it on my CentOS Stream 9 host.
This is a companion discussion topic for the original entry at https://blog.martdj.nl/2024/01/14/installing-wireguard-on-centos-stream-9/