OPNsense Forum

Archive => 23.7 Legacy Series => Topic started by: doktornotor on November 05, 2023, 10:43:32 PM

Title: [SOLVED] Wireguard OS plugin - cannot set up
Post by: doktornotor on November 05, 2023, 10:43:32 PM
Trying to add a local instance of WG.

- The docs (https://docs.opnsense.org/manual/how-tos/wireguard-s2s.html) 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?  ???

Title: Re: Wireguard OS plugin - cannot set up
Post by: Patrick M. Hausen on November 05, 2023, 11:07:54 PM
Which version are you running? This is not the dialog in 23.7.
Title: Re: Wireguard OS plugin - cannot set up
Post by: doktornotor on November 05, 2023, 11:33:27 PM
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.
Title: Re: Wireguard OS plugin - cannot set up
Post by: doktornotor on November 05, 2023, 11:59:54 PM
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.
Title: [SOLVED] Wireguard OS plugin - cannot set up
Post by: doktornotor on November 06, 2023, 08:50:39 AM
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