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

    How to retrieve server and rules config (and post them)?

    Scheduled Pinned Locked Moved General pfSense Questions
    8 Posts 5 Posters 1.9k 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.
    • H
      hardware_failure
      last edited by

      I apologize if this has been answered before, I did do a bit of searching.

      Whats the best way to obtain a "running config" of pfsense so it can be posted?

      I found the /cf/conf/config.xml but its huge with tons of <> that are not needed.

      Thanks.

      1 Reply Last reply Reply Quote 0
      • W
        wallabybob
        last edited by

        @hardware_failure:

        Whats the best way to obtain a "running config" of pfsense so it can be posted?

        It depends why you want to post it. The configuration file will go a long way towards helping someone else to configure a system "functionally equivalent" but that won't be enough to build a system that will be useful in another environment: IP addresses, network masks, interface names etc will likely all need to be tweaked.

        The configuration file may not be a lot of help to someone trying to help you figure out why your system is groaning under its load.

        1 Reply Last reply Reply Quote 0
        • H
          hardware_failure
          last edited by

          Thank you for your reply, but I dont think thats quite the response I was looking for.

          let me start over.

          Im having a problem with site to site open vpn.  Before I post my problem, I figure it would greatly help others assist me if I could copy and paste something similar to a 20-40 line cisco running config.  I do not know where to obtain this from my pfsense.

          Thanks again for any help.

          1 Reply Last reply Reply Quote 0
          • H
            heper
            last edited by

            Pfsense uses 1 structured config file where everything is stored.
            There are lots of command line tools to retrieve details of certain sections

            1 Reply Last reply Reply Quote 0
            • GruensFroeschliG
              GruensFroeschli
              last edited by

              The config.xml contains everything.
              From it the various config files for the services are built.
              –> The built openVPN config files can be found in /var/etc/

              We do what we must, because we can.

              Asking questions the smart way: http://www.catb.org/esr/faqs/smart-questions.html

              1 Reply Last reply Reply Quote 0
              • H
                hardware_failure
                last edited by

                I was hoping to find something more consolidated to help me provide information for my problem which I have posted Here.

                Thanks for the responses/info.

                1 Reply Last reply Reply Quote 0
                • GruensFroeschliG
                  GruensFroeschli
                  last edited by

                  What isn't clear with "The built openVPN config files can be found in /var/etc/ " ?
                  Isn't this exactly what you were looking for?

                  We do what we must, because we can.

                  Asking questions the smart way: http://www.catb.org/esr/faqs/smart-questions.html

                  1 Reply Last reply Reply Quote 0
                  • AhnHELA
                    AhnHEL
                    last edited by

                    More specifically I believe he's looking for the .conf files that are generated when setting up OpenVPN servers and clients.

                    Run the following command in the GUI:  Diagnostics/Command/Execute Shell Command

                    find /var/etc/openvpn/ -name "*.conf"
                    

                    You can then copy and paste the output to 'File to Download' to download and inspect them.

                    AhnHEL (Angel)

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