How to block whatsapp from my router i'm using openwrt 19.1.. I tried to add some whatsapp host name in my iptables rules but it is not working. Every time whatapp start it tried to send diff destiantion address.
I found whatsapp port 5222, 5223,443,80 but blocking port 443 and 80 will block all https and http traffic. Any suggestion
Even after dropping all the ips from filter table still whatsapp call and messages are working. tcpdump given new different set of Ips 157.240.192.50
157.240.242.62
31.13.79.52
163.70.139.62
157.240.192.50
Those IPs mostly match SecOps-Institute/FacebookIPLists.
Since WhatsApp is owned by Facebook/Meta, their services seem to be quite tightly integrated, so blocking WhatsApp likely requires to block Facebook.
I updated the instructions on the wiki page linked above.
Whatsapp will be using a huge Content Delivery Network. I dont believe it is possible to block such a company with IP addresses or names alone, it would be an absolutely mammoth task. The best thing to do would be to use a public DNS service (maybe opendns or similar) and block it through that. The other alternative would be to find some kind of script based blocking service. The reason the destination IP's change is because whatsapp is probably run on about 10,000 CDN servers
You're probably correct but it's a lot more of a hassle trying to find the IP range of a company or that companies application than it used to be. They want everyone to use their apps so they are sneaky. Never trust a social media giant. They know what you're up to and keep changing the goalposts
Just when you think you're winning they dont just move the goalposts, they move to a different pitch and score a million goals to your 10 before you even realise