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. ...
Kent Gaardmand
Jun 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
FerrellD
Dec 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.)