AdGuardVPNForWindows icon indicating copy to clipboard operation
AdGuardVPNForWindows copied to clipboard

Torrent traffic is not routed through a VPN tunnel and it's looses connection via QUIC

Open shamarin opened this issue 6 months ago • 8 comments

Please answer the following questions for yourself before submitting an issue.

  • [x] I checked the knowledge base and found no answer
  • [x] I checked to make sure that this issue has not already been filed

AdGuard VPN version

2.6.0 nightly build 41

Environment

- OS:Windows 11 24H2 x64
- Other network-level software:

Which DNS server do you use?

AdGuard DNS

Custom DNS

No response

Use Wintun

  • [x] yes, I do

Issue Details

Steps to reproduce:

  1. Connect to any VPN server
  2. Run torrent client qbittorrent
  3. Choose Adguard VPN as an network adapter in Qbittorrent client settings
  4. After some time Adguard will loose connection.

Expected Behavior

All torrent traffic must be routed through a VPN tunnel.

Actual Behavior

It's routed directly. Also app loose connection via QUIC after some time. If to try to open any web resource browser will show connection error and also torrent client will stop any download or upload activity.

Screenshots

Screenshot 1

Additional Information

It was investigated in closed issue https://github.com/AdguardTeam/VpnLibs/issues/62 and marked as fixed, but with latest VPN CoreLibs 0.16.11 it's not fixed.

shamarin avatar May 23 '25 07:05 shamarin

Also with QUIC enabled Adguard VPN looses connection after some time with working torrent client and active torrent traffic. App showing that it still connected, but if to try to open any website browser will show connection error.

shamarin avatar May 23 '25 07:05 shamarin

if to select Adguard VPN as network interface in Qbittorrent settings. In that case all traffic of torrent client going via Adguard VPN. But serious problem with QUIC. After some minutes Adguard looses connection. App showing that connection is ok, but torrent stops any activity and also if to try to open any website browser will show connection error, also with other apps (Adguard blocker will show error while updating filters). It will be till reconnection and after it just the same when torrent client will start P2P activity. With HTTP/2 it's ok, but speed is extremly low even without torrent, because of RKN blocking.

shamarin avatar May 26 '25 11:05 shamarin

Also sometimes this error happens even if torrent client is in exlusions list.

shamarin avatar May 27 '25 11:05 shamarin

Any solution?

shamarin avatar May 28 '25 17:05 shamarin

Without Wintun even with torrent excluded app showing error that something went wrong.

shamarin avatar Jun 06 '25 08:06 shamarin

@ngorskikh when it's expected to be fixed? From last friday QUIC is disabled and IPv6 on all servers. Evean on Android app no QUIC and IPv6.

shamarin avatar Jun 09 '25 12:06 shamarin

@shamarin On last release both QUIC and in-tunnel IPv6 should be fixed. Broken QUIC connection after some time with Torrents on should be fixed too.

However, there are some reports about QUIC speed in RKN area, so at ths time QUIC is not recommended.

sfionov avatar Jul 14 '25 17:07 sfionov

@shamarin On last release both QUIC and in-tunnel IPv6 should be fixed. Broken QUIC connection after some time with Torrents on should be fixed too.

However, there are some reports about QUIC speed in RKN area, so at ths time QUIC is not recommended.

Great! QUIC is beeing blocke by RKN, as also IPv6. For nearky month.

shamarin avatar Jul 14 '25 17:07 shamarin