Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Directing external DNS to internal IP within LAN

    Scheduled Pinned Locked Moved General pfSense Questions
    2 Posts 2 Posters 274 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S Offline
      sword0
      last edited by

      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=>58.39.29.121

      I have two IP calm installed in my LAN and I have the following port forwarding in place.
      58.39.29.121:4000 -> IP cam 1 (192.168.0.10)
      58.39.29.121: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.

      1 Reply Last reply Reply Quote 0
      • johnpozJ Offline
        johnpoz LAYER 8 Global Moderator
        last edited by

        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.

        An intelligent man is sometimes forced to be drunk to spend time with his fools
        If you get confused: Listen to the Music Play
        Please don't Chat/PM me for help, unless mod related
        SG-4860 24.11 | Lab VMs 2.8, 24.11

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.