WireGuard: dpinger does not start correctly on a WireGuard gateway at boot
With a WireGuard interface assigned and with a gateway set dpinger does not start correctly at boot. Instead it shows as pending.
This is likely because the interface an gateway info cannot be assigned before the tunnel comes up when other static interfaces can. Resulting in:
rc.bootup: The command '/sbin/ifconfig 'tun_wg0' description 'WG0'' returned exit code '1', the output was 'ifconfig: interface tun_wg0 does not exist'
21.09-DEVELOPMENT (amd64) built on Wed May 05 01:04:33 EDT 2021 FreeBSD 12.2-STABLE WireGuard package 0.0.8
Updated by Christian McDonald 5 months ago
Updated by Alhusein Zawi 5 months ago
[2.6.0-DEVELOPMENT][admin@pfSense.home.arpa]/root: ifconfig tun_wg0
tun_wg0: flags=80c1<UP,RUNNING,NOARP,MULTICAST> metric 0 mtu 1500
inet 220.127.116.11 netmask 0xffffff00
groups: wg WireGuard