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

    DHCP custom configuration - (when|will) it be available?

    Scheduled Pinned Locked Moved DHCP and DNS
    15 Posts 4 Posters 1.6k 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.
    • jimpJ
      jimp Rebel Alliance Developer Netgate
      last edited by

      There is an option to enable OMAPI coming in 2.5.0: https://redmine.pfsense.org/issues/7304

      You might be able to adapt the diff on the issue to apply to 2.4.4

      Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

      Need help fast? Netgate Global Support!

      Do not Chat/PM for help!

      C 1 Reply Last reply Reply Quote 1
      • C
        CapitanBlack @jimp
        last edited by CapitanBlack

        @jimp - thanks a lot! I (and many other Foreman enthusiast) need it for sure!

        Can you please provide instruction on how to make and apply the diff?

        1 Reply Last reply Reply Quote 0
        • C
          CapitanBlack
          last edited by

          NVM, figured it out...

          1 Reply Last reply Reply Quote 0
          • C
            CapitanBlack
            last edited by CapitanBlack

            d5e9f07d-7d6a-484e-84a6-bdf62f3bde4d-image.png

            ae6c0dbb-2aae-4b73-bc51-be97eb11929b-image.png

            1 Reply Last reply Reply Quote 0
            • C
              CapitanBlack
              last edited by

              Tested three most recent patches starting from 2577004fa21a13c6f00427e96334b051de5ab1a2 - all gives various patching errors...

              My pfSense is 2.4.4-RELEASE-p3 (amd64)

              1 Reply Last reply Reply Quote 0
              • GertjanG
                Gertjan
                last edited by

                Try against the latest "2.4.5 pre release" that became available very recently.

                No "help me" PM's please. Use the forum, the community will thank you.
                Edit : and where are the logs ??

                1 Reply Last reply Reply Quote 0
                • jimpJ
                  jimp Rebel Alliance Developer Netgate
                  last edited by

                  I do not expect that to apply cleanly, which is why I said you'd need to adapt it. Look at what changed, and make similar changes to your system by hand.

                  That said, it does apply cleanly to the 2.4.5 tree so it may be worth trying there.

                  Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                  Need help fast? Netgate Global Support!

                  Do not Chat/PM for help!

                  1 Reply Last reply Reply Quote 0
                  • C
                    CapitanBlack
                    last edited by

                    Yes, thanks guys - I've deployed a new virtual firewall to try the patch.
                    Will post here...

                    T 1 Reply Last reply Reply Quote 0
                    • T
                      thedudeabides @CapitanBlack
                      last edited by

                      @jimp @CapitanBlack thank you (and everyone else involved) for making this a reality for the rest of us in the digital ether.

                      Having said that, I'd also like to leverage my already existing pfSense appliance to provide OMAPI/isc_bind (in order to act as a smartproxy for Foreman).

                      I saw that OMAPI made it into pfSense 2.5 which is great news. As of today, the latest community version is 2.4.5_1 (with 2.5 being tagged as an available experimental development snapshot).

                      Does that mean that if I want to consume these efforts I need to enable the pre-release devel channel on my CE box, and upgrade? Do you all use the paid-for version and develop against it?

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

                        I updated to pfSense 2.5.0-DEVELOPMENT (amd64) and it was there and is working. Thank you everyone!

                        C 1 Reply Last reply Reply Quote 0
                        • C
                          CapitanBlack @thedudeabides
                          last edited by CapitanBlack

                          @thedudeabides - Hey bud! - could you share more details please? Did you manage Foreman to work with the pfSense DHCP service at the end? I'm working on this again and this time I'm determined to make it working.

                          Did you use SSHFS of added NFS server to pfSense for exporting the DHCP server config and lease files ?

                          T 1 Reply Last reply Reply Quote 0
                          • T
                            thedudeabides @CapitanBlack
                            last edited by

                            @capitanblack good to hear from you, sorry it took so long for me to respond. I’ve been slammed with other stuff and keep pushing it to the back burner. In short, I dropped that effort six months (or more) ago, and just picked it up again a couple weeks ago. Sounds like we are on the same page. I’ll have to go back to see what I did to get it working (pretty sure it was OMAPI + sshfs for sharing the lease files) but essentially after tying it into the pfSense, I decided that I wanted a separate infra VM to control everything with DHCP on it (as well as named) for environments where people won’t have a pfSense box. I’m in the middle of finishing a playbook that builds out both servers (infra and foreman) and configures and installs foreman to use the infra VM. Happy to share when it’s done.

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