Wednesday, January 01, 2025

Re: wg(4) inhibits reboot

Steve Williams wrote:

> What is your configuration that you have a wg process running?

Your /etc/hostname.wg0 file should contain a line such as the following at the end:

!/usr/local/bin/wg setconf wg0 /etc/wireguard/wg0.conf

The ! specifies a shell command - see hostname.if(5)

You will need to install the wireguard-tools package:

pkg_add -v wireguard-tools

No comments:

Post a Comment