Windows11 connects but will not pass traffic

Official client software for OpenVPN Access Server and OpenVPN Cloud.
cheffcook
OpenVpn Newbie
Posts: 2
Joined: Sun Jan 15, 2023 8:22 pm

Re: Windows11 connects but will not pass traffic

Post by cheffcook » Mon Jan 16, 2023 12:13 am

Hi again.
After post above my friend who belong VPN server told me what he not set up server to working with IPv6. And we together tried to test it and switched off IPv6 on my PC.
When IPv6 on

Code: Select all

C:\WINDOWS\system32>tracert google.com
Tracing route to google.com [2a00:1450:4010:c06::71]
over a maximum of 30 hops:
  1    <1 мс    <1 мс    <1 мс  2a00:1370:8188:c5b:72f8:2bff:fe3c:ad40
  2     6 ms     6 ms     6 ms  2a00:1370:8088::
  3    15 ms     9 ms     9 ms  a197-cr04-as25513.msk.mts-internet.net [2a02:28:1:2::42:2]
  4     *        *        *     Request timed out.
  5     *        *        *     Request timed out.
  6     6 ms     *        *     mag9-cr02-be10.77.msk.mts-internet.net [2a02:28:1::12b:1]
  7     *        *        *     Request timed out.
  8     7 ms     7 ms     *     mag9-cr02-be13.77.msk.mts-internet.net [2a02:28:1::19b:1]
  9     *        *        7 ms  a197-cr01-ae10.77.msk.mts-internet.net [2a02:28:1::12b:2]
 10     9 ms     6 ms     9 ms  a197-cr04-be31.77.msk.mts-internet.net [2a02:28:1::1b7:2]
 11     7 ms    10 ms     7 ms  a197-cr03-ae0.16.msk.mts-internet.net [2a02:28:1::e3:62]
 12     7 ms     6 ms     6 ms  2a02:28:1::e3:102
 13     9 ms     6 ms     7 ms  a197-cr04-be18.10.msk.mts-internet.net [2a02:28:1::e3:72]
 14     8 ms     *        7 ms  2a02.0028.000100000000000001b70001.bbn.ip6.mtsws.net [2a02:28:1::1b7:1]
 15     8 ms     7 ms     7 ms  mag9-cr02-be10.77.msk.mts-internet.net [2a02:28:1::12b:1]
 16     *        *        *     Request timed out.
 17    23 ms    21 ms    21 ms  2001:4860::cc:4001:16c7
 18    22 ms    23 ms    20 ms  2001:4860:0:1::38f3
 19     *        *        *     Request timed out.
 20     *        *        *     Request timed out.
 21     *        *        *     Request timed out.
 22     *        *        *     Request timed out.
 23     *        *        *     Request timed out.
 24     *        *        *     Request timed out.
 25     *        *        *     Request timed out.
 26     *        *        *     Request timed out.
 27     *        *        *     Request timed out.
 28    20 ms    20 ms    20 ms  lj-in-x71.1e100.net [2a00:1450:4010:c06::71]

And after IPv6 off

Code: Select all

C:\WINDOWS\system32>tracert google.com
Tracing route to к google.com [64.233.163.139]
over a maximum of 30 hops:
  1    45 ms    41 ms    41 ms  192.168.63.1
  2    48 ms    44 ms    45 ms  gw.bacloud.info [85.206.160.1]
  3    42 ms    42 ms    41 ms  3-240-206-85.bacloud.info [85.206.240.3]
  4    41 ms    42 ms    42 ms  1-240-206-85.bacloud.info [85.206.240.1]
  5    42 ms    47 ms    43 ms  et002.RT.OMT.SQQ.LT.retn.net [87.245.242.233]
  6    52 ms    52 ms    52 ms  ae0-13.RT.LDC.WAW.PL.retn.net [87.245.233.56]
  7    53 ms    53 ms    58 ms  72.14.203.82
  8    52 ms    54 ms    54 ms  108.170.250.217
  9    67 ms    65 ms    65 ms  209.85.142.125
 10    65 ms    65 ms    65 ms  142.251.238.70
 11    67 ms    64 ms    65 ms  216.239.62.15
 12     *        *        *     Request timed out.
 13     *        *        *     Request timed out.
 14     *        *        *     Request timed out.
 15     *        *        *     Request timed out.
 16     *        *        *     Request timed out.
 17     *        *        *     Request timed out.
 18     *        *        *     Request timed out.
 19     *        *        *     Request timed out.
 20     *        *        *     Request timed out.
 21    85 ms    84 ms    85 ms  lj-in-f139.1e100.net [64.233.163.139]
