On Thu, May 04, 2023 at 03:06:13PM +0200, Odd Martin Baanrud wrote: > Hello, > > I???m configuring a WireGuard server on an OpenBSD 7.3 machine, using this > howto: > https://ianix.com/wireguard/openbsd-howto.html > > I don???t get the wg0 interface up. > The hostname.wg0 contains: > inet 10.0.6.1 0xfgffgf00 NONE up !/usr////////local/bin/wg setconf wg0 > /etc/wireguard/wg0.conf
0xfgffgf00 is an invalid netmask, as it is not hexadecimal (0-f). Your netmask should be one of: a. address/subnet CIDR notation b. decimal notation c. hexadecimal notation https://en.wikipedia.org/wiki/IP_address#Subnetworks