Recommended way to persist wireguard config after updates

I'd like to avoid setting up wireguard and other customisation on each update. What is the current recommend way?

Is it still using one of the suggested scripts here?

Or should it be sufficient to just add /etc/wireguard/ or where ever I've stored the keys to /etc/sysupgrade.conf, and then use sysupgrade -k?

1 Like

The host's own WireGuard settings are already part of the network configuration.
This assumes you are using the official release of OpenWrt.

If you want to back up peer profiles and keys generated locally for other hosts:
https://openwrt.org/docs/guide-user/troubleshooting/backup_restore#customize_and_verify

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.