I hawe mikrotik 2.8 with ip 82.114.73.86 in interface isp end 2 other interfaces eth2 and eth3 so i nead when some one type the ip in browser 82.114.73.86 to redirect me to eth2 ip 10.10.10.122.
i did this but not working:
ip firewall dst-nat>add action=redirect dst-address=82.114.73.186/32:80 protocol=tcp in-interface=isp to-dst-address=10.10.10.122
I’m trying to do that on my 2.9.x system and I must say that every port except the following works.
22
23
80
443
I can easiley set up every other port numbers.
I changed the service ports in the RouterOs to something else and rebooted, but it will still not work. I have 2 internet connections so I can make tests in real time. What I can see is that the packets arrive to the dst-nat chain. I have also the simplest configuration when I did the test as you can see.
[admin@MikroTik] > ip firewall nat print srcnat
Flags: X - disabled, I - invalid, D - dynamic
0 chain=srcnat out-interface=wlan1 action=masquerade
[admin@MikroTik] > ip firewall nat print dstnat
Flags: X - disabled, I - invalid, D - dynamic
0 chain=dstnat dst-address=192.168.0.254 protocol=tcp dst-port=20-21
action=dst-nat to-addresses=192.168.1.201 to-ports=0-65535
if you wonder why I have a private IP address at the both interfaces is that I got pissed and did a completely reinstall and connected my laptop directly to the router interface.
I connected from Line 1 over internet to Line 2 and natted back to the same LAN my computer is on. That obviously does not works with http,ssh & telnet, but ftp is no problem at all.
My computer & Webserver —> Router 1—> Line 1—Internet—> Line 2—> Router 2—> Router 1
Conclusion, it must work out for you. Try to change the service port on the router from port 80 to something else, if you do not already tried that.