WireGuard

Started by sagem2004, February 29, 2024, 04:35:46 PM

Previous topic - Next topic
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.
Networking is love. You may hate it, but in the end, you always come back to it.

OPNSense HW
APU2D2 - deceased
N5105 - i226-V | Patriot 2x8G 3200 DDR4 | L 790 512G - VM HA(SOON)
N100   - i226-V | Crucial 16G  4800 DDR5 | S 980 500G - PROD

Thank you for this confirmation