Forum Discussion
admin admin
Jun 19, 2017Copper Contributor
Point to Site VPN timeouts
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. ...
admin admin
Jun 19, 2017Copper Contributor
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.
Kent Gaardmand
Jun 19, 2017Steel Contributor
Is the disconnet during idle periods or does it happen during use ?
- admin adminJun 20, 2017Copper Contributor
Sorry I should have specified them as idle timeouts, yes.
- Kent GaardmandJun 20, 2017Steel Contributor
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
- FerrellDDec 12, 2019Copper Contributor
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.)