Quantcast
Channel: MikroTik
Viewing all articles
Browse latest Browse all 21234

General • Re: IP Hotspot DNS Redirect on V7

$
0
0
Thanks for the reply!

So I would just want to accept the traffic to avoid hitting the hotspot? I was wondering if I can create rules and have them stay at the top. I was thinking if you reboot that the dynamic rules always move to the top. If so I could have a script that just added the rules then.

I did shut off the hotspot, and turn back on, and my test rules did stay at the top, but I didn't test a reboot yet.

Here is what I manually tried above those rules, it seemed to work, but I didn't test in the field.

/ip firewall nat
add action=accept chain=hotspot comment=DNS-FILTER_BYPASS_UPD disabled=yes \
dst-port=53 hotspot=auth protocol=udp to-ports=64872
add action=accept chain=hotspot comment=DNS-FILTER_BYPASS_TCP disabled=yes dst-port=53 \
hotspot=!auth protocol=tcp to-ports=64872

Thanks

Statistics: Posted by macux — Wed Jan 24, 2024 5:28 pm



Viewing all articles
Browse latest Browse all 21234

Trending Articles