How to forward inside traffic to inside (auto-NAT)

Sorry for the Title, not so clear.

I need to do a feature.

I have LAN address of a router that is: 192.168.0.0/24

The first LAN after the first router is the: 192.168.99.0/24

Outside of the second LAN i have the public interface, with public address, for example (1.1.1.1)

Router 1 (Mikrotik): WAN 1.1.1.1/24 LAN: 192.168.99.1/24 Default GW: 1.1.1.2/24 Firewall NAT: dst-nat from 1.1.1.1:80 to 192.168.99.254:80
Router 2 (not Mikrotik for te moment, so not really configurable): WAN 192.168.99.254/24 LAN: 192.168.0.1/24 Default GW: 192.168.99.1 Firewall NAT: dst-nat from 192.168.99.254:80 to 192.168.0.18:80



If i have a server that has address 192.168.0.18, but the router of the class 192.168.0.0/24 has not advanced routing features, in which way i can redirect the traffic to the server, if i am in the PC with IP 192.168.0.20/24 and Default GW: 192.168.0.1 and i will call the address 1.1.1.1:80

Next days i will try to install a Mikrotik Router also in the Router2 site, but now i cannot.



Thanks,
Michele

You need standard hairpin NAT. Add srcnat rule to router 1 to masquerade connections from 192.168.99.254 to 192.168.99.254.