Jun 19 2017 10:22 AM
Hi I have an Azure domain environment(no-onprem) and have some users on a dissimilar domain that connect to it using the point-to-site VPN to access file shares. The site-to-site VPNs work fine.
The problem is they get disconnected from the point-to-site vpns sporadically throughout the day. Is there a timeout or setting I can adjust to keep them connected all the time?
Jun 19 2017 10:51 AM - edited Jun 19 2017 12:20 PM
you must clamp MSS at 1350. if not this could result in what you are mentioning.
have a look here, it will show you all the settings that are required for Azure.
Update: I did not notice this was Point to Site, what OS are they running ?
Jun 19 2017 12:57 PM
I appreciate the feedback but I don't think that's an option on the client side, there's no hardware that we can adjust this on. We are using Windows 7.
Jun 19 2017 03:31 PM
Is the disconnet during idle periods or does it happen during use ?
Jun 20 2017 09:57 AM
Sorry I should have specified them as idle timeouts, yes.
Jun 20 2017 01:06 PM
I found this:
it uses scripts to make the tunnel always on. It is the only solution i have been able to find, unless you want to use Routing and Remote access in a IaaS VM
Dec 12 2019 09:33 AM
We have a similar problem where the user's connection to Azure VPN drops frequently. At times, the user can fix the problem by rebooting his/her PC. Other times, there is no solution. A work-around is to have the user run the following .bat file (assumption is that user only has one RAS connection profile and one .pbk file)
:loop
forfiles /p %USERPROFILE%\appdata\roaming\microsoft\network\connections\cm /s /m *.pbk /c "cmd /c rasdial @FNAME /PHONEBOOK:@FILE"
timeout 30
goto loop
(note that the forfiles command above may be wrapped in the MSDN window. batch file only has 4 lines.)