Project

General

Profile

Actions

Bug #11892

open

WireGuard: dpinger does not start correctly on a WireGuard gateway at boot

Added by Steve Wheeler 5 months ago. Updated 5 months ago.

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

0%

Estimated time:
Plus Target Version:
Affected Version:
2.6.x
Affected Plus Version:
Affected Architecture:
All

Description

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' 

Tested in:

21.09-DEVELOPMENT (amd64)
built on Wed May 05 01:04:33 EDT 2021
FreeBSD 12.2-STABLE

WireGuard package 0.0.8

Actions

Also available in: Atom PDF