I’m struggling to implement the following on my Mikrotik:
Any traffic destined for IP address x must go to IP address y.
It’s a DNS server in particular, the firmware of the device is hard coded with IP address x and I need to make sure that when DNS lookups happen it is done to IP address y.
Yeah I thought that it may be dstnat and have tried the following unsuccessfully:
ip firewall nat print
Flags: X - disabled, I - invalid, D - dynamic
0 ;;; default configuration
chain=srcnat action=masquerade to-addresses=0.0.0.0
1 chain=dstnat action=dst-nat to-addresses=196.46.185.44 dst-address=8.8.8.8
As far as topology goes, it’s a very simple network with a single gateway connecting the devices on the internal network to the internet doing masquerading with srcnat