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

    New to pfsense

    Scheduled Pinned Locked Moved General pfSense Questions
    26 Posts 5 Posters 6.4k 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.
    • stephenw10S
      stephenw10 Netgate Administrator
      last edited by

      Try option2: split DNS.

      If you're using the pfSense dns forwarder, you will be unless you've deliberately chosen not to, go to Services: DNS Forwarder:
      Add a domain override for example mydomain.com to point at your internal server.

      Steve

      1 Reply Last reply Reply Quote 0
      • W
        wallabybob
        last edited by

        @tbarlow:

        Still no go I tried what U said but its still not working these ports just don't want to work what else can I try?

        Does the server need to be configured to allow connections from the Internet?

        1 Reply Last reply Reply Quote 0
        • M
          meluvalli
          last edited by

          I have noticed the same issues…

          Here is what I have...

          I have a server with a program that ONLY works with IP addresses (Can't use DNS).  The program is setup to point to one of my outside IP addresss.  It works from outside the network, but if I am internal, it doesn't work.

          I have "Disable NAT Reflection for port forwards" unchecked as per the document.  Internal DNS won't help my situation because it requires access by IP Address (not DNS).  It appears that "Disable NAT Reflection for port forwards" unchecked fixes all my HTTP, HTTPS, POP3, SMTP, and DNS issues internally, but doesn't fix the issue on odd ports like 9987 used in this example.

          To re-produce the problem, you can setup either a Telnet, FTP, or HTTP on port 9987 internally and try to access it with your internal IP and it won't work.  Firewall logs show nothing coming in that is being blocked.  So, I am looking for a temporary workaround that I could use to resolve this.

          Does anyone have any suggestions?

          Thanks!

          1 Reply Last reply Reply Quote 0
          • T
            tbarlow
            last edited by

            @meluvalli:

            I have noticed the same issues…

            Here is what I have...

            I have a server with a program that ONLY works with IP addresses (Can't use DNS).   The program is setup to point to one of my outside IP addresss.   It works from outside the network, but if I am internal, it doesn't work.

            I have "Disable NAT Reflection for port forwards" unchecked as per the document.  Internal DNS won't help my situation because it requires access by IP Address (not DNS).   It appears that "Disable NAT Reflection for port forwards" unchecked fixes all my HTTP, HTTPS, POP3, SMTP, and DNS issues internally, but doesn't fix the issue on odd ports like 9987 used in this example.

            To re-produce the problem, you can setup either a Telnet, FTP, or HTTP on port 9987 internally and try to access it with your internal IP and it won't work.  Firewall logs show nothing coming in that is being blocked.   So, I am looking for a temporary workaround that I could use to resolve this.

            Does anyone have any suggestions?

            Thanks!

            Same Prob here:)

            1 Reply Last reply Reply Quote 0
            • T
              tim.mcmanus
              last edited by

              Please post screen shots if your Firewall rules.

              Have you tried connecting to the internal machine with its internal IP address?  If you can access your resources internally with their IP addresses, don't beat yourself up if NAT Reflection isn't working properly.  I run internal DNS and don't use NAT Reflection because some of the systems I use and how I use them work more efficiently with internal DNS.

              1 Reply Last reply Reply Quote 0
              • M
                meluvalli
                last edited by

                Hi Tim.

                Unfortunately, using DNS will not work.  Once again, the program is hard coded in as an IP address.  I can't change this.  So, I need to figure out why just higher ports don't work with NAT reflection.  NAT reflection works great for lower ports such as HTTP (80), HTTPS (443), SMTP (25), POP3 (110), and FTP (21).  Just isn't working for higher ports.  This isn't a firewall issue.  This is a NAT Reflection glitch.  My question is, is there a way around this?

                Thanks

                1 Reply Last reply Reply Quote 0
                • stephenw10S
                  stephenw10 Netgate Administrator
                  last edited by

                  @meluvalli:

                  To re-produce the problem, you can setup either a Telnet, FTP, or HTTP on port 9987 internally and try to access it with your internal IP and it won't work.

                  I think you must have left something out here because I am absolutely confident that if I setup up a web server on my internal network that runs on port 9987 and then tried to access it directly from the same network at http://192.168.1.34:9987 it would work.

                  Presumably it's the client half of your program that can only use IPs directly?

                  One thing that occurs to me is that the server program itself may be configured to always use an external gateway of some sort such that it is unable to route back to internal address.

                  Steve

                  1 Reply Last reply Reply Quote 0
                  • M
                    meluvalli
                    last edited by

                    Hi Steve..   Sorry, maybe I didn't make it real clear.  I am using my external address to access it.  So, with your same test, lets say your external IP address is 60.54.1.23…   From internal on another client, you would want to access http://60.54.1.23:9987 and it will fail.

                    Also note, that it works fine if you are outside your internal network.  This is why I am thinking it is not a firewall issue as it works from outside the network!

                    Thank you.

                    1 Reply Last reply Reply Quote 0
                    • T
                      tim.mcmanus
                      last edited by

                      Forgive me for not completely understanding, but you have a server that lives on your internal network with a local (internal) IP address.  And you have clients that access that server with a hard-coded IP address and port using an external IP address.  And you cannot change the IP address of these clients or any other networking information?  Seems odd that in this day and age people would set something up like that, but that's IMHO.

                      If you want to host a Teamspeak server internally and make it accessible from internal and external IP addresses, I can help you with that.  I've done that countless times, and I authored the "How To" post in the forums for Mac users.

                      1 Reply Last reply Reply Quote 0
                      • stephenw10S
                        stephenw10 Netgate Administrator
                        last edited by

                        Ah, OK.
                        I agree with Tim that not being able to use a URL instead of an IP seems quite archaic.  ;)
                        You could setup a manual port forward for that on the LAN interface. I don't know why NAT reflection wouldn't take care of that for you though. You can specifically disable it for each port forward, I assume you haven't done that?

                        Steve

                        internal_redirection_test.jpg
                        internal_redirection_test.jpg_thumb

                        1 Reply Last reply Reply Quote 0
                        • M
                          meluvalli
                          last edited by

                          @stephenw10:

                          Ah, OK.
                          I agree with Tim that not being able to use a URL instead of an IP seems quite archaic.  ;)
                          You could setup a manual port forward for that on the LAN interface. I don't know why NAT reflection wouldn't take care of that for you though. You can specifically disable it for each port forward, I assume you haven't done that?

                          Steve

                          No.  I haven't done that.

                          As far as creating a forward on the LAN side, I have tried putting in the NAT Port Forward rule as you show in your example.  This also didn't solve the problem :(   I even tried setting "NAT Reflection" in the rule to "enable" and still nothing :(  Any other recommendations?  By looking at that, it really seems like it would work :(…

                          Thanks for all your help!

                          Example.png
                          Example.png_thumb

                          1 Reply Last reply Reply Quote 0
                          • T
                            tbarlow
                            last edited by

                            @tim.mcmanus:

                            Forgive me for not completely understanding, but you have a server that lives on your internal network with a local (internal) IP address.  And you have clients that access that server with a hard-coded IP address and port using an external IP address.  And you cannot change the IP address of these clients or any other networking information?  Seems odd that in this day and age people would set something up like that, but that's IMHO.

                            If you want to host a Teamspeak server internally and make it accessible from internal and external IP addresses, I can help you with that.  I've done that countless times, and I authored the "How To" post in the forums for Mac users.

                            TS is not a prob I can use the internal IP and port for it I can even use internal DNS as someone said above option 2 split DNS that file for the TS prob, the prob is I am working on a project that has to use the out side IP DNS is not an option and the IP is hard coded into the client exe file witch is used both inside and outside my network but I will also like to know Y only the higher IP's are giving me prob 25,110,443,80 they all seem to work for the most part anyway even if someone has a work around I will be fine with that just let me know I am working on 2 projects 1 I have no control over it can't use DNS local but the second one I might I will check into it and see what I can do since I have full control over it i'll see what I can do thanks

                            Sincerely
                            tbarlow

                            1 Reply Last reply Reply Quote 0
                            • T
                              tim.mcmanus
                              last edited by

                              This thread might help; long shot though.  http://forum.pfsense.org/index.php/topic,61201.0.html

                              Can you post your NAT and Firewall rules?  Screen shots will speak volumes.

                              1 Reply Last reply Reply Quote 0
                              • stephenw10S
                                stephenw10 Netgate Administrator
                                last edited by

                                I think that option (in the linked thread) only applies to 1:1 NAT. It's interesting though.

                                Steve

                                1 Reply Last reply Reply Quote 0
                                • M
                                  meluvalli
                                  last edited by

                                  Hi Steve.

                                  Did you happen to see my screenshot?  Did it look like I was doing that correctly?  Because it didn't work either :(

                                  Any other thoughts?

                                  1 Reply Last reply Reply Quote 0
                                  • stephenw10S
                                    stephenw10 Netgate Administrator
                                    last edited by

                                    Hmm, I'm not sure if you should have NAT reflection enabled on that internal port forward or not.  :-
                                    With changes like this, especially if you have already been trying various connections, you may have to clear the state table to force the new rules to take effect.

                                    Steve

                                    1 Reply Last reply Reply Quote 0
                                    • M
                                      meluvalli
                                      last edited by

                                      Steve - I cleared state and no change :(

                                      After I cleared state and tried again, I looked in state to see what it says for that port.  I am attaching that.

                                      Do we have any other recommendations??? :(

                                      Thanks

                                      Example_State.png
                                      Example_State.png_thumb

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