Forum Discussion
Point to Site VPN timeouts
Sorry I should have specified them as idle timeouts, yes.
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.)