Fasttrack Firewall
Fasttrack Firewall
Still on firewall filter rules, let�s complete our router rules with Router
protection and Clients Protection to avoid something that we don�t want! For more
explanation please visit wiki.mikrotik.com.
We going to mark the connection packets for total upload and download as usual.
This rules will not effect with fasttrack-connection that we have just created
above. After that we create the connection packets mark based on bytes size of the
connection packets.
Assuming that the client download any files with different sizes. We don�t want
that the client who download the big size file spend a lot of the bandwidth spare
that we have. So we have plan that the connection packets priority is down, and
change Its speed is lowered. Of course its not just for download files, its for all
connection packets types based on bytes sizes. Ok lets see the rules below!
Queue tree with PCQ to manage the priority and speed limitation
Assuming we have total bandwidth 20M, we want to spread the internet connection
equal for all clients using PCQ for every separated packets byte sizes that we have
defined on mangle rules. In this case I use pcq-download-default, pcq-upload-
default. Change the total limit PCQ as you like, or you can create a new rule for
PCQ, then use it on queue tree.
/queue tree
add max-limit=20M name=Downsteam-ISP packet-mark=dpkt-isp parent=global queue=pcq-
download-default
add limit-at=1M max-limit=20M name=1.light-isp packet-mark=dpkt-light-isp
parent=Downsteam-ISP priority=1 queue=pcq-download-default
add limit-at=1M max-limit=10M name=2.fair-isp packet-mark=dpkt-fair-isp
parent=Downsteam-ISP priority=2 queue=pcq-download-default
add limit-at=1M max-limit=5M name=3.weight-isp packet-mark=dpkt-weight-isp
parent=Downsteam-ISP priority=3 queue=pcq-download-default
add limit-at=1M max-limit=1M name=4.very-isp packet-mark=dpkt-very-isp
parent=Downsteam-ISP priority=4 queue=pcq-download-default
add max-limit=20M name=Upsteam-ISP packet-mark=upkt-isp parent=global queue=pcq-
upload-default
So that�s all about the Effective Way Bandwidth Management with Fasttrack Firewall
Filter, I hope can be useful, and for more clearly lets see the video below! Happy
exploring!