Redirect IP address to internal IP Address

Hi everyone
I am extremely new to Mikrotik. I just need help on one little thing
I need to redirect an IP address to a Local machine.
ex: I put in 101.###.###.101 in my web browser… I then need it to go to a local machine 192.168.1.200(server) and it brings up that machines webpage

is this possible? I know how to port forward, but I’m lost on this.

The thing is I am updating programs using my web server. I can update other locations but I can’t update the local machines programs.

I’m lost. :frowning:

Bryan

If you are a user on the Mikrotik and you want HTTP (TCP port 80) traffic going out to the IP address 101.101.101.101 to instead be redirected to a local server 192.168.1.200, then you could do this:

Using WinBox:

IP->Firewall->NAT

Add a new NAT rule (red + sign)

General Tab:
Chain: dstnat
Dst Address: 101.101.101.101
Protocol: TCP
Dst Port: 80

Action Tab:
Action: dst-nat
To Addresses: 192.168.1.200
To Ports: 80


Russell Kaiser

Or using telnet/SSH

/ip firewall nat
add chain=dstnat dst-address=101.101.101.101 protocol=tcp dst-port=80 \
action=dst-nat to-addresses=192.168.1.200 to-ports=80

Hey, I was trying the same, but cannot ping 192.168.20.155, while I can do so with 192.168.20.1 (which is my mikrotik router):

/ip firewall nat add action=dst-nat chain=dstnat dst-address=192.168.20.155 log=yes log-prefix="DSTnat - " to-addresses=192.168.20.1

If the server and user are on the same router and more specifically on the same subnet you are probably running into hairpin NAT.
Please see item E. here - https://forum.mikrotik.com/viewtopic.php?t=182373

Check here how Hairpin NAT works https://help.mikrotik.com/docs/display/ROS/NAT#NAT-HairpinNAT