[Bug 295300] net/wireguard-tools: does not start on system reboot

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 15 May 2026 08:15:13 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=295300

            Bug ID: 295300
           Summary: net/wireguard-tools: does not start on system reboot
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: mfechner@FreeBSD.org
                CC: juhani@krekela.fi
                CC: juhani@krekela.fi
             Flags: maintainer-feedback?(juhani@krekela.fi)

Make sure wireguard is correctly enabled in /etc/rc.conf:
wireguard_enable="YES"
wireguard_interfaces="wg0"

and /usr/local/etc/wireguard/wg0.conf exist with correct configuration.

Now start wireguard with:
service wireguard start

Check the interface is up with ifconfig.

Now reboot the machine.
Wireguard is not started.

A manual `service wiregaurd start` does the job, but it should really start
automatically if the system is rebooted.

-- 
You are receiving this mail because:
You are the assignee for the bug.