Community discussions

MikroTik App
 
fractal90
just joined
Topic Author
Posts: 1
Joined: Tue Aug 25, 2020 7:10 pm

Traffic prioritization (simple)

Fri Nov 12, 2021 4:06 pm

Hi, I want to make myself a VPN prioritization to a specific network

Excerpt from the config, uplink 100Mb, ether1 port

in Bridge ports 2 and 3, comp and access point network 192.168.100.0/24
The Ether4 port is another computer network 192.168.200.0/24

I want that when loading the channel and at the same time if there is traffic on mangle to the side 192.168.10.0/24 / 192.168.20.0/24 / 192.168.50.0/24 a guaranteed band was allocated, I did so, but for some reason I see packages on the "anyconnect office main" queue, but when downloading everything slows down for the host 192.168.200.100
/ip firewall mangle
add action=mark-packet chain=forward comment="Like TV mangle" new-packet-mark=LikeTV passthrough=yes src-address=193.238.131.0/24
add action=mark-packet chain=forward comment="anyconnect office1" new-packet-mark=office1 passthrough=yes src-address=192.168.10.10
add action=mark-packet chain=forward comment="anyconnect office2" new-packet-mark=office2 passthrough=yes src-address=192.168.20.10
add action=mark-packet chain=forward comment="anyconnect main office" new-packet-mark=net_office_main passthrough=yes src-address=192.168.50.10

/queue simple
add comment="BACKUP" dst=192.168.100.100/32 max-limit=70M/0 name="NB to PC" target=192.168.100.252/32
add comment="Epic" dst=188.43.0.0/16 max-limit=0/50M name="Epic Download" target=192.168.100.100/32
add comment="UPLINK ETHER1" dst=ether1 max-limit=98M/98M name=all_wan_speed target=""
add comment="Like TV Player" limit-at=30M/30M max-limit=50M/50M name=Priority_LikeTV packet-marks=LikeTV parent=all_wan_speed priority=6/6 target=""
add comment="anyconnect office 1" limit-at=10M/10M max-limit=98M/98M name=Priority_office1 packet-marks=office1 parent=all_wan_speed priority=5/5 target=""
add comment="anyconnect office 2" limit-at=10M/10M max-limit=98M/98M name=Priority_office2 packet-marks=office2 parent=all_wan_speed priority=5/5 target=""
add comment="anyconnect main" limit-at=10M/10M max-limit=20M/20M name=Priority_192.168.200.100 packet-marks=net_office_main parent=all_wan_speed priority=4/4 target=192.168.200.100/32
add comment="Network 192.168.100.0/24" max-limit=98M/98M name=192.168.100.0/24 parent=all_wan_speed target=192.168.100.0/24
add comment="Network 192.168.200.0/24" max-limit=20M/20M name=192.168.200.0/24 parent=all_wan_speed target=192.168.200.0/24

/ip address
add address=192.168.100.1/24 interface=bridge0 network=192.168.100.0
add address=192.168.200.1/24 interface=ether4 network=192.168.200.0

Who is online

Users browsing this forum: Bing [Bot], DanMos79, lurker888, mickeymouse690 and 93 guests