WhatsApp Calls through IPFilter - How do I allow?

Mark Felder feld at FreeBSD.org
Fri Feb 26 12:49:35 UTC 2016



> On Feb 26, 2016, at 01:56, Odhiambo Washington <odhiambo at gmail.com> wrote:
> 
> 
> 
>> On 25 February 2016 at 18:00, Mark Felder <feld at freebsd.org> wrote:
>> 
>> 
>> On Thu, Feb 25, 2016, at 05:04, Odhiambo Washington wrote:
>> > I have a network where FreeBSD acts as the gateway. I use IPFilter as the
>> > firewall.
>> >
>> > I have users with smartphones who'd like to use Whatsapp call feature but
>> > the firewall is blocking these. I have googled and found
>> > https://github.com/ukanth/afwall/issues/358 which seems to talk about the
>> > ports that I need to open, but even after following that, I still cannot
>> > get this working. My IPFilter rules are these ->
>> > http://pastebin.com/77YrMEEG
>> >
>> > Hopefully someone can see what I am missing or knows what I should do.
>> > I am currently away from the box and with bad Internet, I cannot easily
>> > do
>> > packet capture to analyze... I know iy sounds lazy, but I also hope this
>> > wheel has already been invented and is spinning already...
>> >
>> >
>> 
>> Do you end up getting log entries for the blocked traffic?
>> 
>> --
>>   Mark Felder
>>   ports-secteam member
>>   feld at FreeBSD.org
> 
> 
> I do't see anything written to the logfile.
> However, I have identified the rules blocking the traffic. I just need to get the ports used by Whatsapp for calls and I'll get this sorted.
> 

After some searching I was able to find someone who claims "The voice server connects only, as mentioned, 59437 - 59581 (the first time) and this goes through port 5222."

I also came across this URL containing all the whatsapp IPs: http://www.whatsapp.com/cidr.txt

If you still can't get this sorted out I can try emailing a contact I have at Whatsapp to see if he can provide further details.


More information about the freebsd-questions mailing list