/usr/local/opnsense/scripts/Wireguard/wg-service-control.php: The command '/sbin/route -q -n add -'inet' '192.168.5.0/24' -interface 'wg1'' returned exit code '1', the output was ''
/usr/local/opnsense/scripts/Wireguard/wg-service-control.php: The command '/sbin/route -q -n add -'inet' '0.0.0.0' -interface 'wg1'' returned exit code '1', the output was ''
/usr/local/etc/wireguard/wg1.conf##################################################### Interface settings, not used by `wg` ## Only used for reference and detection of changes ## in the configuration ###################################################### Address = 10.0.0.1/24# DNS = 192.168.5.1# MTU =# disableroutes = 0# gateway =[Interface]PrivateKey = {privatekey}ListenPort = 51820[Peer]# friendly_name = mobile-8T-MNPublicKey = {publickey1}AllowedIPs = 10.0.0.2/32[Peer]# friendly_name = plutoPublicKey = {publickey2}AllowedIPs = 10.0.0.3/32[Peer]# friendly_name = saturnPublicKey = {publickey3}AllowedIPs = 10.0.0.4/32
Did you add 0.0.0.0/0 in OPNsense peer config (allowed IPs) ?This must go into client config (allowed IPs) since on server side this is the IP assigned to the client.