Skip to content

Conversation

@Arcterus
Copy link

@Arcterus Arcterus commented Mar 11, 2025

I've added device configuration for OpenBSD. The code is still (IMO) sort of messy (and probably needs tests, although that's pretty low priority for me at the moment), but it is functional. I've mainly been testing it manually on a real interface. As a side note, the docs for the wg driver kind of suck. I ended up trawling through the ifconfig code to make sure I was doing things correctly.

Also, I should note that I've only really tested IPv4 for the endpoint.

Should resolve #34.

@jmatthew
Copy link

nice work! I've tested this out a bit as part of an eduVPN setup and it all seems to work, including IPv6.

@jrife
Copy link

jrife commented Jun 6, 2025

Looks like this intersects a bit with #156. In particular, the first commit which rejects attempts to use the allowed IP Remove flag on unsupported platforms. I skipped OpenBSD, since you couldn't do device configuration anyway yet, but with this we might need to make an adjustment there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

internal/wgopenbsd: add configuration for OpenBSD kernel devices

3 participants