Port forward subnetwork.

I want to ask for help.

I have a Mikrotik LHG LTE device.
Its local IP address is 192.168.88.1
Behind it is a Tp-link router with an IP address of 192.168.0.1
(This device receives a 192.168.88.200 WAN IP address from Mikrotik.)

Behind this TP-link router is a set top box with a local IP address of 192.168.0.18
I would like to open FTP port 21 of this set top box to the internet on external port 21212.

How do I configure NAT and HAIRPIN NAT?

I don’t see the router’s admin interface from the internet either, even though DDNS is turned on in the CLOUD menu. The LHG device responds to Ping.


Thanks.

https://wiki.mikrotik.com/wiki/Hairpin_NAT

Well you start at the TP LINK
Port forward port 21 to the lanip of the FTP server.

At the next stop, the MT, you will be forwarding port 21 to the WANIP of the TPLINK (its LANIP on the MT subnet).
Since its coming into the MT as a different port you will need port translation in your Dst Nat rule.

Why do you need hairpin nat? Just have internal users use the LANIP of the server if behind the TPlink router.

Thanks.
I did port forward, but it doesn’t work.

(I guess I don’t need to set anything up on the tp-link router for this. Only on Mikrotik.)

I may have done the NAT rule wrong.

Can you make me the specific NAT rule to make it work?

This is an LHG LTE device, no problem?

Sorry if you dont understand that the TP LINK needs port forwarding rules set on its own configuration to get the feed from the primary router on its WAN port, to transfer it to the TP link LAN, and then to the server on the TPLINK LAN, then you are beyond help.

Is there something not understood about your network??

Thanks.
So then:
In the TP-link router, port forward to the FTP server on port 21?
In Mikrotik, should the incoming port 21212 be forwarded to the address of the TP-link router (192.168.88.200) as port 21?
{PUBLIC IP}: 21212 (Mikrotik)—192.168.88.200:21 (TP-link)—192.168.0.18 (FTP server): 21?

Yes, the microtik can do the port translation to port 21 so the dst-port is 21212 and the to-ports is 21 on the destination nat firewall rule on the MT

https://wiki.mikrotik.com/wiki/Manual:IP/Firewall/NAT#Basic_examples