Dear Friends,
Each time I try to perform connectivity test (SSH server in LAN) from local network to external ports it fails.
Everything works well as long as I connect from Internet via mobile phone or directly within LAN.
Please see attached images showing my firewall filters and NAT rules:
https://drive.google.com/file/d/0B2AwxaFUxaV8aElhMTBpQ2p5eVU/view?usp=sharing
https://drive.google.com/file/d/0B2AwxaFUxaV8OU92Vm1NYnNOOE0/view?usp=sharing
I believe the solution has something to do with hairpin NAT.
Thank you in advance for a solution.
Best regards,
Maciej.
Yes - you’d need a hairpin NAT when you want to connect from a LAN PC to LAN Server but with WAN IP. Or override the DNS of your server in IP > DNS > Static to point to LAN IP.
This is a really good hairpin nat article:
http://wiki.mikrotik.com/wiki/Hairpin_NAT