RE: wireguard-windows: Wireguard does not start a previously activated tunnel from time to time

2022-09-28 Thread Simon Rozman
Hi, > Event 7023, ServiceControlManager: The service "WireGuardTunnel$HOST- > WG2" was terminated with the following error: The requested name is valid, > but no data of the requested type was found. The error message you are mentioning is WSANO_DATA 11004 which is related to DNS resolution

RE: WireGuard App on Android allows only one connection simultaneously

2022-09-21 Thread Simon Rozman
Hi, > on Linux multiple connections at the same time are possible, on Windows > also. I don't have a Mac so I can't test there. > > When having two tunnels configured in the Android App, while one is > connected if I connect to the second one, the first one disconnects. > > Is there any reason

Re: Incompatibility between wintun.dll and go module

2022-06-14 Thread Simon Rozman
Hi! The 0.14+ is not binary compatible with 0.13. The API changed considerably: https://git.zx2c4.com/wintun/diff/api/wintun.h?id=544fdaaf8fb970d9657a59c1fc4c4569de4f2d3e The wireguard-go repo was adjusted for this API change in

RE: Wintun on Windows 11

2022-04-22 Thread Simon Rozman
> The README states that Wintun "is a layer 3 TUN driver for Windows 7, 8, > 8.1, and 10": > https://git.zx2c4.com/wintun/tree/README.md#n4 > > You should add Windows 11 to the list. Thanks. Added. Regards, Simon

RE: Wireguard Windows Client questions

2022-04-22 Thread Simon Rozman
> 1. The documentation implies that if I executed the following command > from a command line "wireguard.exe" that it will start the Manager > Service and show the UI. It then states that calling wireguard.exe > /installmanagerservice is suitable for silent installation but what I > find is that

RE: Wireguard Windows Service Issues

2022-01-24 Thread Simon Rozman
Hi, > The problem still is occurring, the service seems to get torn down never > to come back again once the user comes back to the office and connects > back into the main network with ethernet. When the user is on the main > network the VPN host address will not get resolved by DNS by design.

RE: Wireguard Windows Service Issues

2022-01-17 Thread Simon Rozman
Hi, > From this description, it seems that there's room for improvement. > > It doesn't seem reasonable for the WireGuard service to stop. Log and > perhaps display an error, sure.  But stopping seems harsh, and would > prevent other tunnel endpoints from working - not a good user > experience.

RE: Wireguard Windows Service Issues

2022-01-17 Thread Simon Rozman
Hi, > I believe there's a bug in the Windows service implementation, if this > issue is by design, it's problematic. > > I have non-admin users were when I initially set them up with wireguard, > I configured it to use the service, using the command: > > wireguard /installtunnelservice

RE: Error when connecting from windows client

2021-04-27 Thread Simon Rozman
Hi, > 2021-04-26 14:45:33.382398: [TUN] [Home] Creating Wintun interface > 2021-04-26 14:45:33.519928: [TUN] [Home] [Wintun] CreateAdapter: > Creating adapter > 2021-04-26 14:45:33.828328: [TUN] [Home] [Wintun] SelectDriver: Using > existing driver 0.10 > 2021-04-26 14:45:34.289159: [TUN] [Home]

RE: Allowing space for packet headers in Wintun Tx/Rx

2021-04-12 Thread Simon Rozman
Hi, > > Looks good to me; thanks. Just need to work out how to cross-build it > > (I can muster up a Windows VM for testing, but *building* on it is > > beyond my tolerance of Windows for now). > > +1 to all that. Don't worry. Once Jason is back, reviews and (hopefully) approves the changes,

RE: Allowing space for packet headers in Wintun Tx/Rx

2021-04-10 Thread Simon Rozman
Hi David,This is my proposal:https://git.zx2c4.com/wintun/commit/?id=eebd6aea4f75551f6e847a1d4fff857450bac6e9Awaiting review and zx2c4 approval. Regards, Simon smime.p7s Description: S/MIME cryptographic signature

RE: [Wintun] Does wintun.dll support IOCP API?

2021-04-08 Thread Simon Rozman
> Does wintun.dll support IOCP API? > If yes, how to do it? No. Wintun does not communicate with user space using I/O at all. Please, use wintun.dll API described here https://git.zx2c4.com/wintun/about/ Regards, Simon

RE: Windows Tunnl.dll fails to start as a service.

2021-01-25 Thread Simon Rozman
Hi, > Log Name: System > Source:Service Control Manager > Date: 1/21/2021 9:41:25 AM > Event ID: 7024 > Task Category: None > Level: Error > Keywords: Classic > User: N/A > Computer: MANI-WIN10-TEST > Description: > The

