I got some Apps on my phone to access devices in my home, CCTV, TV-Media box And PC:s.
This works well over Internet, I made some NAT rules.
But when I get home and connect to my WiFi I’m not able to access my devices.
Some how when I’m on a intern IP ex 192.168.123.11 im not able to access my extern IP ex 83.233.178.183.
If I switch to 3G and disable WiFi im able to connect.
How do I make NAT or Filter rules to solve this??
I dont want to make dual config in my Apps.
MikroTik RB750 OS 5.12
Hope you understand,
Best regards Anders, Sweden
What you are encountering is NAT loopback. You are trying to access the WAN side of your NAT rules from the LAN side.
code snips 3 & 4 in the post below are the solution you are looking for.
http://forum.mikrotik.com/t/add-current-dynamic-ip-address-to-a-list/14422/1
Sent from my PC36100 using Tapatalk
Thanks.
Now its working fine.
One thing I like is the Bytes, Packets flow in real time. I noticed that only rule no:4 was used:
#4
/ ip firewall nat
add chain=srcnat dst-address=192.168.88.233 protocol=tcp dst-port=80 action=src-nat to-addresses=192.168.88.1
to-ports=0-65535 comment=“” disabled=no
If I disable rule no:3:
#3
/ ip firewall nat
add chain=dstnat dst-address=83.233.XXX.XXX protocol=tcp dst-port=80 action=dst-nat to-addresses=192.168.88.233
to-ports=0-65535 comment=“” disabled=yes
It still works fine. Maby it depends on what device you try to access in you local LAN, in my case its a CCTV system, I access from a phone App (iRa Pro).
I will try this out, got more devices I need to access, will add more NAT rules when I get home from work.
Best regards.