edgevpn icon indicating copy to clipboard operation
edgevpn copied to clipboard

wintun support

Open vip3344 opened this issue 3 years ago • 2 comments

I hope edgevpn can support wintun, thanks! https://www.wintun.net/

vip3344 avatar Jun 03 '22 03:06 vip3344

Thanks for filing an issue about this!

yes, this is something that was in top of my head already but didn't had time to have a dig nto it yet, besides, I don't have a windows machine to test on, so will take a bit of time from my side.

mudler avatar Jun 03 '22 22:06 mudler

I'm not much help too, since I don't have windows machine besides VM at home. But most of my remote peers are windows machines... Back to deal. I've tried this branch few months ago https://github.com/mudler/edgevpn/tree/wintun It was very flaky

dukzcry avatar Jun 09 '22 16:06 dukzcry

thanks @dukzcry ! Seems someone have patched https://github.com/dtlslink/water/commit/daf4264fd3eeb0fbd6bb48aee617320929d5201d so it can be directly used with the same lib. I'm going to give it a shot over the weekend

mudler avatar Oct 10 '22 07:10 mudler

@mudler Please let me know when you form the branch. I will test. Most likely additional patches like these will be needed: https://github.com/repos-holder/edgevpn/commit/bbdd67f1feda7e4c8e278b2d91804de916766da5 https://github.com/repos-holder/edgevpn/commit/37d22970fb58991044a9eb2a1e2e97d9f361da38

dukzcry avatar Oct 10 '22 09:10 dukzcry

@dukzcry just gave a stab at it https://github.com/mudler/edgevpn/tree/pin/water

mudler avatar Oct 10 '22 22:10 mudler

@mudler Thank you! It works at first glance. Need to test it with remote peers. Could you please also pick https://github.com/repos-holder/edgevpn/commit/fd9d64a9b98b120b6e87e91fdc1d4c29c56328f5 ? This solution works fine without hack that was needed for fumiama/water variant

dukzcry avatar Oct 11 '22 12:10 dukzcry

@dukzcry awesome! pushed on the branch, thanks!

mudler avatar Oct 11 '22 14:10 mudler

@mudler I've tested pin/water on windows peers during weekend, works fine so far 🤗

dukzcry avatar Oct 16 '22 08:10 dukzcry

That's a great news! Thanks @dukzcry for confirming that out!

mudler avatar Oct 16 '22 09:10 mudler

wintun can not works well~ QQ截图20221017112831

vip3344 avatar Oct 17 '22 03:10 vip3344

The adapter failed to obtain the correct ip QQ截图20221017115441

vip3344 avatar Oct 17 '22 03:10 vip3344

@vip123456789 Change or clear IP for OpenVPN interface. Most likely it clashes with one you want set for wintun

dukzcry avatar Oct 17 '22 05:10 dukzcry

@vip123456789 Change or clear IP for OpenVPN interface. Most likely it clashes with one you want set for wintun

Thanks! Problem solved!

vip3344 avatar Oct 17 '22 05:10 vip3344