hello !!!
Can you confirm whether, during a hardware change using the XML backup file, it is necessary to perform a specific manipulation to retain the WireGuard configuration?
Merci.
To the best of my knowledge, all Wireguard settings, tunnels, keys, etc. are preserved in the main config.xml file which is the "master configuration" for an OPNsense instance. No special or separate backup of WG settings should be required in a normal backup / restore scenario.
All config,
As well that one related to VPN, is in the main config file. When you export it via the OPN GUI, you can open that file and you will see it there.
Everything related to the config and specific for the device (NIC interface naming, em, igc,igb) is there. When you migrate to another H/W the only thing you need to migrate it successfully is to make sure the config that you will import has the proper physical naming replaced in the config file.
I did this when I went from igb to igc NICs, just renamened them and all config was restored without further adjustment.
Regards,
S.
Thank you for this confirmation