Skip to content

Windows: Use wintun driver instead of OpenVPN  #102

@Sina-Ghaderi

Description

@Sina-Ghaderi

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions