1) Use tcpdump to inspect WhatsApp packets and get an idea of what they look like
2) Use iptables or nftables to set up rules to block them.