Community discussions

MikroTik App
 
telecomnetwork2022
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 51
Joined: Thu Dec 22, 2022 5:15 pm

Queues and Packet

Sat Jan 21, 2023 10:48 am

Queues It only works with browsing speed, not with download speed

when make speedtest or download file there is no limitation

i am trying to limit bandwidth in my Address list using Queues and Packet (Mark Connection and MArk Packet) but i got unlimithed bandwidth ? :shock:




fasttrack = OFF
Last edited by telecomnetwork2022 on Sat Jan 21, 2023 11:10 am, edited 1 time in total.
 
User avatar
ryba84
just joined
Posts: 23
Joined: Sat Feb 07, 2015 1:18 pm

Re: Queues and Packet

Sat Jan 21, 2023 11:04 am

Disable fasttrack in firewall.
 
telecomnetwork2022
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 51
Joined: Thu Dec 22, 2022 5:15 pm

Re: Queues and Packet

Sat Jan 21, 2023 11:10 am

Disable fasttrack in firewall.
fasttrack = OFF
 
User avatar
ryba84
just joined
Posts: 23
Joined: Sat Feb 07, 2015 1:18 pm

Re: Queues and Packet

Sat Jan 21, 2023 12:04 pm

Then show Your queue and firewall mangle.
 
telecomnetwork2022
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 51
Joined: Thu Dec 22, 2022 5:15 pm

Re: Queues and Packet

Sat Jan 21, 2023 12:25 pm

Then show Your queue and firewall mangle.
There is no Rules in firewall mangle just mark connection and mark packet for my adress list


/ip firewall mangle

add action=mark-routing chain=prerouting dst-address-list=tiktok \
    new-routing-mark=speed_connections passthrough=yes src-address=\
    192.168.88.0/24
add action=mark-packet chain=prerouting mark-connection=speed_connections dst-address-list= tiktok \
    new-packet-mark=SP-tiktok passthrough=no src-address=192.168.88.0/24
    
 /queue simple
add max-limit=2M/2M name=queue1 packet-marks=SP-tiktok queue=Upload/Download \
    target=""


/queue type
add kind=pcq name=Download pcq-burst-rate=2M pcq-classifier=dst-address \
    pcq-rate=2M
add kind=pcq name=Upload pcq-burst-rate=2M pcq-classifier=src-address \
    pcq-rate=2M

 
User avatar
Khaled0Ebrahim
Frequent Visitor
Frequent Visitor
Posts: 64
Joined: Sun Sep 19, 2021 7:58 pm
Location: Egypt

Re: Queues and Packet

Sat Jan 21, 2023 4:35 pm

You have 2 things wrong. first you are using mark routing not mark connection second in queue you didn't specify a target which means the target is everything means upload and download are going from the same place in the queue so make sure to put the target the same as src address in your rules
 
telecomnetwork2022
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 51
Joined: Thu Dec 22, 2022 5:15 pm

Re: Queues and Packet

Mon Jan 23, 2023 10:34 am

You have 2 things wrong. first you are using mark routing not mark connection second in queue you didn't specify a target which means the target is everything means upload and download are going from the same place in the queue so make sure to put the target the same as src address in your rules
i am correct the issues but the Queue sometimes work and sometimes not work @!
 
User avatar
Khaled0Ebrahim
Frequent Visitor
Frequent Visitor
Posts: 64
Joined: Sun Sep 19, 2021 7:58 pm
Location: Egypt

Re: Queues and Packet

Mon Jan 23, 2023 11:13 am

what are you trying to achieve
 
telecomnetwork2022
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 51
Joined: Thu Dec 22, 2022 5:15 pm

Re: Queues and Packet

Mon Jan 23, 2023 11:37 am

what are you trying to achieve
limit bandwidth for tiktok and twitch (sorted in address list)

just need acorrect rules mark connections and packet and queues rule
 
User avatar
Khaled0Ebrahim
Frequent Visitor
Frequent Visitor
Posts: 64
Joined: Sun Sep 19, 2021 7:58 pm
Location: Egypt

Re: Queues and Packet

Mon Jan 23, 2023 11:42 am

first of all you can't put a static address list when dealing with these apps
you need to use tls or use mikrotik as a dns and use a script to inspect dns requests to get the ip addresses and put them in address list otherwise it won't work
 
User avatar
Khaled0Ebrahim
Frequent Visitor
Frequent Visitor
Posts: 64
Joined: Sun Sep 19, 2021 7:58 pm
Location: Egypt

Re: Queues and Packet  [SOLVED]

Mon Jan 23, 2023 11:54 am

Here is how to use TLS
https://youtu.be/T2CQyN-D4u4
tip: you need to choose action to be add dst to address list instead of blocking. and this only works for TCP.
Here how to use DNS way
viewtopic.php?t=128524

Who is online

Users browsing this forum: alan3664, deadmaus911, Greyhard, itvisionpk, sybadi and 98 guests