Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
21.1 Legacy Series
»
How to backup and restore wireguard config
« previous
next »
Print
Pages: [
1
]
Author
Topic: How to backup and restore wireguard config (Read 3661 times)
allebone
Sr. Member
Posts: 402
Karma: 34
How to backup and restore wireguard config
«
on:
February 18, 2021, 12:34:26 am »
Hi all,
I was setting up a physical opnsense box to replace my virtual one and backed up the config and restored it, but before putting it into production I checked and found it does not have any wireguard vpn settings. If I install the plugin will the settings be there? Or do I have to first copy a file from somewhere over in order to ensure the settings will be copied?
Kind regards
Pete
Logged
Patrick M. Hausen
Hero Member
Posts: 6799
Karma: 571
Re: How to backup and restore wireguard config
«
Reply #1 on:
February 18, 2021, 08:49:41 am »
If you install the plugin first, a config restore should do what you expect.
If you made too many modifications to do that in the meantime you can open the saved config in any text editor and search for the wireguard bits. The recreate the wireguard config manually.
It's all just XML. Not fun to read but definitely workable.
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do.
(Isaac Asimov)
allebone
Sr. Member
Posts: 402
Karma: 34
Re: How to backup and restore wireguard config
«
Reply #2 on:
February 18, 2021, 01:30:56 pm »
Ok thanks I will try
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
21.1 Legacy Series
»
How to backup and restore wireguard config