Community discussions

MikroTik App
 
nxs02
Member Candidate
Member Candidate
Topic Author
Posts: 119
Joined: Sat Nov 07, 2015 1:25 pm
Location: Planet Earth

[Ask] load image in whatsapp become slow

Sat Nov 14, 2015 9:24 pm

Im using RB951Ui-2nD and when im using whatsapp in my mobile phone through wifi to mikrotik and its become slow when loading image in group chat or private chat in whatsapp
Anyone had same experience? and how to fix this issue?
 
slaz
newbie
Posts: 33
Joined: Mon Jun 08, 2020 11:14 am

Re: [Ask] load image in whatsapp become slow

Mon Jun 08, 2020 11:15 am

Hi, I also see this behavior. Is there any chance you manage to get it solved? Thanks lots in advance
 
User avatar
cyon
Frequent Visitor
Frequent Visitor
Posts: 62
Joined: Tue Apr 29, 2014 12:58 pm

Re: [Ask] load image in whatsapp become slow

Fri Aug 27, 2021 3:29 pm

I have the same problem.
 
Najifares
just joined
Posts: 19
Joined: Tue Jun 14, 2016 2:08 am

Re: [Ask] load image in whatsapp become slow

Mon Sep 05, 2022 11:13 am

hello
i have 3 internet connections connecting to mikrotik using load balacing
when more than one connection is connectiong to the mikrotik i'm facing problem like reaching some websites and like whatsapp media is very slow to download (audio)
but when i disconnect other connection and leave just one all work fine
What is the problem??!!
here is my mikrotik configuration
# model = 750

/interface bridge
add name=Bridge-Local protocol-mode=none
/interface ethernet
set [ find default-name=ether1 ] comment=WAN
set [ find default-name=ether2 ] comment=WAN
set [ find default-name=ether3 ] comment=WAN
set [ find default-name=ether4 ] comment=LAN
set [ find default-name=ether5 ] comment=LAN
/interface list
add name=WAN
add exclude=WAN name=LAN
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/ip pool
add name=dhcp_pool0 ranges=192.168.1.90-192.168.1.220
/ip dhcp-server
add address-pool=dhcp_pool0 disabled=no interface=Bridge-Local lease-time=1d \
    name=dhcp1
/user group
set full policy="local,telnet,ssh,ftp,reboot,read,write,policy,test,winbox,pas\
    sword,web,sniff,sensitive,api,romon,dude,tikapp"
/interface bridge port
add bridge=Bridge-Local interface=ether4
add bridge=Bridge-Local interface=ether5
/ip neighbor discovery-settings
set discover-interface-list=!WAN
/interface list member
add interface=ether1 list=WAN
add interface=ether2 list=WAN
add interface=ether3 list=WAN
/ip address
add address=192.168.1.1/24 comment=defconf interface=Bridge-Local network=\
    192.168.1.0
/ip dhcp-client
add add-default-route=no disabled=no interface=ether1 use-peer-dns=no \
    use-peer-ntp=no
add add-default-route=no disabled=no interface=ether2 use-peer-dns=no
add add-default-route=no disabled=no interface=ether3 use-peer-dns=no
/ip dhcp-server network
add address=192.168.1.0/24 gateway=192.168.1.1
/ip dns
set servers=8.8.8.8
/ip firewall address-list
add address=192.168.1.0/24 list=NAT_USERS
/ip firewall filter
add action=accept chain=forward connection-state=established,related
add action=drop chain=forward connection-state=invalid
add action=accept chain=input dst-port=8291 in-interface-list=!WAN protocol=\
    tcp
add action=accept chain=input connection-state=established,related
add action=drop chain=input connection-state=invalid
add action=drop chain=input in-interface-list=WAN
/ip firewall mangle
add action=accept chain=prerouting in-interface=ether1
add action=accept chain=prerouting in-interface=ether2
add action=accept chain=prerouting in-interface=ether3
add action=mark-connection chain=prerouting dst-address-type=!local \
    in-interface=Bridge-Local new-connection-mark=WAN1_conn passthrough=yes \
    per-connection-classifier=both-addresses:8/0 src-address-list=NAT_USERS
