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

Whereis the pf.conf file

Scheduled Pinned Locked Moved Firewalling
9 Posts 5 Posters 15.0k 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
    swygue
    last edited by Nov 15, 2005, 6:42 AM

    Where is the pf.conf file ? Where does pfsense writes its rules. Why can't I wirte my own pf.conf for pfsense to use. I find the web interface very hard to use.

    Thanks

    1 Reply Last reply Reply Quote 0
    • H
      hoba
      last edited by Nov 15, 2005, 7:12 AM

      Every configuration in pfSense is generated from the config.xml. All changes you make to any config will be overwritten by applying new settings in the GUI or by rebooting the machine.

      The webGui is hard to use? It was made with simplicity in mind, so where exactly do you see problems in using it?

      1 Reply Last reply Reply Quote 0
      • S
        sullrich
        last edited by Nov 15, 2005, 3:36 PM

        @swygue:

        Where is the pf.conf file ? Where does pfsense writes its rules. Why can't I wirte my own pf.conf for pfsense to use. I find the web interface very hard to use.

        Thanks

        Then install freebsd or openbsd and use it.  pfSense is not something you want if you find the web gui hard to use.

        1 Reply Last reply Reply Quote 0
        • S
          swygue
          last edited by Nov 15, 2005, 3:51 PM

          Where does the config.xml lives ? I want to get a better understanding of how it works ? For example, when I create a rule from the webgui, how does it get process by pf ? What files are modified by the config.xml ?

          As for the webGui, I find it hard to use only because I am use editing pf.conf. For some reason the point and click doesn't feel natural, I don't know if that makes much sense. But when I create a pf.conf file, I can read it and right away I can know what's going on. It's not matter of the webGui being hard to use, it's just that I prefer to write my rules the old way, then be able to look at them from the webGui.

          Maybe when I understand how the config.xml works, I will have a better apreciation of the webGUI.

          Thanks

          1 Reply Last reply Reply Quote 0
          • S
            sullrich
            last edited by Nov 15, 2005, 3:53 PM

            @swygue:

            Where does the config.xml lives ? I want to get a better understanding of how it works ? For example, when I create a rule from the webgui, how does it get process by pf ? What files are modified by the config.xml ?

            As for the webGui, I find it hard to use only because I am use editing pf.conf. For some reason the point and click doesn't feel natural, I don't know if that makes much sense. But when I create a pf.conf file, I can read it and right away I can know what's going on. It's not matter of the webGui being hard to use, it's just that I prefer to write my rules the old way, then be able to look at them from the webGui.

            Maybe when I understand how the config.xml works, I will have a better apreciation of the webGUI.

            Thanks

            config.xml is in /cf/conf

            But really, what you want is a stock openbsd or freebsd install if you want to edit .conf files.  The whole point of pfSense is to NOT edit .conf files.

            1 Reply Last reply Reply Quote 0
            • S
              swygue
              last edited by Nov 15, 2005, 4:02 PM

              You are right, I came to that conclusion myself. Yet I would still like to understand how this works, the webGui makes allot of sense. It's great for an enviroment where people don't want to edit configuration files.

              So if someone could answer the questions from my previous post, I would apreciate it.

              Thanks

              1 Reply Last reply Reply Quote 0
              • S
                sullrich
                last edited by Nov 15, 2005, 4:06 PM

                @swygue:

                You are right, I came to that conclusion myself. Yet I would still like to understand how this works, the webGui makes allot of sense. It's great for an enviroment where people don't want to edit configuration files.

                So if someone could answer the questions from my previous post, I would apreciate it.

                Thanks

                config.xml transforms into /tmp/rules.debug whenever a filter change occurs.

                1 Reply Last reply Reply Quote 0
                • A
                  Aderium
                  last edited by May 15, 2006, 2:03 PM

                  So bottom line you cant change configurations from the shell ?

                  Anthony Palermo

                  1 Reply Last reply Reply Quote 0
                  • B
                    billm
                    last edited by May 15, 2006, 5:20 PM

                    @Aderium:

                    So bottom line you cant change configurations from the shell ?

                    Correct.  The shell is there for debugging, not for modifications to config files.

                    –Bill

                    pfSense core developer
                    blog - http://www.ucsecurity.com/
                    twitter - billmarquette

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