Setup on MikroTik RouterOS?


#1

hello, i have a problem set on my RouterBoard

i used below script on terminal, which is work with opendns. But when i’m use it with cloudflare DNS i can’t do browsing, etc. i can only ping

/ip dns
set allow-remote-requests=yes servers=1.1.1.1,1.0.0.1

/ip firewall nat
add action=dst-nat chain=dstnat comment=Cloudflare dst-port=53,5353 protocol=tcp to-addresses=1.1.1.1 to-ports=5353
add action=dst-nat chain=dstnat comment=Cloudflare dst-port=53,5353 protocol=udp to-addresses=1.1.1.1 to-ports=5353
add action=dst-nat chain=dstnat comment=Cloudflare dst-port=53,5353 protocol=tcp to-addresses=1.0.0.1 to-ports=5353
add action=dst-nat chain=dstnat comment=Cloudflare dst-port=53,5353 protocol=udp to-addresses=1.0.0.1 to-ports=5353

i have rebooted my RB, but nothing happen. please help?


#2

Your dst-nat’ing to port 5353 which 1.1.1.1 or 1.0.0.1 does not respond too…

/ip dns
set allow-remote-requests=yes servers=1.1.1.1,1.0.0.1

/ip firewall nat
add action=dst-nat chain=dstnat comment=Cloudflare dst-port=53,5353 protocol=tcp to-addresses=1.1.1.1 to-ports=53
add action=dst-nat chain=dstnat comment=Cloudflare dst-port=53,5353 protocol=udp to-addresses=1.1.1.1 to-ports=53
add action=dst-nat chain=dstnat comment=Cloudflare dst-port=53,5353 protocol=tcp to-addresses=1.0.0.1 to-ports=53
add action=dst-nat chain=dstnat comment=Cloudflare dst-port=53,5353 protocol=udp to-addresses=1.0.0.1 to-ports=53