redirect - replaces destination port of an IP packet to one specified by to-ports parameter and destination address to one of the router’s local addresses
As long you are redirecting to local address you can use redirect and if it outside then you need to use dst-nat.
local - if dst-address is assigned to one of router’s interfaces
I think you are incorrect but I can’t find any documentation on it right now.
Local are the adresses in /ip address. Redirect carry your packets to the local port of the router with that address, and leave it there. If there is no pick-up service than your packets gets lost.
Mur the redirect rule is doing what you state as a requirement in your first post! If forces all LAN requests from PCs (regardless of destination intention of the PC setup or pC user) to the settings you have setup in the router.
I think the key here is any misconception you may have about dstnat. It does not care where the traffic is coming from, so this is applied to ANY traffic attempting to hit port 53 be it incoming traffic from the internet or from the LAN.
The redirect rule ONLY applies to local traffic behind the router that is seeking to hit port 53.
I think the key here is any misconception you may have about dstnat. It does not care where the traffic is coming from, so this is applied to ANY traffic attempting to hit port 53 be it incoming traffic from the internet or from the LAN.
The redirect rule ONLY applies to local traffic behind the router that is seeking to hit port 53.
I think that you’re right. I have always said that I am kind of a newby when it comes to networking and Mikrotik. So, thank you for explanations and patience..sincerely
However, I was trying to understand why the two actions have the same effect. I have set up the two NAT rules you see in my first post and they work well, meaning they do what they are expected to do.
Thanks
dst-nat - replaces destination address and/or port of an IP packet to values specified by to-addresses and to-ports parameters
redirect - replaces destination port of an IP packet to one specified by to-ports parameter and destination address to one of the router’s local addresses
It seems to me that the difference between the two is that with dst-nat you can specify the new destination address dst-address (and can be any address, either internet or LAN or (not sure about this) router’s own), while redirect always sends packet to router itself.
The rest of properties of nat rule serm to be same for both variants.