Following the guide here, I managed to get it working, but disabling / enabling one rule as well (guess rules needs refresh)
https://github.com/FingerlessGlov3s/OPNsensePIAWireguard
https://github.com/FingerlessGlov3s/OPNsensePIAWireguard
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts Menu
[07-Dec-2023 23:15:00 Europe/Stockholm] TypeError: explode(): Argument #2 ($string) must be of type string, array given in /usr/local/opnsense/mvc/app/controllers/OPNsense/Wireguard/Api/ClientController.php:80
Stack trace:
#0 /usr/local/opnsense/mvc/app/controllers/OPNsense/Wireguard/Api/ClientController.php(80): explode(',', Array)
#1 [internal function]: OPNsense\Wireguard\Api\ClientController->setClientAction('b090adb7-4325-4...')
#2 [internal function]: Phalcon\Dispatcher\AbstractDispatcher->callActionMethod(Object(OPNsense\Wireguard\Api\ClientController), 'setClientAction', Array)
#3 [internal function]: Phalcon\Dispatcher\AbstractDispatcher->dispatch()
#4 /usr/local/opnsense/www/api.php(24): Phalcon\Mvc\Application->handle('/api/wireguard/...')
#5 {main}
wireguard /usr/local/opnsense/scripts/Wireguard/wg-service-control.php: ROUTING: not a valid interface gateway address: ''
FreeBSD 13.2-RELEASE-p5 stable/23.7-n254837-8806e8fefb1 SMP amd64
OPNsense 23.7.9 7d9231b7d
Plugins os-ddclient-1.17 os-iperf-1.0_1 os-udpbroadcastrelay-1.0_3 os-wireguard-2.5_1
Time Thu, 07 Dec 2023 23:23:27 +0100
OpenSSL 1.1.1w
Python 3.9.18
PHP 8.2.12