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

    Beta testers wanted for dynamic downstream IPv6 prefix delegation

    Scheduled Pinned Locked Moved pfSense Packages
    4 Posts 1 Posters 318 Views 3 Watching
    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.
    • G
      gebra
      last edited by gebra

      Hi everyone,

      I have been looking for a way to delegate parts of an (dynamic) IPv6 prefix (IA_PD) received by pfSense from the ISP to downstream routers.
      I only found unreliable, unstable and hacky ways, which could hardly, nor not at all, be used by ordinary users as needed in some environments.

      My setup receives the dynamic IA_PD from the upstream provider. Some /64 of that prefix is used by Track Interface networks on pfSense, while other parts could be delegated through Kea DHCPv6 to some downstream routers. pfSense already provides most of the required components, but I could not find a complete WebUI-based solution that safely connects them.

      This led me to work on DynGUA-PD and yes, of course, with the help from our friends (I am not really a software developer, but firm with code and prompt engineering).
      The package discovers the current upstream delegation, identifies the occupied IPv6 networks, and proposes aligned, collision-free PD pools for a selected downstream interfaces. It uses the native pfSense and Kea configuration paths and relies on the existing kea2fib6 integration for routes.

      I have now released a first public beta version:

      • Dynamic GUA-PD 0.8.0 Beta RC1 -

      Repository:

      https://github.com/gebra-de/pfSense-Dyn-GUA-Delegation

      Release:

      https://github.com/gebra-de/pfSense-Dyn-GUA-Delegation/releases/tag/beta-rc1

      The current release was developed and tested on pfSense CE 2.9.0.
      It certainly is beta software, so please use a test environment or make sure that you have a current configuration backup before installing it.

      I would especially appreciate some feedback on:

      • installation and removal
      • systems with different upstream IA_PD sizes
      • multiple downstream Track Interface networks
      • delegation to multiple downstream routers
      • ISP prefix changes and renumbering
      • Disable, Enable, Delete, and recovery operations
      • interaction with native Kea DHCPv6 settings
      • behavior across service reloads and reboots
      • wording or WebUI behavior that could be clearer

      Be sure to request the correct IA_PD length on the WAN interface when testing.
      Keep in mind that DynGUA-PD does not create, modify, or remove firewall rules. A valid IA_PD lease and an installed route do not permit traffic by themselves. You must
      review the rules on every affected interface and allow only the intended DHCPv6, ICMPv6, and forwarded IPv6 traffic.
      I am still working on the "automanaged" alias for the prefixes to be used in the firewall rules.

      If something fails, please describe the configuration and the steps you did, for me to reproduce it.
      Sanitized logs and diagnostic messages are helpful, but please remove public prefixes, private addresses, hostnames, and other identifying information before posting them.

      The goal is to get most possible real-world feedback, fix edge cases that might popup, and finally submit the package to Netgate for a consideration.

      Thanks for testing.

      greets

      gebra

      1 Reply Last reply
      Reply Quote 0
      • G
        gebra
        last edited by

        Hi everyone again,

        Update now availible:

        DynGUA-PD 0.8.1_7 — Beta RC2

        This release improves the handling of native Kea changes, pending operations, package upgrades, logging, and recovery after interface or service events.
        It is now also clearly marked as Beta Software and has an option to enable or disable debug logging. Default STATE logging always remains on.
        Logs are handled by pfsense and can be found under Logging -> Packages

        Major change:
        To make firewall ruling more convenient, I have also now implemented "automatic firewall aliases" for the delegated prefixes:

        The aliases

        • DGPD_<INTERFACE>_PD <- (absent if no interface delegates a prefix)
        • DGPD_ALL_PD <- (always present)

        now show up in the "Firewall -> Alias" page and are not editable.
        They are under full control of the package itself and automatically update on prefix changes.
        Their description clearly marks them as "Managed by DGPD".
        DGPD manages the alias contents only. It does not create, change or delete any firewall rules.

        • Firewall and NAT rules remain under full responsibilty and are controlled by the administrator only!

        Testing and code review are, of course, still very welcome. I would be very interested in results regarding:

        • changing ISP-delegated IPv6 prefixes

        • WAN or Track6 interface restarts

        • Kea DHCPv6 service reloads

        • package upgrades with existing assignments or aliases

        • multiple downstream interfaces

        • Build and tested on pfSense CE 2.9.0

        • licensed under Apache-2.0

        Enjoy testing

        greets

        gebra

        1 Reply Last reply
        Reply Quote 0
        • G
          gebra
          last edited by gebra

          Hi all again,

          I seem to be getting more feedback from my people around, rather than from the qualified users here.

          Nevertheless, the WebUI needed a real enhancement for usage.

          This was now done and the next release is out now:

          pfSense Dyn-GUA-Delegation BETA RC3

          Still most appreciated and wanted feedback on:

          • installation and removal
          • systems with different upstream IA_PD sizes
          • multiple downstream Track Interface networks
          • delegation to multiple downstream routers
          • ISP prefix changes and renumbering
          • Disable, Enable, Delete, and recovery operations
          • interaction with native Kea DHCPv6 settings
          • behavior across service reloads and reboots
          • wording or WebUI behavior that could be clearer

          Thank you for participation.

          greets

          gebra

          G 1 Reply Last reply
          Reply Quote 0
          • G
            gebra @gebra
            last edited by gebra

            Release is out now:

            https://forum.netgate.com/post/1250800

            1 Reply Last reply
            Reply Quote 0

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            • First post
              Last post
            Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
            Privacy Policy · Cookie Policy