WireGuard Archive on lore.kernel.org
 help / color / Atom feed
* How to use or run wireguard-go program on Windows7?
@ 2019-08-13  8:24 zhengfish
  2019-08-25 15:38 ` Jason A. Donenfeld
  0 siblings, 1 reply; 2+ messages in thread
From: zhengfish @ 2019-08-13  8:24 UTC (permalink / raw)
  To: wireguard

[-- Attachment #1.1: Type: text/plain, Size: 1052 bytes --]

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.

[-- Attachment #1.2: Type: text/html, Size: 2556 bytes --]

<div dir="ltr"><div class="gmail_default" style="font-family:monospace,monospace;font-size:small">Hello, </div><div class="gmail_default" style="font-family:monospace,monospace;font-size:small">    I want to know how wireguard-go works, and I tried it on Ubuntu and Windows7.</div><div class="gmail_default" style="font-family:monospace,monospace;font-size:small">    I can run it on Ubuntu, but get failed on Windows7 as following:</div><div class="gmail_default" style="font-family:monospace,monospace;font-size:small"><br></div><div class="gmail_default" style="font-family:monospace,monospace;font-size:small">    -----------------------------LOG BEGIN------------------------------------------</div><div class="gmail_default" style="font-family:monospace,monospace;font-size:small">    wireguard\wireguard-go.git&gt;go run main_windows.go wg0<br>    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 &lt;<a href="https://git.zx2c4.com/wireguard-windows/">https://git.zx2c4.com/wireguard-windows/</a>&gt;, which includes this code as a module.<br>    INFO: (wg0) 2019/08/13 16:17:24 Starting wireguard-go version 0.0.20190805<br>    DEBUG: (wg0) 2019/08/13 16:17:24 Debug log enabled<br>    ERROR: (wg0) 2019/08/13 16:17:31 Failed to create TUN device: Error registering rings: Access is denied.<br>    exit status 1<br></div><div class="gmail_default" style="font-family:monospace,monospace;font-size:small">    -----------------------------LOG END--------------------------------------------  <br></div><div class="gmail_default" style="font-family:monospace,monospace;font-size:small"><br></div><div class="gmail_default" style="font-family:monospace,monospace;font-size:small">    What&#39;s the meaning of &quot;Error registering rings: Access is denied.&quot;?</div><div class="gmail_default" style="font-family:monospace,monospace;font-size:small">    I&#39;m sure that I run it with administrator role.</div><div class="gmail_default" style="font-family:monospace,monospace;font-size:small">    Or any advice?</div><div class="gmail_default" style="font-family:monospace,monospace;font-size:small"><br></div><div class="gmail_default" style="font-family:monospace,monospace;font-size:small">    Thanks in advance.</div><div class="gmail_default" style="font-family:monospace,monospace;font-size:small"><br></div><div class="gmail_default" style="font-family:monospace,monospace;font-size:small"><br></div></div>

[-- Attachment #2: Type: text/plain, Size: 148 bytes --]

_______________________________________________
WireGuard mailing list
WireGuard@lists.zx2c4.com
https://lists.zx2c4.com/mailman/listinfo/wireguard

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: How to use or run wireguard-go program on Windows7?
  2019-08-13  8:24 How to use or run wireguard-go program on Windows7? zhengfish
@ 2019-08-25 15:38 ` Jason A. Donenfeld
  0 siblings, 0 replies; 2+ messages in thread
From: Jason A. Donenfeld @ 2019-08-25 15:38 UTC (permalink / raw)
  To: zhengfish; +Cc: WireGuard mailing list

You want this repo:

https://git.zx2c4.com/wireguard-windows/about/
_______________________________________________
WireGuard mailing list
WireGuard@lists.zx2c4.com
https://lists.zx2c4.com/mailman/listinfo/wireguard

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-13  8:24 How to use or run wireguard-go program on Windows7? zhengfish
2019-08-25 15:38 ` Jason A. Donenfeld

WireGuard Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/wireguard/0 wireguard/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 wireguard wireguard/ https://lore.kernel.org/wireguard \
		wireguard@lists.zx2c4.com zx2c4-wireguard@archiver.kernel.org
	public-inbox-index wireguard


Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/com.zx2c4.lists.wireguard


AGPL code for this site: git clone https://public-inbox.org/ public-inbox