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

    how to use pfSense configuration on FreeBSD os?

    Scheduled Pinned Locked Moved General pfSense Questions
    12 Posts 5 Posters 1.1k 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.
    • U
      umm12
      last edited by

      hi. I used pfSense and configured some services on pfSense like squid proxy and openvpn and ntp and DNS Resolver and ... and this services working correctly.
      How i can use this configuration and config on freeBSD OS? likely clone or export configurations and use on FreeBSD or some other ways.
      thanks for your solutions.

      1 Reply Last reply Reply Quote 0
      • U
        umm12
        last edited by

        no anyone to help me?

        P 1 Reply Last reply Reply Quote 0
        • P
          Patch @umm12
          last edited by Patch

          @umm12 pfsense is based on FreeBSD however it is not FreeBSD.

          • It has extra programs and specific configuration

          • It has pruned version of specific components from FreeBSD. Adding and swapping versions of the components with FreeBSD is likely to break pfsense

          In summary I do not think what you want to do is possible or if it is would require a lot of testing and expertise.

          awebsterA U 2 Replies Last reply Reply Quote 0
          • awebsterA
            awebster @Patch
            last edited by

            @patch said in how to use pfSense configuration on FreeBSD os?:

            In summary I do not think what you want to do is possible or if it is would require a lot of testing and expertise.

            pfSense is NOT a FreeBSD configuration GUI.

            –A.

            1 Reply Last reply Reply Quote 1
            • U
              umm12 @Patch
              last edited by

              @patch
              can i install pfsense on mikrotik?

              P 1 Reply Last reply Reply Quote 0
              • P
                Patch @umm12
                last edited by Patch

                @umm12 see hardware sub forum search and Installation sub forum search
                I suspect probably not.
                What processor is it based on? MIPS wont work
                Can you boot from an external device?

                U 1 Reply Last reply Reply Quote 0
                • U
                  umm12 @Patch
                  last edited by

                  @patch
                  pfSense now installed on a PC and i configured some services on this.
                  now i want to use this configuration file on hardware.
                  that means i want use this configured pfSense on a hardware like mikrotik and another device.

                  P 1 Reply Last reply Reply Quote 0
                  • P
                    Patch @umm12
                    last edited by Patch

                    @umm12 said in how to use pfSense configuration on FreeBSD os?:

                    i want use this configured pfSense on a hardware like mikrotik and another device.

                    Choices

                    • Buy Netgate hardware
                    • Buy hardware with AMD64 compatible processor and load pfsense on that

                    See Hardware forum

                    U 1 Reply Last reply Reply Quote 0
                    • U
                      umm12 @Patch
                      last edited by

                      @patch
                      Which hardware i can buy and install pfSense on this and then connect to them with cable and wireless?

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

                        You could export the various config files for some things from a running pfSense system and use them in FreeBSD but it would still require a lot of additional changes.

                        M 1 Reply Last reply Reply Quote 0
                        • M
                          mer @stephenw10
                          last edited by

                          @stephenw10
                          Boy that would be a good amount of work. If one only wanted the firewall rules, simple pfctl -s rules on the running pfSense box and use that output to populate a FreeBSD pf.conf would not be much effort. One would have to pay attention to the interface names but other than that, should be straightforward.

                          The rest of the services, you'd have to go through one at a time.
                          I wouldn't even try to get the GUI going.

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

                            Yup, you can use /tmp/rules.debug and load that into pf with pfctl directly.

                            You could export, for example, the OpenVPN conf file(s). And the Squid conf file. And that would be most of the config but there would certainly be a load of other work required. 😉

                            Steve

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