All worked now. But the question remained: why did everything stop working the day before yesterday? Maybe some Windows update forced pass traffic via IPv6? I dont know. I'm very bad at networking.

AlexAT
OpenVpn Newbie
Posts: 1
Joined: Fri Jan 20, 2023 1:16 pm

Re: Windows11 connects but will not pass traffic

Post by AlexAT » Fri Jan 20, 2023 1:19 pm

+1 there
Experiencing similar symptoms on one of client machines with OpenVPN Connect (3.3.6 (2752)).
Symptom reasons are: connection to OpenVPN server is ok and Connect client shows IP address assigned, but there is no IP address on TAP interface, it stays 169.254.x.x. Tried reinstalling OpenVPN Connect, deleting driver and reinstalling, to no avail.

Don't exactly have the logs, but there is one strange thing I've noticed:
- netsh command that sets interface IP address takes several seconds to execute, with no errors -

(the command in question is netsh interface ip set address <ifnum> static <ip> <mask> gateway=<gw> store=active)

After netsh execution, IP address on TAP interface still remains autoconfiguration one (169.254.)

I have copied netsh command from logs and tried executing it again both under user and administrator privileges, to no avail. Same stuff - no error, no output, takes several seconds to execute, no effect on interface. Checking Windows event logs gave absolutely nothing.

I also noticed TAP driver in Connect is from 2019. Any chances it's missing something from newer TAP driver versions that makes it Windows 11 netsh-incompatible?

It seems Connect client does not allow to use IPAPI or DHCP for autoconfiguration either instead of netsh, changing ip-win32 setting has no effect.

pormiston
OpenVpn Newbie
Posts: 2
Joined: Mon Dec 12, 2022 11:37 pm

Re: Windows11 connects but will not pass traffic

Post by pormiston » Wed Feb 01, 2023 6:53 pm

openvpn_inc wrote:
Mon Dec 19, 2022 2:09 pm
Hello pormiston, and others,

Can you give any information on what for example the routing table looks like when it is working correctly and when it has stopped working? There may be a clue in there. Something might be removing routes. To be honest we're just guessing at this point. Our tests work but we see people reporting issues but we are not getting any logs or data that indicates where the problem might be. If the logs contain any sensitive data submit a ticket on https://openvpn.net/support instead.

Kind regards,
Johan
Ok sorry slow response, but still happening will log a case.

Michiganbb
OpenVpn Newbie
Posts: 16
Joined: Wed Mar 23, 2022 3:40 pm

Re: Windows11 connects but will not pass traffic

Post by Michiganbb » Mon Feb 20, 2023 4:41 pm

I just logged in and see this routing table question.
I will do as requested.

Please keep in mind that it does not simply "stop working"
It never works for the first 60 seconds exactly of the session.
After 60 seconds it begins to pass traffic.

I will tape snapshots if the routing table both before and after as you have asked.
Also can you or the other person update here if a case was submitted as indicated above?
And any progress? Thanks.


--------------------------------------------------------------------------------------------------------------------
Same problem remains one full year later, there have been no software updates to the V3 release version client in all this time.

I have since tried on many different systems computers and firewalls..
And with PFSense OpenVPN server 2.6.0 and 2.7 beta
Same problem.
Client connects but does not pass any traffic through VPN.
EXACTLY one minute (60 seconds) later it begins to pass traffic and works.

Frustrating enough that I have put everyone on the old V2 client that actually works properly.

NikolayK
OpenVpn Newbie
Posts: 1
Joined: Wed Feb 22, 2023 10:27 am

Re: Windows11 connects but will not pass traffic

Post by NikolayK » Wed Feb 22, 2023 10:37 am

Hi guys,
I also had a problem: after installing updates on February 2023, the openvpn client stopped working (the connection is established but the traffic does not pass).
Solution: disable virtual network adapter "OpenVPN Data Channel Offload" in windows device manager

sniperkitten
OpenVpn Newbie
Posts: 6
Joined: Fri Aug 10, 2018 12:38 pm

