I just change my nameservers to CloudFlare’s and now I can’t connect to my self-hosted WireGuard server. Not sure what the reason is. I looked all over the CloudFlare settings for my domain name and don’t see any firewall rules at all, let alone any which would block UDP or certain ports.
When a DNS record is set to proxy , Cloudflare only proxies HTTP traffic and only on supported ports. If you want to use wireguard/another protocol, the DNS entry should be grey clouded .