Hello, Mr Juan. All right?
For correct release of Whatsapp We need to understand the client's scenario.
At its root the Whatsapp uses 80/HTTP, 443/HTTPS and 5222/XMPP ports for operation.
In addition to communication with hosts whatsapp.com for general operation and whatsapp.net for media content.
Release via dictionary object:
.*whatsapp.com.*
.*whatsapp.net.*
Over time the application inserted support for more resources, and consequently this scope of doors was changing.
In specific scenarios, in addition to the above-mentioned releases, it is necessary to make further adjustments, it all depends whether it is an installed application or whether it is a web access via browser.
Release of doors for specific services:
Porta 5222: para conexões de bate-papo
Porta 5223: para conexões de bate-papo seguras
Porta 5228: para conexões de push de notificação
Porta 5242: para conexões de compartilhamento de localização
Porta 4244: para conexões de backup e restauração do WhatsApp
As described in the official documentation , the WhatsApp uses some ports and traffic through UDP protocol, following ports for audio and video connections are used:
TCP : 4244
UDP : 3478
UDP : 45395 a 65535
OBS: Because of end-to-end encryption, for the correct operation of Whatsapp web or application is not allowed to perform SSL inspection on the connection, to avoid this always leave the category "Exchange of instant messages" as an exception if it has SSL profile in politics.
For more information see the official documents and forums of the application.
Support material: FAQ Whatsapp