Re: Windows11 connects but will not pass traffic

Post by sniperkitten » Tue Feb 28, 2023 3:59 pm

Michiganbb wrote:
Mon Feb 20, 2023 4:41 pm

Frustrating enough that I have put everyone on the old V2 client that actually works properly.
Hi Michiganbb

Does it work for you with Windows 11 and the v2.7.1 OpenVPN connect client which is still available for download on this url?

https://openvpn.net/client-connect-vpn-for-windows/

Thanks

altitude
OpenVpn Newbie
Posts: 1
Joined: Tue Apr 04, 2023 5:13 pm

Re: Windows11 connects but will not pass traffic

Post by altitude » Tue Apr 04, 2023 6:00 pm

I've seen this problem on both Windows 10 (for years) and 11. On some computers it always works fine and on some others there is always a delay. With both OpenVPN Connect clients v2 and v3. Looks like it takes Windows 60 or 70 seconds to route the traffic correctly.

Try this: disable IPv6 on the TAP adapter (or even on all adapters)

Never seen this issue when using OpenVPN Community build

Michiganbb
OpenVpn Newbie
Posts: 16
Joined: Wed Mar 23, 2022 3:40 pm

Re: Windows11 connects but will not pass traffic

Post by Michiganbb » Sat Apr 08, 2023 9:48 pm

It looks like a new Windows client was recently released as I just now saw a notification from the software itself.
This prompted me to uninstall the client and go get the latest and install it.
And I have never before seen a notification from the client like this that there is a new version available.
Installed the new client on a windows 11 machine and it connects to a distant PFSense 2.6.0 openvpn server and passes traffic right away.
It's my first test but it looks like this very long ongoing issue with Win11 might be fixed in this release.
I have been meaning to file a bug report on this versus just living with it or installing the older V2 client to get around it.
Sorry for being so lazy on my end.
I am looking around for release notes for the new 3.3.7 (2979)
Not found them yet.
No "about" or links within the software client itself.
Here's the link to release notes.
No fixes or anything are mentioned.
Only changes since Feb. 2022 are "Updated information exchange for OpenVPN Cloud users."

https://openvpn.net/vpn-server-resource ... hange-log/

Michiganbb
OpenVpn Newbie
Posts: 16
Joined: Wed Mar 23, 2022 3:40 pm

Re: Windows11 connects but will not pass traffic

Post by Michiganbb » Wed Apr 19, 2023 1:22 am

I mispoke, it still does not work and has the problem.
And I don't know why I thought it might be fixed.
It seems that immediately after install it worked, giving me an impression it may have been fixed.

I have since tested on three different systems and locations.
Same exact problem persists.
I guess after two years I should actually gather details and file a bug report on this.

Sappin
OpenVpn Newbie
Posts: 1
Joined: Sun Apr 30, 2023 7:14 pm

Re: Windows11 connects but will not pass traffic

Post by Sappin » Sun Apr 30, 2023 7:26 pm

Hello,
I'm new to this forum, but I want to try to add some light to this post.

In a nutshell. When I go to look at the traffic on the interfaces I can't see any inbound, only outbound, so, I do an experiment. I don't know why I have 4 VPN adapter connections on my windows.
  • OpenVPN Data Channel Offload (what is this...)
    OpenVPN TAP-Windows6 (TAP-Windows V9 Adapter)
    OpenVPN Wintun
    VPN - VPN Client
So, I've disabled all networks except the main one, and tried to enable one by one. If I leave only the OpenVPN TAP-Windows6 network along with the main Ethernet the VPNs work normally again.

I hope this helps someone.

BryanS
OpenVpn Newbie
Posts: 1
Joined: Sun Jul 09, 2023 10:01 pm

Re: Windows11 connects but will not pass traffic

Post by BryanS » Sun Jul 09, 2023 10:02 pm

I had the same problem on Win11, but not on Win10. It was not an antivirus issue, nor a firewall issue.

I resolved the issue by installing the x86 version of OpenVPN on Win11.
:D

oncoman
OpenVpn Newbie
Posts: 1
Joined: Sat Jul 15, 2023 5:58 am

Re: Windows11 connects but will not pass traffic

Post by oncoman » Sat Jul 15, 2023 6:00 am

