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

    How to backup OpenVPN configs?

    Scheduled Pinned Locked Moved OpenVPN
    9 Posts 4 Posters 6.8k 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.
    • A
      AlanMAC
      last edited by

      I'm looking at taking pfSense off a VM and running straight bare bones. Problem is that I have quite a few OpenVPN clients setup already. Is there a good way to back all these up and quickly re-do them? Thank you in advance!

      1 Reply Last reply Reply Quote 0
      • A
        AlanMAC
        last edited by

        May have answered my own questions, looking at the full backup .xml from the backup/restore page, it looks like everything is in there, users, certs and all. I'll fire up another VM and test to see if this works, will post back when I'm done.

        1 Reply Last reply Reply Quote 0
        • K
          kilthro
          last edited by

          The backup/restore will capture all of this info. I use it all the time and everything transfers over.

          1 Reply Last reply Reply Quote 0
          • A
            AlanMAC
            last edited by

            Thank you for confirmation kilthro.

            1 Reply Last reply Reply Quote 0
            • ghostshellG
              ghostshell
              last edited by

              When i restore a full backup to my backup unit i loose the happy start up beeps in the process

              1 Reply Last reply Reply Quote 0
              • D
                doktornotor Banned
                last edited by

                @ghostshell:

                When i restore a full backup to my backup unit i loose the happy start up beeps in the process

                How's this relevant to OpenVPN?!?

                1 Reply Last reply Reply Quote 0
                • ghostshellG
                  ghostshell
                  last edited by

                  if i delete the OpenVPN server they come back so something within the setup is breaking it

                  1 Reply Last reply Reply Quote 0
                  • K
                    kilthro
                    last edited by

                    I have open vpn running and the start up beeps..  This is the same after a restore too.

                    1 Reply Last reply Reply Quote 0
                    • ghostshellG
                      ghostshell
                      last edited by

                      my primary has no issue only when restoring or setting up OpenVPN manually on my backup unit.

                      Doing factory reset now and will connect the backup unit to the internet and try restoring again.

                      Can only find this error in all the log file

                      php: /vpn_openvpn_server.php: The command '/bin/rm /var/etc/openvpn/server1.*' returned exit code '1', the output was 'rm: /var/etc/openvpn/server1.sock: No such file or directory'

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