AdguardTeam / AdguardForWindows

AdGuard for Windows open bug tracker
https://adguard.com/
674 stars 72 forks source link

Incompatibility with official WireGuard client #2683

Closed ViRb3 closed 5 years ago

ViRb3 commented 5 years ago

Steps to reproduce

  1. Start AdGuard protection
  2. Start WireGuard connection

Expected behavior

AdGuard works on top of WireGuard

Actual behavior

No internet

Details

This is the recently released official client of WireGuard for Windows, more info: https://www.wireguard.com/install/ Uses custom TUN driver: https://www.wintun.net/

Your environment

ViRb3 commented 5 years ago

Update: just like with https://github.com/AdguardTeam/AdguardForAndroid/issues/2759, starting WireGuard first and then AdGuard seems to solve the issue.

EDIT: However, after disabling the WireGuard connection, there is no internet until AdGuard is restarted again.

ameshkov commented 5 years ago

@ViRb3 what AdGuard version were you using?

If you're on beta or nightly, please try switching the driver mode to "redirect" in advanced settings.

ViRb3 commented 5 years ago

I am on the latest beta (7.0.2638.6551). Using the redirect mode seems to retain internet when connecting to WireGuard, but it starts timing out again when WireGuard is disconnected. Takes around 15 seconds after I disable AdGuard for internet to recover.

ameshkov commented 5 years ago

@ViRb3 two more things to try:

  1. Try using the TDI driver (uncheck "Use WFP driver" in the network settings)
  2. Or you could keep the WFP driver, but try unchecking "Use localhost for injections" in advanced settings
ViRb3 commented 5 years ago

EDIT: Unchecking "Use localhost for injections" retains internet when connecting to WireGuard, but just like with the "redirect" mode I tried before, after disconnecting from WireGuard I have no internet again. It looks like a DNS issue because I can connect to websites I had previously visited, but not new ones, similar to the issue over at Android. TDI driver seems to make no difference.

If you are interested to test for yourself, TunSafe provides a free WireGuard VPN: https://tunsafe.com/vpn And official client: https://www.wireguard.com/install/

ViRb3 commented 5 years ago

I don't know if it was a WireGuard update or the latest AdGuard nightly but I am no longer having any issues at all! Thanks for all the time