Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows: Use wintun driver instead of OpenVPN #102

Open
Sina-Ghaderi opened this issue Nov 7, 2023 · 0 comments
Open

Windows: Use wintun driver instead of OpenVPN #102

Sina-Ghaderi opened this issue Nov 7, 2023 · 0 comments

Comments

@Sina-Ghaderi
Copy link

Sina-Ghaderi commented Nov 7, 2023

Please use wintun and wintun-go for windows, i think the API is more reliable than the OpenVPN driver.
As mentioned here in PR13, setting address and problems with ARP is a little bit annoying, wintun which is developed by Wireguard team dose't seems to have this issue, L3 addresses isn't something that a tun/tap lib/package should consider to handle.

I'm rewriting water for my personal project, for Linux it seems pretty clear although you should use golang.org/x/sys/unix instead of syscall package. another thing i'm wondering is why FD dose't get closed on error?

I'm planning to use wintun with my personal package, if there is a chance to replace or add wintun to this repository, let me know and i'll create a PR.

Thanks.

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

No branches or pull requests

1 participant