nftables
udp dport { 80, 443 } reject with icmpx port-unreachable
iptables
-p udp --match multiport --dports 80,443 -j REJECT