How to backup OpenVPN configs?



  • 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!



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



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



  • Thank you for confirmation kilthro.



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


  • Banned

    @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?!?



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



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



  • 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'


Log in to reply