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

    Auto Config backup.

    General pfSense Questions
    5
    12
    2.2k
    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.
    • vallumV
      vallum
      last edited by

      how about adding feature for backup to google drive or in-house hosted Nextcloud.
      Compliance is not happy sending configuration to cloud.

      Manu

      fireodoF 1 Reply Last reply Reply Quote 1
      • fireodoF
        fireodo @vallum
        last edited by

        @vallum said in Auto Config backup.:

        how about adding feature for backup to google drive or in-house hosted Nextcloud.
        Compliance is not happy sending configuration to cloud.

        (or to a smb-share in House)
        I subscribe to this too!

        Kettop Mi4300YL CPU: i5-4300Y @ 1.60GHz RAM: 8GB Ethernet Ports: 4
        SSD: SanDisk pSSD-S2 16GB (ZFS) WiFi: WLE200NX
        pfsense 2.7.2 CE
        Packages: Apcupsd Cron Iftop Iperf LCDproc Nmap pfBlockerNG RRD_Summary Shellcmd Snort Speedtest System_Patches.

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

          Hi,

          Google drive == Cloud. So why asking for an option that doesn't make people happy ?

          You could use 'any' shell script on pfSense to copy the config file to a location that is accessible to you.
          Or use a tool like https://github.com/KoenZomers/pfSenseBackup

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

          vallumV 1 Reply Last reply Reply Quote 0
          • vallumV
            vallum @Gertjan
            last edited by

            @gertjan said in Auto Config backup.:

            Hi,

            Google drive == Cloud. So why asking for an option that doesn't make people happy ?
            Some of the organizations use Google for email/drive.
            some have designed their own in-house solution.

            You could use 'any' shell script on pfSense to copy the config file to a location that is accessible to you.

            yes can be used, but this will be security loophole. config is gonna be in plain text at backup server. hence not complaint

            Or use a tool like https://github.com/KoenZomers/pfSenseBackup
            this is totally different approach, not quite good for security reasons.

            Manu

            GrimsonG 1 Reply Last reply Reply Quote 0
            • GrimsonG
              Grimson Banned @vallum
              last edited by

              @vallum said in Auto Config backup.:

              You could use 'any' shell script on pfSense to copy the config file to a location that is accessible to you.

              yes can be used, but this will be security loophole. config is gonna be in plain text at backup server. hence not complaint

              Then encrypt it in your shell script.

              vallumV 1 Reply Last reply Reply Quote 0
              • vallumV
                vallum @Grimson
                last edited by

                @grimson said in Auto Config backup.:

                @vallum said in Auto Config backup.:

                You could use 'any' shell script on pfSense to copy the config file to a location that is accessible to you.

                yes can be used, but this will be security loophole. config is gonna be in plain text at backup server. hence not complaint

                Then encrypt it in your shell script.

                Yeah can be done but quite messy, it would be nice if liberty to add our own drive or ftpes or sftp in auto config backup.

                Manu

                GrimsonG GertjanG 2 Replies Last reply Reply Quote 0
                • GrimsonG
                  Grimson Banned @vallum
                  last edited by

                  @vallum said in Auto Config backup.:

                  Yeah can be done but quite messy, it would be nice if liberty to add our own drive or ftpes or sftp in auto config backup.

                  First you talk about security and then you would use ftpes? 🤦

                  vallumV 1 Reply Last reply Reply Quote 0
                  • vallumV
                    vallum @Grimson
                    last edited by

                    @grimson said in Auto Config backup.:

                    @vallum said in Auto Config backup.:

                    Yeah can be done but quite messy, it would be nice if liberty to add our own drive or ftpes or sftp in auto config backup.

                    First you talk about security and then you would use ftpes? 🤦

                    Please read about FTPes .

                    Manu

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

                      @vallum said in Auto Config backup.:

                      to add our own drive or ftpes or sftp in auto config backup

                      pfSEnse has a build in facility - using their disk space "some where".
                      A facility they can control, thus support.

                      All other solution : a "one liner" shells script to a remote smb/server/whatever - the script could encrypt on the fly. You control the access of the remote location.
                      So, there it is : a one line command on a cron tab. Up to you to make something that fits your needs.
                      Because billions of needs exist, pfSense couldn't implement (and support) them all.

                      Google has already many possible answers about this question.

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

                      vallumV 1 Reply Last reply Reply Quote 0
                      • T
                        tim.mcmanus
                        last edited by

                        So your compliance needs are for data to be encrypted while in transit and at rest? What are the additional compliance requirements for data at rest? Sounds a lot like HIPAA or SEC/OCC compliance.

                        You could simply get an Amazon CentOS server and put it on S3 storage to pass audits. S3 is encrypted at rest, but the data file itself would not be. Depends on your auditor and their mood.

                        If Netgate had regular audits and could produce/maintain an ISO 27001 document demonstrating compliance, with additional assurances of data encryption at rest, that should also comply with your audit requirements. This is something you will get from any data center provider if they are hosting your stuff.

                        But without knowing what your data at rest compliance requirements are, getting you an exact solution to your compliance needs may be elusive.

                        vallumV 1 Reply Last reply Reply Quote 0
                        • vallumV
                          vallum @Gertjan
                          last edited by

                          @gertjan said in Auto Config backup.:

                          @vallum said in Auto Config backup.:

                          to add our own drive or ftpes or sftp in auto config backup

                          pfSEnse has a build in facility - using their disk space "some where".
                          A facility they can control, thus support.

                          All other solution : a "one liner" shells script to a remote smb/server/whatever - the script could encrypt on the fly. You control the access of the remote location.
                          So, there it is : a one line command on a cron tab. Up to you to make something that fits your needs.
                          Because billions of needs exist, pfSense couldn't implement (and support) them all.

                          Google has already many possible answers about this question.

                          Firewall already has backup service as core component :
                          https://www.netgate.com/docs/pfsense/backup/autoconfigbackup.html , hardcoded netgate cloud storage . point which I wanna make is users should have the liberty to select storage of their choice.

                          Manu

                          1 Reply Last reply Reply Quote 0
                          • vallumV
                            vallum @tim.mcmanus
                            last edited by

                            @tim-mcmanus said in Auto Config backup.:

                            So your compliance needs are for data to be encrypted while in transit and at rest? What are the additional compliance requirements for data at rest? Sounds a lot like HIPAA or SEC/OCC compliance.

                            yes at rest and as well as in transit. Also methodology used to achieve backup.

                            You could simply get an Amazon CentOS server and put it on S3 storage to pass audits. S3 is encrypted at rest, but the data file itself would not be. Depends on your auditor and their mood.

                            If Netgate had regular audits and could produce/maintain an ISO 27001 document demonstrating compliance, with additional assurances of data encryption at rest, that should also comply with your audit requirements. This is something you will get from any data center provider if they are hosting your stuff.

                            But without knowing what your data at rest compliance requirements are, getting you an exact solution to your compliance needs may be elusive.

                            well I already have external server in place which used git-crypt to store config and generates email for every change done in firewall with source ip and username.
                            it took around 2 months to design this solution using dozens of open source modules. only problem is that keyless ssh is used which is not safe when firewall is in picture.

                            Manu

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