root@pdx1fw1:~ # service wireguard statusUnable to access interface: Device not configured
root@pdx1fw1:~ # service wireguard start[#] ifconfig wg create name wg0[#] wg setconf wg0 /dev/stdin[#] ifconfig wg0 inet 192.168.255.3/24 alias[#] ifconfig wg0 mtu 1420[#] ifconfig wg0 up[#] route -q -n add -inet 10.2.0.0/16 -interface wg0[#] route -q -n add -inet 10.1.0.0/16 -interface wg0[+] Backgrounding route monitorroot@pdx1fw1:~ # service wireguard statusinterface: wg0 public key: <snip> private key: (hidden) listening port: 51280peer: <snip> endpoint: <snip>:51280 allowed ips: 10.1.0.0/16 latest handshake: 1 minute, 8 seconds ago transfer: 15.31 KiB received, 852 B sent persistent keepalive: every 30 secondspeer: <snip> endpoint: <snip>:51280 allowed ips: 10.2.0.0/16 latest handshake: 1 minute, 8 seconds ago transfer: 8.96 KiB received, 3.83 KiB sent persistent keepalive: every 30 seconds
service wireguard start/restart
OPNsense 23.7.5-amd64FreeBSD 13.2-RELEASE-p3OpenSSL 1.1.1w 11 Sep 2023
root@opn:~ # service restart wireguardrestart does not exist in /etc/rc.d or the local startupdirectories (/usr/local/etc/rc.d), or is not executable