📡 ISP Lite & Premium
...
ISP and WISP Setup Guide
Pure Cloud setup mode

Mikrotik: NAT General Rules

0min

You can create NAT rules on Mikrotik to automatically redirect all DNS queries (port 53 TCP and UDP) to our datacenters. Copy and paste the following commands into the Mikrotik terminal: » /ip firewall nat » add action=redirect chain=dstnat comment=internetprotection dst-port=53 protocol=udp to-ports=53 » add action=redirect chain=dstnat comment=internetprotection dst-port=53 protocol=tcp to-ports=53 » /ip firewall nat move [/ip firewall nat find comment=internetprotection] 0 # Disable the use of Peer DNS. » /ip dhcp-client set use-peer-dns=no 0 » /ip dns set servers=185.236.104.104,185.236.105.105 » /ip dns set cache-max-ttl=5m

This will allow you to take advantage of Mikrotik's cache, improving network performance.



Other ways to ask: » The operation of the general NAT rules for Mikrotik. » The general NAT rules for Mikrotik. How to manage them.