add action=mark-connection chain=prerouting dst-address-type=!local \
    in-interface=Bridge-Local new-connection-mark=WAN2_conn passthrough=yes \
    per-connection-classifier=both-addresses:8/1 src-address-list=NAT_USERS
add action=mark-connection chain=prerouting dst-address-type=!local \
    in-interface=Bridge-Local new-connection-mark=WAN3_conn passthrough=yes \
    per-connection-classifier=both-addresses:8/2 src-address-list=NAT_USERS
add action=mark-routing chain=prerouting connection-mark=WAN1_conn \
    in-interface=Bridge-Local new-routing-mark=to_WAN1
add action=mark-routing chain=prerouting connection-mark=WAN2_conn \
    in-interface=Bridge-Local new-routing-mark=to_WAN2
add action=mark-routing chain=prerouting connection-mark=WAN3_conn \
    in-interface=Bridge-Local new-routing-mark=to_WAN3
/ip firewall nat
add action=masquerade chain=srcnat out-interface-list=WAN src-address-list=\
    NAT_USERS
/ip route
add check-gateway=ping distance=1 gateway=192.168.4.1 routing-mark=to_WAN1
add check-gateway=ping distance=1 gateway=192.168.2.1 routing-mark=to_WAN2
add check-gateway=ping distance=1 gateway=192.168.3.1 routing-mark=to_WAN3
add check-gateway=ping distance=1 gateway=192.168.4.1
add check-gateway=ping distance=2 gateway=192.168.3.1
add check-gateway=ping disabled=yes distance=3 gateway=192.168.2.1
/system clock
set time-zone-name=Asia/Beirut
/system identity
set name=mikrotik
 
sindy
Forum Guru
Forum Guru
Posts: 10205
Joined: Mon Dec 04, 2017 9:19 pm

Re: [Ask] load image in whatsapp become slow

Mon Sep 05, 2022 12:43 pm

What is the problem??!!
Some servers check that the client IP address is the same for all individual connections (TCP sessions) that are logically linked together - such as a download of an image to which a previously downloaded html document refers, but it's just an unrealistic example for illustration of the idea as no one actually cares about this particular case.

So try changing both-addresses to src-address in the per-connection-classifier in all rules that use it. If it helps, you know the reason, and you have to evaluate the consequences of this change, i.e. how the number of LAN side clients and difference in bandwidth of the individual uplinks will impact the experience of the individual LAN clients. If there is a significant difference in bandwidth, you might need to adjust the rules to distribute the traffic among the uplinks in a ratio proportional to the ratio of their bandwidths. I.e. if uplink 1 has 10 Mbit/s, uplink 2 has 5, and uplink 3 has only 2, you need to send 5/17 of the connections via uplink 2, 2/17 via uplink 3, and the rest via uplink 1. In most cases the download bandwidth is the one that matters.
 
Najifares
just joined
Posts: 19
Joined: Tue Jun 14, 2016 2:08 am

Re: [Ask] load image in whatsapp become slow

Mon Sep 05, 2022 1:34 pm

Do not quote preceding post - use "Post Reply" instead.
Dear
sorry i didn't understand what i have to do
please
 
sindy
Forum Guru
Forum Guru
Posts: 10205
Joined: Mon Dec 04, 2017 9:19 pm

Re: [Ask] load image in whatsapp become slow

Mon Sep 05, 2022 1:40 pm

what i have to do
In all mangle rules that use per-connection-classifier, change per-connection-classifier=both-addresses to per-connection-classifier=src-address . If that fixes your issue, it makes sense to discuss the rest.

Who is online

Users browsing this forum: Google [Bot], Greyhard, jamesperks, sybadi and 95 guests