How to use or run wireguard-go program on Windows7?

zhengfish zhengfish at gmail.com
Tue Aug 13 10:24:39 CEST 2019


Hello,
    I want to know how wireguard-go works, and I tried it on Ubuntu and
Windows7.
    I can run it on Ubuntu, but get failed on Windows7 as following:

    -----------------------------LOG
BEGIN------------------------------------------
    wireguard\wireguard-go.git>go run main_windows.go wg0
    Warning: this is a test program for Windows, mainly used for debugging
this Go package. For a real WireGuard for Windows client, the repo you want
is <https://git.zx2c4.com/wireguard-windows/>, which includes this code as
a module.
    INFO: (wg0) 2019/08/13 16:17:24 Starting wireguard-go version
0.0.20190805
    DEBUG: (wg0) 2019/08/13 16:17:24 Debug log enabled
    ERROR: (wg0) 2019/08/13 16:17:31 Failed to create TUN device: Error
registering rings: Access is denied.
    exit status 1
    -----------------------------LOG
END--------------------------------------------

    What's the meaning of "Error registering rings: Access is denied."?
    I'm sure that I run it with administrator role.
    Or any advice?

    Thanks in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.zx2c4.com/pipermail/wireguard/attachments/20190813/a193866c/attachment.html>


More information about the WireGuard mailing list