Project

General

Profile

Actions

Bug #11950

closed

Wireguard Package Errors and DNS problem

Added by RED SKULL 4 months ago. Updated 3 months ago.

Status:
Resolved
Priority:
Normal
Category:
WireGuard
Target version:
-
Start date:
05/23/2021
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Affected Version:
2.6.0
Affected Plus Version:
Affected Architecture:
amd64

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

Actions

Also available in: Atom PDF