KusakabeShi/EtherGuard-VPN

Does it also compile and run on Windows?

Opened this issue · 2 comments

Hello

I am interested in a cross platform solution that can also compile and run on Windows. Maybe it could use WinTUN or similar "Water" (https://github.com/songgao/water) just as a thought.

Will it compile and run on Windows too?
Thanks

Hi,

I just tried to compile EtherGuard on Windows 10 (x64) with go version go1.21.3 windows/amd64 but it gives errors:

test> go build .
go: downloading github.com/golang-jwt/jwt v3.2.2+incompatible
go: downloading gopkg.in/yaml.v2 v2.4.0
go: downloading golang.org/x/crypto v0.0.0-20220112180741-5e0467b6c7ce
go: downloading github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510
go: downloading github.com/beevik/ntp v0.3.0
go: downloading golang.org/x/sys v0.0.0-20220114195835-da31bd327af9
go: downloading github.com/KusakabeSi/go-cache v0.1.2
go: downloading golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2
go: downloading github.com/KusakabeSi/go-ordered-map v0.3.0
# github.com/KusakabeSi/EtherGuard-VPN/conn
conn\bind_windows.go:85:9: cannot use new(WinRingBind) (value of type *WinRingBind) as Bind value in return statement: *WinRingBind does not implement Bind (missing method EnabledAf)
conn\bind_windows.go:93:14: cannot use (*WinRingBind)(nil) (value of type *WinRingBind) as Bind value in variable declaration: *WinRingBind does not implement Bind (missing method EnabledAf)

Any thoughts?

Thanks and have a great day

Hello, Is there any update on this?
Thanks