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

zhengfish zhengfish at
Tue Aug 13 10:24:39 CEST 2019

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

    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 <>, which includes this code as
a module.
    INFO: (wg0) 2019/08/13 16:17:24 Starting wireguard-go version
    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

    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: <>

More information about the WireGuard mailing list