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

    SG-2100 23.01 update failed

    Scheduled Pinned Locked Moved Official Netgate® Hardware
    112 Posts 12 Posters 28.8k 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.
    • N
      netboy @SteveITS
      last edited by

      @steveits said in SG-2100 23.01 update failed:

      What is 172.16.0.30?

      172.16.0.30 is tied to my external domain - run some applications....

      1 Reply Last reply Reply Quote 0
      • N
        netboy @stephenw10
        last edited by netboy

        @stephenw10
        You are on the money :-)

        0a46c3b5-e324-4ac4-bdb7-61ec46e0354e-image.png

        Maybe I should just enter 80,443 instead of 80-480?

        1 Reply Last reply Reply Quote 0
        • N
          netboy @SteveITS
          last edited by

          @steveits said in SG-2100 23.01 update failed:

          @netboy 127.0.0.1 is a loopback address that means "myself"...so it depends where you are running the commands. On pfSense that would be pfSense. On your laptop, your laptop.

          892945d2-60d2-46fd-afb7-d64f6f9b930b-image.png

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

            Yeah you almost certainly don't want all those ports forwarded. If you need several ports you should create a ports alias and then use that in the rule instead.
            I imagine you have NAT reflection enabled specifically in the rule too. That's what's creating the xinetd entries. I would remove that too unless you really need it.

            Steve

            N 1 Reply Last reply Reply Quote 0
            • N
              netboy @stephenw10
              last edited by netboy

              @stephenw10
              My external domain points to 172.16.0.30 port 80(http) and 443(https). I access this from outside like https://subdomain.mydomain.com.
              I guess I need to open this port to access https://subdomain.mydomain.com?

              Is this correct?

              83896130-309b-4493-863b-482adfc7e3f7-image.png

              Should I disable NAT Reflection?

              7ab5bfe7-050a-4916-b2da-70cbe0f0abab-image.png

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

                No. You can only enter one port there or an alias that has multiple ports.

                If you only need 2 ports forwarding just make one port forward for each port.

                N 1 Reply Last reply Reply Quote 0
                • N
                  netboy @stephenw10
                  last edited by

                  @stephenw10
                  My understanding is create 2 entries - As an example for 80

                  3ebc7e51-f52c-4f8b-9934-3674f0efe09f-image.png

                  And do the above one for 443 as well

                  And for both NAT reflection must be enabled I guess (to access from outside) - kindly confirm

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

                    Yes. Though you can just put 'http' in both from and to port fields, port 80 is the http port.

                    NAT reflection allows internal clients to access the resource using the external destination. It's not required for access from external clients.

                    Steve

                    N 1 Reply Last reply Reply Quote 0
                    • N
                      netboy @stephenw10
                      last edited by

                      @stephenw10
                      I disabled NAT reflection and this is how it looks now

                      a5514bea-9fa5-4c21-8ed1-137d6a896b4e-image.png

                      However now if I enter https://mysubdomain.mydomain.com I see pfsense login not 172.16.0.30?

                      I want https://mysubdomain.mydomain.com to point to 172.16.0.30

                      Any changes I must do to accomplish this?

                      S 1 Reply Last reply Reply Quote 0
                      • S
                        SteveITS Galactic Empire @netboy
                        last edited by

                        @netboy Presumably you're testing from inside the network if disabling it changes anything. ("not required for access from external clients")

                        Consider split DNS:
                        https://docs.netgate.com/pfsense/en/latest/nat/reflection.html#split-dns
                        Or just use reflection as discussed on that page.

                        Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
                        When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
                        Upvote 👍 helpful posts!

                        N 1 Reply Last reply Reply Quote 0
                        • N
                          netboy @SteveITS
                          last edited by netboy

                          @steveits You are right.....

                          When I used tor browser .....https://subdomain.mydomain.com points to 172.16.0.30!!

                          All good - Thanks a ton

                          cat /var/etc/xinetd.conf output is blanks

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

                            Yeah, if you need to access the resources from inside using the external URL it's better to use split DNS:
                            https://docs.netgate.com/pfsense/en/latest/recipes/port-forwards-from-local-networks.html#method-2-split-dns
                            But if you need to use NAT reflection you can almost always use PureNAT mode rather than NAT+Proxy. PureNAT mode does not use xinetd (nc) instances.

                            Steve

                            N 1 Reply Last reply Reply Quote 0
                            • N
                              netboy @stephenw10
                              last edited by netboy

                              @stephenw10 PureNAT did it ! Thank you

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