WireGuard / wgctrl-go

Package wgctrl enables control of WireGuard interfaces on multiple platforms.
https://godoc.org/golang.zx2c4.com/wireguard/wgctrl
MIT License
727 stars 85 forks source link

Not able to get devices on windows #100

Closed dd76 closed 2 years ago

dd76 commented 3 years ago

Ipconfig o/p on windows Unknown adapter wg0: Connection-specific DNS Suffix . : IPv4 Address. . . . . . . . . . . : 10.113.0.0 Subnet Mask . . . . . . . . . . . : 255.255.255.255 Default Gateway . . . . . . . . . :

wg o/p gives the below o/p interface: wg0 public key: +71MjydauuTHO0CBi+2sNfuN+ZYffUT0Qc6NOzl5ij0= private key: (hidden) listening port: 58816

wgClient.ConfigureDevice() return with error "file does not exist"

In one of the windows box I could verify it works and gets the device only after couple of failed attempts. But it fails consistently on few others. Any reason for this to happen. Plz advice.

afeiszli commented 2 years ago

I get the same on FreeBSD