Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    Access problem

    Scheduled Pinned Locked Moved Firewalling
    6 Posts 3 Posters 1.7k 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.
    • D Offline
      Davvv
      last edited by

      Hi team,

      I don't know if i'm in the right section (if not don't hesitate to move the post :) )

      I'm facing a problem with a pfsense (version 2.3.2-RELEASE (amd64) )

      I have a server W2012 R2 behind the firewall i can access the server and the application on it by using the WAN address and the port.
      When i make those tests in the LAN, it works as well with LAN IP address and 127.0.0.1 address.

      The problem is :
      I would like to access the application by using the WAN address when i'm in the LAN. I hope it's clear.

      For example :

      From the WAN :
      telnet 195.X.X.X 9006 : OK

      From the LAN :
      telnet 195.X.X.X 9006 : KO
      telnet 127.0.0.1 9006 : OK
      telnet IP_LAN 9006 : OK

      Any idea ?

      I don't find anything that could block the traffic on the firewall logs.

      I trying to find a solution from few days but i don't find any clue.

      Thanks for your dear help.

      David

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

        Look at this thread: https://forum.pfsense.org/index.php?topic=118473.msg655771#msg655771

        If you want to access the server by its FQDN, the recommended way is to use split DNS, if you need to access it with its external IP use NAT reflection.

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

          "I would like to access the application by using the WAN address when i'm in the LAN. I hope it's clear."

          Why??  As mentioned virogomann that is a nat reflection..  But for what reason would you need/want to do this.

          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 26.03.1 | Lab VMs 2.8.1, 26.03.1

          1 Reply Last reply Reply Quote 0
          • D Offline
            Davvv
            last edited by

            Hi,

            Thanks for the answers.
            We need to make some tests with the application, my colleague need this possibility.
            I will look after Nat reflection so :)

            Thanks for your help.

            Regards,

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

              So your application has hard coded IPs??  That is a really bad idea!!!  If it uses a fqdn to resolve, then just setup host override so your fqdn your using resolves to the actual rfc1918 address the application is being hosted on.

              But this would not be a good validation test of your application from public internet.  The only valid test of that would be from the public internet.  This will for one validate your forward is working and can be accessed from public.  This should also have some higher latency involved in the connection vs lan speed latency <1ms which your nat reflection would not actually test.  Nor would the nat reflection test be valid because maybe something this client or the server itself actually being on the same network might somehow being accessing a resource that someone from the public net would not be able to access.

              If you need to test your application that is meant to be used by people outside your network, is to actually test it from outside your network.

              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 26.03.1 | Lab VMs 2.8.1, 26.03.1

              1 Reply Last reply Reply Quote 0
              • D Offline
                Davvv
                last edited by

                Understood your explanations.  :)

                I need to get informations with my colleague.

                With this parameter "Nat reflection", now it works from outside and inside as well with the fqdn.

                Thanks a lot for your help.

                David

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post
                Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
                Privacy Policy · Cookie Policy