***GOT REQUEST TO CHECK FOR UPDATES***Currently running OPNsense 24.1.5_3 at Sun Apr 14 07:59:58 UTC 2024Fetching changelog information, please wait... doneUpdating OPNsense repository catalogue...Fetching meta.conf: . doneFetching packagesite.pkg: .......... doneProcessing entries: .......... doneOPNsense repository update completed. 844 packages processed.All repositories are up to date.Checking integrity... done (0 conflicting)Your packages are up to date.Checking for upgrades (0 candidates): . doneProcessing candidates (0 candidates): . doneChecking integrity... done (0 conflicting)Your packages are up to date.***DONE***
$ awk -F'=' '/^/ { if ($1 ~ /Key/) print($1 "= <key>"); else print($0); }' </usr/local/etc/wireguard/wg0.conf##################################################### Interface settings, not used by `wg` ## Only used for reference and detection of changes ## in the configuration ###################################################### Address = 10.10.10.1/24# DNS = # MTU = # disableroutes = 1# gateway = [Interface]PrivateKey = <key>ListenPort = 51820[Peer]# friendly_name = phonePublicKey = <key>AllowedIPs = 0.0.0.0/0