• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
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.3k 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 Sep 4, 2021, 10:53 AM

    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 Sep 5, 2021, 3:26 AM

      no anyone to help me?

      P 1 Reply Last reply Sep 5, 2021, 3:43 AM Reply Quote 0
      • P
        Patch @umm12
        last edited by Patch Sep 5, 2021, 3:43 AM Sep 5, 2021, 3:43 AM

        @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.

        A U 2 Replies Last reply Sep 5, 2021, 3:44 AM Reply Quote 0
        • A
          awebster @Patch
          last edited by Sep 5, 2021, 3:44 AM

          @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 Sep 5, 2021, 4:12 AM

            @patch
            can i install pfsense on mikrotik?

            P 1 Reply Last reply Sep 5, 2021, 4:38 AM Reply Quote 0
            • P
              Patch @umm12
              last edited by Patch Sep 5, 2021, 4:44 AM Sep 5, 2021, 4:38 AM

              @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 Sep 5, 2021, 4:45 AM Reply Quote 0
              • U
                umm12 @Patch
                last edited by Sep 5, 2021, 4:45 AM

                @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 Sep 5, 2021, 4:51 AM Reply Quote 0
                • P
                  Patch @umm12
                  last edited by Patch Sep 5, 2021, 4:52 AM Sep 5, 2021, 4:51 AM

                  @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 Sep 5, 2021, 5:32 AM Reply Quote 0
                  • U
                    umm12 @Patch
                    last edited by Sep 5, 2021, 5:32 AM

                    @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
                    • S
                      stephenw10 Netgate Administrator
                      last edited by Sep 5, 2021, 3:39 PM

                      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 Sep 5, 2021, 4:02 PM Reply Quote 0
                      • M
                        mer @stephenw10
                        last edited by Sep 5, 2021, 4:02 PM

                        @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
                        • S
                          stephenw10 Netgate Administrator
                          last edited by Sep 5, 2021, 4:53 PM

                          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
                          12 out of 12
                          • First post
                            12/12
                            Last post
                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                            This community forum collects and processes your personal information.
                            consent.not_received