Bug #11950
closedWireguard Package Errors and DNS problem
0%
Description
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:
amd64
12.2-STABLE
FreeBSD 12.2-STABLE devel-12-n226634-bdf0424cb2b5 pfSense
Crash report details:
PHP Errors:
[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