Re: wireguard on multi user windows ?

2020-11-30 Thread Simon Rozman
Hi, If your chief finds out, your company laptop is being used by your kid and wife, taken to kid's school and what not, *then*, your chief will get very very very unhappy. :) Imagine your kid having a trojan horse running on his desktop, just locks the desktop, you borrow back the computer

RE: Actual plans for Windows client: PostUp/PreDown possible?

2020-11-11 Thread Simon Rozman
Hi, Stefan, your feedback is greatly appreciated. > While I like your suggested "always-on" solution for fixed desktop PCs I > don't like the "work-around" for client laptops. A Task Scheduler which > is trying every 3 minute to set a wiregurad tunnel when you are sitting > in a train using a

Re: Actual plans for Windows client: PostUp/PreDown possible?

2020-11-10 Thread Simon Rozman
Hi! WireGuard for Windows and OpenVPN are fundamentally different. Consider WireGuard on Windows as an "always-on" VPN. Once configured by admin, it is just always there, and users don't need to explicitly connect or disconnect. Trust me, this is something your users will grow to love - no

RE: Problems with Windows client

2020-09-03 Thread Simon Rozman
Hi Peter! > [Interface] > PrivateKey = XXX= > Address = 10.2.80.226/32 > 2020-09-01 09:20:21.374673: [TUN] [lhirisseccom01] Setting device v4 > addresses > 2020-09-01 09:20:21.445471: [TUN] [lhirisseccom01] Listening for UAPI > requests > 2020-09-01

RE: WireGuard on Windows: Unable to create Wintun interface: Error registering rings: Error listing NDIS interfaces: no interfaces found

2020-08-18 Thread Simon Rozman
Hi, > I have installed WireGuard on Windows server 2017. When I manually > activate the tunnel through the client application (manager) all works > fine. After I restart the computer, WireGuard fails to start > automatically. The log contains the following error: > > [tun] [wg0] Unable to create

RE: WINTUN: Error registering rings (Error 87, INVALID_ARGUMENT)

2020-07-23 Thread Simon Rozman
Hi, > I am currently trying to create a testtool using the WINTUN driver to > establish a 1:1 connection to another client and see what wintun is > capable of. Unfortunately I cannot get the rings to register. I have > written a small testprogram in order to reproduce this. > > #include >

RE: DNS Issues with Wireguard for Windows

2020-07-23 Thread Simon Rozman
WireGuard for Windows adds a firewall rules to block all DNS traffic except to the DNS servers listed in the WireGuard config. This is by design (preventing data leakage). Regards, Simon > -Original Message- > From: WireGuard On Behalf Of Andrew > Burkett > Sent: Saturday, July 11,

RE: Windows Client - UI improvement

2020-06-17 Thread Simon Rozman
> I'm no Picasso, but take a look at the attached. > > Essentially pin the standard set of options to be always visible, and > make the conf area scrollable. No, that's unfortunately not possible with the stock Win32 menu. However, it is possible to move the tunnel list to a submenu. Maybe when

Re: [PATCH 0/1] wintun: use standard volatile semantics

2020-04-25 Thread Simon Rozman
Hi Shawn! Thank you. This generally looks good. I can't find any official documentation on the set of functions and macros from wdm.h, but that's nothing new with Microsoft. I have some nitpicks thou. 1. As the atomic.h is no longer used; it could be deleted from the repo. 2. By removing

Re: Search Domain/DNS Suffix

2020-04-06 Thread Simon Rozman
Hi, I have a similar requirement - to set connection specific DNS suffix. I solved it by extending the wireguard-windows: https://git.zx2c4.com/wireguard-windows/commit/?h=sr/mydist=3672fbc0bcb1821c98566fac32ba0638d4d4c611 However, I do not plan to ask zx2c4 to merge it upstream, as he has

Re: [PATCH wireguard-windows] Calculate the actual route metric by summing interface and route metric.

2020-04-01 Thread Simon Rozman
Hi Ludwig, Would a support for ExecPostUp/ExecPreDown satisfy your need? Regards, Simon -Original Message- From: WireGuard on behalf of Ludwig Herzog Date: Tuesday, 31 March 2020 at 05:33 To: "wireguard@lists.zx2c4.com" Subject: Re: [PATCH wireguard-windows] Calculate the actual

RE: WINTUN example user space app?

2020-03-11 Thread Simon Rozman
Hi, > In my case, I need to take packets - encapsulate them into a serial > protocol and send them to a radio, Then - take packets from the radio > and pump them back into the network stack. > It is sort of like SLIP ... but its not... > > For me - the above is trival on Linux, but.. my challenge

