Directing external DNS to internal IP within LAN
Hi I am new to pfense. So please bear with me as I might be asking some simple questions.
I have a DNS service directing to the external IP of my pfense. i.e. www.myhome.com=>18.104.22.168
I have two IP calm installed in my LAN and I have the following port forwarding in place.
22.214.171.124:4000 -> IP cam 1 (192.168.0.10)
126.96.36.199:5000 -> IP cam 2 (192.168.0.11)
When I am not at home, my could access www.myphone.com:4000 and www.myphone.com:5000 without any problem. However when I am at home using LAN, it can't reach www.myhome.com. Is there any way to configure pfsense, in such when I am within the LAN, it knows it should redirect traffic of www.myhome.com:4000 to 192.168.0.10?
Right now I am using a not so intelligent workaround, by adding another IP cam with address 192.168.0.10 on my phone.
Thank you for helping.
For starters I wouldn't allow camera access from the public internet in the first place... If you want to view your camera's while your outside your network - vpn in... And then just hit them via their local name or IP.