Community discussions

MikroTik App

Search found 13 matches

by digin4
Thu Jul 16, 2020 10:22 am
Forum: Useful user articles
Topic: Using RouterOS to QoS your network - 2020 Edition
Replies: 275
Views: 507642

Re: Using RouterOS to QoS your network - 2020 Edition

This is what I'm using and it's working: # Identify DoH add chain=prerouting action=mark-connection connection-state=new new-connection-mark=DoH passthrough=yes dst-address-list=DoH comment="DoH" add chain=prerouting action=mark-packet connection-mark=DoH new-packet-mark=DoH passthrough=no...
by digin4
Sun Jul 12, 2020 5:58 pm
Forum: Useful user articles
Topic: Using RouterOS to QoS your network - 2020 Edition
Replies: 275
Views: 507642

Re: Using RouterOS to QoS your network - 2020 Edition

Is it possible to prioritize DoH (DNS over HTTPS) traffic such as 1.1.1.1? I created a src-list with all the IP address of DoH providers, then added this mangle rule: add action=mark-packet chain=forward new-packet-mark=DoH passthrough=no src-address-list=DoH comment="DoH" But the packets ...
by digin4
Wed Apr 29, 2020 8:13 pm
Forum: Beginner Basics
Topic: Port range not working in mangle rules
Replies: 6
Views: 2103

Re: Port range not working in mangle rules

Then only one question remains, how sure are you that indeed it was matched by the Rule because of that specific port ?
I generated traffic and checked where the queued bytes are going, also used torch to verify that it is indeed port 51820
by digin4
Wed Apr 29, 2020 6:49 pm
Forum: Beginner Basics
Topic: Port range not working in mangle rules
Replies: 6
Views: 2103

Re: Port range not working in mangle rules

I can't be sure or guess as to why the first rule was matched by that port although it does not exist in the ports field.
What is your ROS Version ?
Is it updated to latest Version ?
Using latest version: v6.46.6 on hAP ac^2
by digin4
Wed Apr 29, 2020 6:20 am
Forum: Beginner Basics
Topic: Port range not working in mangle rules
Replies: 6
Views: 2103

Re: Port range not working in mangle rules

Am not sure if it is correct to add ports and port-ranges at the same line... According to the Manual it should be Ports or Port Ranges... You can just move your last rules on top and you will be fine... Using both ports and port ranges work, I did move the rule to the top and it worked! thank you,...
by digin4
Tue Apr 28, 2020 11:02 am
Forum: Beginner Basics
Topic: Port range not working in mangle rules
Replies: 6
Views: 2103

Port range not working in mangle rules

I have two mangle rules, first one with a port range 12000-51819,51821-64000 and the second rule with only port 51820, issue is the range isn't excluding the port 51820 correctly, it is still getting marked by the first rule, what am I doing wrong? add chain=prerouting action=mark-connection new-con...
by digin4
Sat Apr 25, 2020 2:20 pm
Forum: Useful user articles
Topic: Using RouterOS to QoS your network - 2020 Edition
Replies: 275
Views: 507642

Re: Using RouterOS to QoS your network - 2020 Edition

Does it make sense to use RED for VPN queue running on UDP only? the congestion methods mentioned all seem to apply to TCP exclusively, but in the guide it's mentioned that it can be applied to QUIC which uses UDP so I gues this means it's fine to use it on UDP VPN?
by digin4
Sun Feb 02, 2020 4:29 pm
Forum: Scripting
Topic: weird behavior using Netwatch commands & scripts [SOLVED]
Replies: 3
Views: 10247

Re: weird behavior using Netwatch commands & scripts [SOLVED]

I use unbound on my Pihole, and only these NAT rules works when there's a hard coded DNS on a client: /ip firewall nat add chain=dstnat action=accept src-address=192.168.1.250 /ip firewall nat add action=dst-nat chain=dstnat dst-port=53 in-interface=bridge protocol=tcp to-addresses=192.168.1.1 /ip f...
by digin4
Mon Jan 27, 2020 5:15 pm
Forum: Scripting
Topic: weird behavior using Netwatch commands & scripts [SOLVED]
Replies: 3
Views: 10247

weird behavior using Netwatch commands & scripts [SOLVED]

If I modify my script to disable more than 4 NAT rules it stops working and says "no such item (4)" This is what works: /ip firewall nat disable 1,2,3,4 /ip dns set servers=9.9.9.11,149.112.112.11 /tool e-mail send to="address@gmail.com" subject="Pi-hole is down on $[/system...
by digin4
Tue Jan 14, 2020 8:47 am
Forum: Scripting
Topic: How to change Queue Tree max-limit using scheduler scripts? [SOLVED]
Replies: 1
Views: 9950

How to change Queue Tree max-limit using scheduler scripts? [SOLVED]

I would like to change my queue tree max-limit using scripts, I managed to do it by creating scripts that deletes everything in queue tree then create them again with the modified max-limit, is there a better way to do it? thank you
by digin4
Mon Jan 13, 2020 6:57 pm
Forum: General
Topic: How to change Queue Tree max-limit using scheduler scripts? [SOLVED]
Replies: 1
Views: 1541

How to change Queue Tree max-limit using scheduler scripts? [SOLVED]

I would like to change the parent queue tree max-limit every 12 hours automatically, how can I do that using the scheduler?
by digin4
Tue Jan 07, 2020 11:27 pm
Forum: Useful user articles
Topic: Using RouterOS to QoS your network - 2020 Edition
Replies: 275
Views: 507642

Re: Using RouterOS to QoS your network - 2020 Edition

How to add some TCP ports and prioritize them as VOIP? can I simply do this and it will be enough?: /ip firewall mangle add chain=prerouting action=mark-connection new-connection-mark=VOIP port=4244,5222,5223,5228,5242,50318,59234,1119,3724,6113 protocol=tcp passthrough=yes comment="VOIP" ...
by digin4
Tue Jan 22, 2019 9:09 pm
Forum: RouterBOARD hardware
Topic: Can the hAP ac² act as a router? [SOLVED]
Replies: 3
Views: 2486

Can the hAP ac² act as a router? [SOLVED]

Hello, can the hAP ac² act as a router instead of an access point? I want it to act as a DHCP server and use firewall nat rules.