Windows 虚拟网络接口
我正在开发某种 VPN 应用程序,需要虚拟网络接口(又名 TUN/TAP)。有没有适用于 Windows 的此类驱动程序?
我知道的唯一一个是 OpenVPN,但它是 GPLed,因此据我所知不能在闭源应用程序中使用。
如果没有现成的解决方案,我希望对自己编写这样的野兽有多复杂进行一些估计(以及可能从哪里开始的一些指导)。
我发现了这个类似的问题,但它追溯到 2008 年。
I'm developing sort of VPN application and need virtual network interface (aka TUN/TAP). Is there any such driver available for windows ?
The only one I know of is OpenVPN, but it is GPLed and thus AFAIK can't be used in closed-source app.
If there's no ready solution, I'd appreciate some estimation on how complicated is it to code such beast myself (and possibly some direction on where to start).
I found this similar question, but it dated back 2008.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
找到了这个:wodVPN - 声称带有虚拟网络适配器。
Found this one: wodVPN - claims to come with a virtual network adapter.
尝试 AnyTun。
http://www.anytun.org/
它看起来像一个可靠的隧道驱动程序,可在Linux 和 Windows,并声称可自由重新分发。
如果您发现它不起作用或类似的东西,我会同意您的第一个评论者的观点 - 与律师进行快速会议,以审查您发现的法律合同......或者甚至更好,只需致电他们的销售人员部门 - 他们可能会同意,而无需担心法律问题。
正如你所说,建造野兽可能会很痛苦。我还没有这样做过,所以我无法给出可靠的估计,但避免这样做似乎是明智的。
Try AnyTun.
http://www.anytun.org/
It looks like a solid tunnel driver available both on Linux and Windows, and claims to be freely redistributable.
If you do not find it to work, or something like it, I would agree with your first commenter - get a quick session with a lawyer to review the legal contract for the one you found... or even better, just call their sales department - they may say yes without legal worries.
Building the beast, as you say, is likely to be a pain. I've not done it, so I can't give a solid estimate, but it seems wise to avoid.