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

    Access external pfsense IP/DDNS

    Scheduled Pinned Locked Moved NAT
    11 Posts 2 Posters 1.2k Views
    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.
    • chudakC
      chudak
      last edited by

      I am sure it's been asked many times, but here it goes again :)

      If I have an external IP xx.yy.zz that is assigned to my pfsense router and I'd like to access it from my local network - can be it done?

      An example would be Plex or Emby server access.

      Thx

      V 1 Reply Last reply Reply Quote 0
      • V
        viragomann @chudak
        last edited by

        @chudak
        Any IP assigned to any pfSense interface can be accessed from any connected network, presupposed your firewall rules allows it.

        However, consider that in case of NAT port forwarding the rule is only applied on the interface it is assigned to naturally. Indeed you're not accessing pfSense here, but a device behind it.
        So if applicable you need to enable NAT reflection.

        chudakC 1 Reply Last reply Reply Quote 0
        • chudakC
          chudak @viragomann
          last edited by

          @viragomann said in Access external pfsense IP/DDNS:

          you need to enable NAT reflection

          I've never used it before. How exactly can I do it?

          Thx for the reply!

          V 1 Reply Last reply Reply Quote 0
          • V
            viragomann @chudak
            last edited by

            @chudak
            Edit the respective NAT rule, go down to "NAT reflection".

            If client and server are in different network segments "pure NAT" should do the job. If both are within the same subnet you possibly need the proxy mode.

            chudakC 1 Reply Last reply Reply Quote 0
            • chudakC
              chudak @viragomann
              last edited by

              @viragomann

              Apparently, I had "pure NAT" enable and also tried "NAT proxy" and in both cases could not connect to emby via emby.media call (if you are familiar with this) :(

              V 1 Reply Last reply Reply Quote 0
              • V
                viragomann @chudak
                last edited by

                @chudak
                No. Maybe it depends also on other properties.
                "NAT + proxy" also doesn't work for all traffic.

                Since you mentioned DDNS in the topic I assume you are accessing the resource using an host name. So if you use an internal DNS on pfSense you'd better add a host override for it pointing to the internal IP.

                chudakC 1 Reply Last reply Reply Quote 0
                • chudakC
                  chudak @viragomann
                  last edited by

                  @viragomann said in Access external pfsense IP/DDNS:

                  you'd better add a host override for it pointing to the internal IP

                  Well I know it will work, but I wanted to use the external IP/DDNS

                  Anyway, I think it's more than only pfsense involved here, that you!

                  V 1 Reply Last reply Reply Quote 0
                  • V
                    viragomann @chudak
                    last edited by

                    @chudak said in Access external pfsense IP/DDNS:

                    but I wanted to use the external IP/DDNS

                    Not clear, why.

                    You have a dynamic public IP and a static hostname pointing to it.
                    So for internal purposes you can override it with a static internal IP and every time an internal clients is resolving the hostname, he will get the internal IP for it.
                    There is no need to get the dynamic IP at all.

                    chudakC 1 Reply Last reply Reply Quote 0
                    • chudakC
                      chudak @viragomann
                      last edited by

                      @viragomann

                      yes, you are correct. But I needed to test from my local net an ability to connect via an external hit.

                      So it's not a 'make it work case' but more a testing case

                      V 1 Reply Last reply Reply Quote 0
                      • V
                        viragomann @chudak
                        last edited by

                        @chudak said in Access external pfsense IP/DDNS:

                        But I needed to test from my local net an ability to connect via an external hit.

                        Forget it!
                        When you access the public IP from inside, the traffic never passes the WAN interface. Hence, NAT and filter rules are NOT applied to it.

                        If you want to test the access from the internet use a device outside your local network.

                        chudakC 1 Reply Last reply Reply Quote 1
                        • chudakC
                          chudak @viragomann
                          last edited by

                          @viragomann
                          yes yes
                          my idea from the beginning was faulty

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