Hello Jeff,
It is either a symptom of or unrelated to the connectivity problem.
Gary
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I am a seasoned Windows user and software developer (30+ years). I have done a lot of testing to try to figure out this problem but I am at a loss.
I'm running Windows 10 on two different computers and the same problem occurs on both of them. I work from home and the firm I work for has an internal network that hosts various resources (servers and software). They have a dedicated Windows Server acting as a VPN server for users who need remote access, like me. I launch a Windows VPN client connection on my Windows 10 systems to gain access to the internal network. BUT fairly recently the VPN client connection has become very unreliable with regard to maintaining an internet connection. Usually, my internet connection is fine for a period of time after I launch the VPN. However, after an indeterminate amount of time (anywhere from seconds to a few minutes to sometimes a few hours) I lose internet connectivity. The Windows VPN network status property window claims the VPN is connected and internet is available. But any application I run that requires an internet connection fails at this point. I must stop the VPN client in order to regain internet. Restarting the VPN simply repeats the cycle.
My home network environment is wired TCP/IP through a TP-Link Deco router. My ISP provides fiber network service (fiber modem) with at least 1 Gbps speed. Network service is fine if I am not using the VPN.
The internet drop-out problems started to occur after I switched from my previous ISP and an older DSL network service (and a different network router). VPN connections to my work network were reliable under this old system (but the underlying DSL network was unreliable and would drop out frequently, which is why I switched).
I have run the Windows networking troubleshooter, both before and after the VPN has lost internet. When internet is working, the troubleshooter finds no problems (as one would expect). After internet is lost, the troubleshooter reports that no DNS server can be located.
I have involved my work network administrator to try to diagnose the problem. He says the VPN server can identify when I connect but it does not show any obvious errors when internet is lost.
I have checked the Windows event log on my home computers. No errors related to networking are reported.
I am out of ideas and the experienced support tech at my work is as well. It appears that Windows does not (obviously) provide the diagnostics we need to resolve the problem. I am open to suggestions from the community.
Jeff
***moved from Windows / Windows 10 / Internet and connectivity***
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
Hello Jeff,
It is either a symptom of or unrelated to the connectivity problem.
Gary
Hello Jeff,
IKEv2, SSTP and L2TP (except in pre-shared key mode) require the VPN server to possess a certificate issued by a certificate authority trusted by your machines. I guess that the necessary conditions do not prevail in your environment.
Point 4 from Rosy contains the most appropriate "first step" diagnostic tracing. Collection of a network trace and Microsoft-Windows-RRAS can be combined in a single command (and the data stored in a single file - very useful for correlating related information).
One command that should should achieve this is:
pktmon start --capture --comp nics --trace --provider Microsoft-Windows-RRAS --file-name why.etl
Tracing is stopped with the command:
pktmon stop
One tool (now deprecated) that can interpret the trace data in why.etl is/was Microsoft Message Analyzer.
Gary
As a matter of fact, our VPN seems to only work with PPTP. I had configured my connection in Windows using the "Automatic" option but when I went back and tried the specific options, only PPTP succeeds to establish a connection.
Thanks for the suggestions. I will respond to some of them.
I could not locate a way to "enable VPN connection logging", as you say. Unless you are referring to the event log entries added by the VPN client when starting and stopping the connection. Those appear to provide only limited information. I looked for the "Microsoft-Windows-RRAS" logs and found some things similar to that name. However, those event viewer nodes contained no information.
Jeff
Hi Jeff,
Thank you for the detailed description of your issue. Based on your explanation, the VPN connection causes the internet connection to drop after a certain period. Here are some potential issues and solutions that might help resolve this problem:
1. Check Router Settings:
2. Adjust VPN Client Settings:
3. Check Local Network Settings:
ipconfig /flushdns and netsh winsock reset in the command prompt to flush the DNS cache and reset the Winsock catalog. 4. Logs and Diagnostic Tools:
5. Try a Different VPN Client:
ion.
6. Use an Alternate Network:
I hope these suggestions help. If the issue persists, please feel free to share more information on the forum, and other community members might be able to provide additional support and suggestions.
Good luck,
Rosy