[SOLVED] Wireguard OS plugin - cannot set up

Started by doktornotor, November 05, 2023, 10:43:32 PM

Previous topic - Next topic
November 05, 2023, 10:43:32 PM Last Edit: November 06, 2023, 08:51:03 AM by doktornotor
Trying to add a local instance of WG.

- The docs say to generate the key with "Generate new keypair" button which does not exist.
- The help says: "Public key of this instance. You can specify your own one, or a key will be generated after saving."
- I cannot save anything since there is some validation requiring the keys to be set.

Huh?  ???


Which version are you running? This is not the dialog in 23.7.
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

OPNsense: 23.7.7_3   
Plugin 2.4_1


# pkg info os-wireguard
os-wireguard-2.4_1
Name           : os-wireguard
Version        : 2.4_1
Installed on   : Sun Nov  5 22:21:10 2023 CET
Origin         : opnsense/os-wireguard
Architecture   : FreeBSD:13:amd64
Prefix         : /usr/local
Categories     : net
Licenses       : BSD2CLAUSE
Maintainer     : ad@opnsense.org
WWW            : https://opnsense.org/
Comment        : WireGuard VPN service kernel implementation
Annotations    :
        FreeBSD_version: 1302001
        product_abi    : 23.7
        product_arch   : amd64
        product_email  : ad@opnsense.org
        product_hash   : 13a20dcd3
        product_id     : os-wireguard
        product_name   : wireguard
        product_tier   : 3
        product_version: 2.4_1
        product_website: https://opnsense.org/
        repo_type      : binary
        repository     : OPNsense
Flat size      : 79.6KiB


No idea what is going on with the package really.

Looking at https://github.com/opnsense/plugins/issues/3632, there apparently was some GUI revamp in os-wireguard 2.3 - well, that is no longer the version that gets installed now and the revamp is gone again.

Ok, mystery solved with restarting the GUI, thanks to Franco. Some weird caching issue, see the ticket linked below.

# configctl webgui restart

https://github.com/opnsense/plugins/issues/3656#issuecomment-1794232321