Re: [PATCH wireguard-windows] l18n: change EnumerationSeparator for Japanese.

2020-02-27 Thread Simon Rozman
Arigato! Rebuilt the zgotext.go file, amended to your commit, and applied to sr/l18n patch. Regards, Simon -Original Message- From: WireGuard on behalf of Eiji Tanioka Date: Thursday, 27 February 2020 at 10:43 To: "wireguard@lists.zx2c4.com" Subject: [PATCH wireguard-windows]

Re: [PATCH] DO_NOT_LAUNCH parameter was ignored by MSI, should work now

2020-02-27 Thread Simon Rozman
Hi Arjen, I was not able to reproduce the problem your patch was supposed to solve. Running: msiexec /i https://download.wireguard.com/windows-client/wireguard-amd64-0.0.38.msi /l* setup.log DO_NOT_LAUNCH=1 did not launch the WireGuard after setup was complete. Screencast here:

RE: [PATCH 1/2 wireguard-windows] Add Japanese translation to resources.rc

2020-02-25 Thread Simon Rozman
Thank you very much. I have applied your patch to the sr/l18n branch. Looking forward to locales/ja/messages.gotext.json  Best regards, Simon > -Original Message- > From: WireGuard On Behalf Of Eiji > Tanioka > Sent: Tuesday, February 25, 2020 4:44 PM > To: wireguard@lists.zx2c4.com >

Re: [PATCH] Add japanese translation.

2020-02-24 Thread Simon Rozman
riginal Message- From: Eiji Tanioka Date: Tuesday, 25 February 2020 at 08:07 To: Simon Rozman Cc: "wireguard@lists.zx2c4.com" Subject: Re: [PATCH] Add japanese translation. Hi Simon, I read "resources.rc", and start working. and I have question about it.

RE: [PATCH] Add japanese translation.

2020-02-23 Thread Simon Rozman
iginal Message- > From: Eiji Tanioka > Sent: Sunday, February 23, 2020 9:35 AM > To: Simon Rozman ; wireguard@lists.zx2c4.com > Subject: Re: [PATCH] Add japanese translation. > > Thank you for quick reply! > > I read README.md. > But I don't have Windows environment I ca

Re: [PATCH] Add japanese translation.

2020-02-23 Thread Simon Rozman
2020 08:49 To: Simon Rozman; wireguard@lists.zx2c4.com Subject: Re: [PATCH] Add japanese translation. Hi Simon! I finished wireguard-apple translation to Japanese. So I will start to translate wireguard-windows. How do I work on it? I guess: - checkout sr/i18n - create locales/ja

RE: [PATCH] Add japanese translation.

2020-02-16 Thread Simon Rozman
Hi Eiji! I wonder if you might be willing to contribute Japanese translation for the wireguard-windows as well? The wireguard-windows has pending localization support here https://git.zx2c4.com/wireguard-windows/log/?h=sr/l18n. I have translated it to Slovenian already. Furthermore, I

RE: After win2019 server reboot, Wireguard tunnel doesn't start

2020-02-16 Thread Simon Rozman
Hi, Can you send the %SystemRoot%\inf\SetupAPI.dev.log file, please? Regards, Simon smime.p7s Description: S/MIME cryptographic signature ___ WireGuard mailing list WireGuard@lists.zx2c4.com https://lists.zx2c4.com/mailman/listinfo/wireguard

RE: WireGuard-Windows sets wrong gateway IP address in routes

2019-12-12 Thread Simon Rozman
> it appears I found a bug in the Windows implementation of the WireGuard > client. > I'm not sure, because it seems to be a rather trivial one, but I guess > you will tell me if it's not the case. It's not the case. Windows will know correctly to send packets to the WireGuard interface. Mind

RE: Wireguard for Windows - local administrator necessary?

2019-12-12 Thread Simon Rozman
Hi Chris! This is WireGuard design. Reconfiguring network - which (dis)connecting VPN is – is administrative task. If your organization issues laptops to their employees, the corporate VPN should be up at all times. You don't want them to disconnect from VPN and use those laptops on

RE: Windows client "Unable to create Wintun device"

2019-12-12 Thread Simon Rozman
Hi Richard, I apologise for the delay. (Becoming my standard letter introduction these days. ☹) Your error is saying that NetCfgInstanceId value did not appear in the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4d36e972-e325-11ce-bfc1-08002be10318}\ registry key in 10

RE: Unable to create Wintun Interface

2019-12-12 Thread Simon Rozman
Please check if you have any network adapter that has a name similar to the tunnel name you are trying to use (Control Panel\Network and Internet\Network Connections). WireGuard needs to have a network adapter with the name that corresponds to the tunnel name. In your case, it fails naming it.