[Interface]Address = 10.0.0.1/24Address = 2001:DB8:6666:100::1/64PrivateKey = *snip*ListenPort = 56666PostUp = *adding the IPv4 NAT stuff via IPTables*PostDown = *removing the IPv4 NAT stuff*[Peer]PublicKey = *snip*AllowedIPs = 10.0.0.0/24, 2001:DB8:6666:100::/64, 2001:DB8:6666:1000::/56
Fatal trap 12: page fault while in kernel modecpuid = 4; apic id = 04fault virtual address = 0x18fault code = supervisor read data, page not presentinstruction pointer = 0x20:0xffffffff80cb9bd4stack pointer = 0x0:0xfffffe00002612f0frame pointer = 0x0:0xfffffe0000261320code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, long 1, def32 0, gran 1processor eflags = interrupt enabled, resume, IOPL = 0current process = 12 (irq271: em3:rx0)
I also noticed that shortly before the crash occurs, the CPU usage skyrockets to 80-100%.I have no crashdumps at hand and can't produce any new as I'd have to rewire/reconfigure my whole network anew to replicate (I am not using that machine due to the crashing problems for the time being).I did submit a couple of crashdumps via the reporting tool of OPNsense though.I do remember however it being a "Fatal trap 12: page fault while in kernel mode" panic.To debug the issue further, I tried separating the IPv4 and IPv6 parts of the wireguard tunnel into separate peers. That's when it became clear that the IPv6 part of the configuration seems to be the culprit, as eveything does work fine until you add the IPv6 peer and the associated subnets to the interfaces.There are other issues with that approach though, as Wireguard doesn't let you add an IPv6 gateway in VPN -> Wireguard -> Local when using "Disable Routes". Then Wireguard itself isn't starting, because the route to the gateway can't be added. Wireguard is trying to add "route add Gateway -iface wg0" which is refused by FreeBSD with error "bad address".Aaand it still panics when you try it with separate peers.I hope I haven't forgotten to add anything, it is rather much info collected.If there's any more info I can provide, or someone has ideas as to how to resolve this issue, don't hesitate to tell.As for the crashdumps, I hope those were uploaded correctly by the reporting tool and can be accessed by franco