M
M
MrDZ2019-11-15 14:04:23
Mikrotik
MrDZ, 2019-11-15 14:04:23

Allow access to viber on mikrotik?

On Mikrotik, the firewall is configured to block everything except certain sites. The task is to add access to viber. I tracked some server addresses, through resource monitoring, I found something here in the topics How to block Viber in the local network? , but somehow he opens the qr code for a long time on the computer. Feeling that there are much more server addresses. I don’t really want to do it manually, keep track of the servers) Maybe there is some simple way (I don’t understand L7) to add all the servers. Or maybe someone has a ready-made template, please share.
I have the following firewall (not all)
/ip firewall filter
add action=accept chain=input comment="Accept connection" connection-state=\
established,related
add action=accept chain=forward connection-state=established,related
add action=accept chain=input comment="Local network" in-interface=\
!ether1-gateway src-address=192.168.2.0/24
add action=accept chain=forward comment="Local to net" dst-address-list =test \
in-interface=!ether1-gateway out-interface=ether1-gateway
add action=accept chain=forward comment="test viber" dst-address=\
52.0.252.0/22
​​add action=accept chain=forward dst- address=54.173.12.138
add action=accept chain=forward dst-address=35.190.25.25
add action=accept chain=forward dst-address=54.192.98.0/24
add action=accept chain=forward dst-port=5242 protocol=tcp
add action=reject chain=forward comment="Drop all" protocol=tcp reject-with=\
tcp-reset

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
akelsey, 2019-11-15
@akelsey

Not mine:

In response to the question about the reverse filter, when you need to block everything except Viber. Address 10.0.0.7 - IP host for which this filter works.
/ip firewall filter
add action=drop chain=forward comment="Drop all except Amazon WS (Viber)" disabled=no dst-address=!52.0.0.0/11 src-address=10.0.0.7

PS
Well, DNS should work.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question