I have two routers, one given by the internet provider, which I cannot control ( only they can ) and the second is my Mikrotik HAP ac (RB962UiGS-5HacT2HnT).

My router was primary before, and I had several ports forwarded. Now it's secondary, so I asked them to forward to the router's IP. However, that's not really working.

So my configuration is:

Outside router: Inside router's static IP:

Outside port 7722 forwarded to 7722 of

Internal router (Mikrotik)'s IP:, my server's IP in the internal network is

On the internal router (Mikrotik) I have the following rules:

chain=dstnat action=dst-nat to-addresses= to-ports=22 protocol=tcp dst-address= dst-port=7722

Before adding another router in the loop, dst-address was the external IP address and this worked very well.

However, it's not working now. Any idea what I'm missing?

I cannot use their router, as it does not support 5Ghz network and wireless is extremely slow. However, I cannot plugin their optics directly to the Mikrotik, as they want to be able to "control" it ...

  • 1
    If they have NAT forwarding on their router, then the Mikrotik is going to see a packet destined for, which is what your own nat rule will need to match – USD Matt Mar 12 '18 at 12:56
  • Thank you, @USDMatt !!! It was exactly this what I was missing. If you add it as answer, I will confirm it. It works with .. it's so obvious now. – kkazakov Mar 12 '18 at 14:00
  • Avoid double NAT wherever possible. It will only make your life a nightmare. Configure appropriate static routes instead. – Michael Hampton Mar 12 '18 at 14:07
  • @MichaelHampton I usually avoid it, however, it's not possible in this situation :( – kkazakov Mar 12 '18 at 14:38

The first router is redirecting the packets (rewriting the destination) to

As such, this is the address and port that you need to match in the NAT rule on the Mikrotik.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.