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

Dynamic DNS client "extracted from local system"

Scheduled Pinned Locked Moved General pfSense Questions
dynamic dnsipv6
18 Posts 5 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.
  • S
    stephenw10 Netgate Administrator
    last edited by stephenw10 Nov 14, 2024, 1:36 PM Nov 14, 2024, 1:36 PM

    I suspect this was just never implemented because the vast majority of IPv6 cases would have a routable IP on the interface. It checks for IPv4 because being stuck behind NAT there is common.

    Using a ULA subnet behind NAT is a corner case. Probably better to open a feature request if that's the case.

    1 Reply Last reply Reply Quote 0
    • B
      b3nw
      last edited by Nov 15, 2024, 1:31 AM

      So the use case is for Wireguard VPN's (and probably others) -- if they have IPv6 connectivity, they assign you one of these fc00 addresses, and then route you out the exit for the VPN, rather than giving you an actual routable IPv6.

      So my expectation was that DynDNS would attempt to connect via the interface, and if it failed, then potentially fall back to something like "extracted from the local system". But it seems never to actually attempt to make the connection to the DynDNS provider.

      Should this be a bug?

      J 1 Reply Last reply Nov 15, 2024, 12:33 PM Reply Quote 0
      • S
        stephenw10 Netgate Administrator
        last edited by stephenw10 Nov 15, 2024, 12:28 PM Nov 15, 2024, 12:24 PM

        Probably a feature request since, as I say, I suspect it was never implemented.

        You could reference this: https://redmine.pfsense.org/issues/13901

        Oh looks like there is a request open already: https://redmine.pfsense.org/issues/11177

        And @marcosm has already implemented it! Just waiting to be tested/merged. That's not going to make 24.11 at this point though. Let's see....

        Edit: Some more work required there it doesn't apply directly right now.

        B 1 Reply Last reply Nov 16, 2024, 12:01 AM Reply Quote 1
        • J
          johnpoz LAYER 8 Global Moderator @b3nw
          last edited by johnpoz Nov 15, 2024, 12:35 PM Nov 15, 2024, 12:33 PM

          @b3nw so in this case the exit is expected to nat the ULA to some GUA on the exit? So wireguard does this, or is pfsense expected to do it?

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

          1 Reply Last reply Reply Quote 0
          • S
            stephenw10 Netgate Administrator
            last edited by Nov 15, 2024, 12:37 PM

            Doesn't really matter where it's done. Just the idea of having to NAT IPv6 is...... urgh. But if that's what you have then you'd want DDNS to be able to find the external IP.

            J 1 Reply Last reply Nov 15, 2024, 12:38 PM Reply Quote 1
            • J
              johnpoz LAYER 8 Global Moderator @stephenw10
              last edited by Nov 15, 2024, 12:38 PM

              @stephenw10 true - but if it something that has to be setup specific in pfsense to account for this sort of unique setup..

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

              1 Reply Last reply Reply Quote 0
              • S
                stephenw10 Netgate Administrator
                last edited by stephenw10 Nov 15, 2024, 5:36 PM Nov 15, 2024, 12:41 PM

                Yup it's a pretty edge case, hence not much complaining yet!

                You would only ever want to do this on pfSense if the IPv6 address is unavailable there so the NAT must be happening at some remote location out of the control of the user.

                1 Reply Last reply Reply Quote 0
                • B
                  b3nw
                  last edited by Nov 15, 2024, 4:58 PM

                  This seems to be the solution that is being implemented by VPN providers who support wireguard, but don't want to issue addressable IPv6 to end clients. NAT is handled by the VPN provider transparently.

                  1 Reply Last reply Reply Quote 1
                  • B
                    b3nw @stephenw10
                    last edited by Nov 16, 2024, 12:01 AM

                    @stephenw10 https://redmine.pfsense.org/issues/11177 links to a non-resolvable gitlab PR, is there another one?

                    1 Reply Last reply Reply Quote 0
                    • S
                      stephenw10 Netgate Administrator
                      last edited by Nov 16, 2024, 2:06 AM

                      Not yet. But I tested that here and it doesn't apply cleanly to anything right now.

                      Once 24.11 is released there will be more dev time to look at it again.

                      1 Reply Last reply Reply Quote 1
                      • S
                        SteveITS Galactic Empire @Gertjan
                        last edited by Nov 16, 2024, 3:19 AM

                        @Gertjan said in Dynamic DNS client "extracted from local system":

                        To know if the WAN IP really changed ? Easy. Store the latest succeeded updated WAN IPv4 address locally. This is the cache file. Compare the actual WAN IPv4 with the cache ;:

                        Just going to take this opportunity to point out that this causes a problem in the case where we restore to a replacement router in our lab before delivery. DDNS is updated to our office IP. Live router will not update because its cached IP didn’t change. (Workaround is to manually modify the file on disk to fool it, as I recall)

                        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!

                        1 Reply Last reply Reply Quote 0
                        18 out of 18
                        • First post
                          18/18
                          Last post
                        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                          This community forum collects and processes your personal information.
                          consent.not_received