Community discussions

MikroTik App

Search found 11 matches

by digin4
Wed Apr 29, 2020 8:13 pm
Forum: Beginner Basics
Topic: Port range not working in mangle rules
Replies: 6
Views: 1132

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: 1132

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: 1132

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: 1132

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: 177
Views: 226571

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: 2495

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: 2495

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 clock get time]." If I u...
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: 2092

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: 532

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: 177
Views: 226571

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" Thank you!
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: 1145

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.