I have a Mikrotik router installed by ISP which is way over my head - I have managed to setup port forwarding but am a bit lost after that.
I simply want to be able to see my externally published IP inside my network. I think this is called NAT LOOPPBACK, but I cant really understand how to do it.
I would really appreciate if someone could give me a simple description of how I can achieve this using RouterOS GUI 6.25 or similar.
Many thanks.
If you want to see your CCTV from the inside you just need your private ip address of your DVR, if you want to see your CCTV from outside your network then you need to setup your port forwards..
So what exactly you need?
Yes I know that. And that is set up fine.
The pain is I need to use the internal IP address to view the cameras when I am at home and the External (Published) IP address when viewing externally.
I understand that Nat loopback enables the external IP address to be viewed internally??
Thanks
i dont really understand your needs
-You are at your home and you want to see your cameras using the private ip address? If this is the problem then you need a VPN(PPTP).
- If you are in your home and want to see your cameras using your public ip address then you just need a port forward.
Apologies, perhaps i’m not clear. Forget the CCTV thing as that’s largely irrelevant.
Simply put MY public Ip is not visible internally.
Google “NAT LOOPBACK” thats what I need to achieve I believe.
You need port forwards to forward the traffic you want using the public ip. You need to determine which port you need to forward for example
PC 1 - 192.168.1.100 PORT: 5050
PC 2 - 192.168.1.101 PORT: 5051
and so on.
You need to configure the devices you want to access with an static ip address. Then configure the portforwards
Example of port forwards
ip firewall nat add chain=dstnat dst-address=10.10.10.10 protocol=tcp dst-port=5051 action=dst-nat to-addresses=192.168.1
.101 to-ports=5051
in winbox you can do this like this
THanks very much for your help but your not understanding my problem at all. Its not a port forwarding problem, I know how to do that. Its a Nat loopback issue.
Heres the Wiki definition of Nat Loopback:
“NAT loopback, also known as NAT hairpinning or NAT reflection, is a feature in many consumer routers which permits the access of a service via the public IP address from inside the local network.”
I do appreciate your trying to help though.
That’s the way you want to use it… it works ahead port forwards…
For example i can use my public ip address to access my services inside my network using port forwards..
For example:
https://192.254.6.50:8080 it open my monitoring map
https://192.254.6.50:8081 it open my UBiquiti Air Control Server
Or Winbox
192.254.6.50:5050 it open my main router
192.254.6.50:5051 it open a secondary router
and so on.
Ok, The example you give “https://192.254.6.50:8080 it open my monitoring map” is an internal address.
In my case lets say the external address is 123.23.123.23 and the cctv actually lives on 192.168.0.5 at port 81
Where would I put these numbers.
Thanks again…
This are Public IP Address
https://192.254.6.50:8080 > it open my monitoring map
try this…
ip firewall nat add chain=dstnat protocol=tcp dst-port=81 action=dst-nat to-addresses=192.168.0.5 to-ports=81
I tried that - Unfortunately it did’nt work. Thanks though.