Yes, I've been battling with this for a couple of weeks now. The Win 11 client is definitely broken. It worked fine for a year on Win 10. I've tried everything suggested in this thread (not sure how he loaded the 32 bit client though?) and it still does not work.

To test further, I loaded my old Nord VPN and it functions perfectly so it is not my machine. I really like OpenVPN but this new client almost certainly has a Windows 11 "feature".

Any suggestions?

sniperkitten
OpenVpn Newbie
Posts: 6
Joined: Fri Aug 10, 2018 12:38 pm

Re: Windows11 connects but will not pass traffic

Post by sniperkitten » Mon Jul 17, 2023 1:26 pm

Hi

Thank you for the suggestion. Will try the x86 version of the client, which is available on the Downloads page.
Going to test for a while and come back with the results.

Chfp145
OpenVpn Newbie
Posts: 1
Joined: Fri Jul 21, 2023 1:20 pm

Re: Windows11 connects but will not pass traffic

Post by Chfp145 » Fri Jul 21, 2023 1:24 pm

I was also having this issue, worked great in win10, however win11 it would connect but would not pass traffic. Tried disabling IPv6 with no change (although I did not restart so perhaps that was not a good test)

Then I installed the x86 version on win11 and this time it passed traffic immediately.

Michiganbb
OpenVpn Newbie
Posts: 16
Joined: Wed Mar 23, 2022 3:40 pm

Re: Windows11 connects but will not pass traffic

Post by Michiganbb » Fri Aug 04, 2023 4:02 pm

It's been a couple of years now and this problem still fully persists in the 64bit version.
Am I only one of like 5 people using this client software in Windows 11?
I should have filed a real bug report well over a year ago.
Guess I need to seriously pick this back up.

-SteveG

cameronduff
OpenVpn Newbie
Posts: 1
Joined: Tue Aug 08, 2023 1:37 am

Re: Windows11 connects but will not pass traffic

Post by cameronduff » Tue Aug 08, 2023 1:42 am

Hi,

I think I had this problem, found a fix was to disable dco.

In the openvpn config file, add the

Code: Select all

disable-dco
setting.

My symptoms:

* Windows 11 as Client
* OpenVPN GUI Client (Not OpenVPN Connect)
* Connection to VPN Server Succeeds, no errors in logs on client or server
* Client is using most up to date Windows DCO drivers (0.9.3), can see its using DCO in control panel network adapters
* Route table appears correct
* No IP connectivity over the tunnel
* Reboot and waiting some time did not clear the problem for me

Once DCO was disabled I could see the TAP driver was being using in the control panel network adapters page, and connectivity worked perfectly as expected.

Fredyy
OpenVpn Newbie
Posts: 1
Joined: Thu Aug 31, 2023 9:50 am

Re: Windows11 connects but will not pass traffic

Post by Fredyy » Thu Aug 31, 2023 9:52 am

I currently experience the same issue on windows 11.
tried openvpn gui, and open vpn connect on both versions 32/64bit.

it always connects fine, but no traffic is tunneled over the vpn, can't access my home network anymore, some setup worked fine 6 months ago.

adding disable-dco to the config didn't help.

Bitsylan
OpenVpn Newbie
Posts: 2
Joined: Wed Jan 17, 2024 4:35 pm

Re: Windows11 connects but will not pass traffic

Post by Bitsylan » Wed Jan 17, 2024 5:13 pm

Hi all,
This seems to be going on for a long time now.

I thought I had the same issue (VPN tunnel working perfectly on win10 and not on win11 were it would only be able to connect but there would be no traffic).

Routes were set fine on both computers, disabled IPV6, disable other network interfaces, nothing would make it work (unable to ping devices on the other side)
Until I compared the OpenVPN 64bit client versions we have.

After installing the latest version on my win10 it also stopped working. So I installed the latest older version that works on both machines (2.5.9), and it works now.

I hope this will solve someones problems for now, but something must be different or buggy after the 2.5.9 version. Maybe extra parameters that needs to be set in the config?

Bitsylan
OpenVpn Newbie
Posts: 2
Joined: Wed Jan 17, 2024 4:35 pm

Re: Windows11 connects but will not pass traffic

Post by Bitsylan » Thu Jan 18, 2024 11:36 am

@openvpn_inc

Are the client versions backward compatible with older OpenVPN servers?
Could that be the issue?

Post Reply