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

And when I try to bring wg0 up with /etc/netstart, I get the following:
# sh /etc/netstart wg0
ifconfig: !/usr/local/bin/wg: bad value

Accourding to hostname.if(5), !-commands must work in single-user mode, if they 
should be executed.
If this is the case, why is ‘wg’ in /usr/local/bin?

Regards, Martin

Reply via email to