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

    External IP vs. Internal IP

    NAT
    3
    4
    768
    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.
    • C
      centuryx476
      last edited by

      Hello,
      Need some advise.
      I have a web server setup in my DMZ that streams music. It can be accessed from the outside using my "Public IP" and proper port.
      I can also access it using my "Public IP" from within my internal network.

      Here is what I want to do and have setup.

      Obviously when I am outside my network I can access the web server using my "Public IP"
      When I am inside my network I want to have it so that the "Public IP" address does not work but the "Internal IP" address of the web server works and access it with said internal IP.

      Is this something I need to setup on pfsense or on the web server.

      Info: Web Server - IIS on WIN Server 2016
      Pfsense: Latest Version

      Thank You

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

        Turn off nat reflection..

        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.7.2, 24.11

        1 Reply Last reply Reply Quote 0
        • A
          Animosity022
          last edited by

          Add a DNS override for the host name and use the Internal IP for the override.

          So basically when you hit the same name outside, you get the public IP and inside, you get the private IP.

          1 Reply Last reply Reply Quote 0
          • C
            centuryx476
            last edited by

            @johnpoz:

            Turn off nat reflection..

            That did the trick.

            Thank You very much

            Close out as solved…

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