Hi All,
For people on OpenBSD 7.0, a minor adjustment to these instructions will make WG work fine. https://airvpn.org/linux/wireguard/terminal/
Before starting 'wg-quick up' you should execute this:
$ doas /usr/sbin/rcctl stop resolvd
And after stopping 'wg-quick up', you should execute this:
$ doas /usr/sbin/rcctl start resolvd
Stopping resolvd(8) will allow connections to work seamlessly without leaks as far as I can tell. Without stopping resolvd(8) you will be unable to even ping. And starting resolvd(8) will reset your network.
Version 7.0 no longer uses dhclient(8) but defaults to dhcpleased(8) and resolvd(8), and additions above works well with the new defaults in OpenBSD 7.0.
I understand the privacy concerns, and I think I am OK with it. Thanks for adding WG, it make using AirVPN with OpenBSD much easier.