Wireguard Package Errors and DNS problem
Updated from Wireguard Package version 0.0.8 to 0.1.1 and receive the following error after every reboot:
Crash report begins. Anonymous machine information:
FreeBSD 12.2-STABLE devel-12-n226634-bdf0424cb2b5 pfSense
Crash report details:
[23-May-2021 07:58:17 US/Central] PHP Warning: flock() expects parameter 1 to be resource, null given in /usr/local/pkg/wireguard/wg_service.inc on line 324
[23-May-2021 07:58:17 US/Central] PHP Warning: fclose() expects parameter 1 to be resource, null given in /usr/local/pkg/wireguard/wg_service.inc on line 327
No FreeBSD crash data found.@
Also DNS requests do not work at all unless I go to Wireguard assigned interface, click Save, then Apply. I also have to do this after every reboot.
Note: I have all TCP/UDP 53/853 requests from WAN to ANY blocked and only allow pass of aforementioned ports outbound over Wireguard interface. This may be useful when diagnosing. I have query forwarding enabled on resolver to DoH IP and domain but also notice the issue with regular port 53 DNS queries since upgrading to newest WG version.
Let me know if you need to know anything else about my setup