There are various reasons which may cause the VPN to disconnect. Some of the solutions are listed below:
1-Change Your VPN Settings: The first place to look for issues is in your VPN’s settings. These settings options may be found in the VPN application on your device. You may avoid sudden disconnections caused by VPN software faults by connecting to a more dependable VPN server, changing connection protocols, or resetting your DNS settings.
2-Change Your DNS Settings VPN services frequently run their own DNS servers to prevent your ISP from seeing your DNS requests. These servers are in charge of translating the domain name of a website into an IP address.
If your VPN allows you to use custom DNS servers, you can experiment with altering them to see if it improves VPN stability. Changing your DNS servers, on the other hand, may provide less protection than utilising your VPN’s default settings.
3- Switching the Protocol: Disconnection issues can be solved by switching in between the protocols, i.e. PPTP, L2TP and OpenVPN.
3- Firewall: If switching the protocols doesn’t help, check Router/ Windows/3rd Party Firewall settings. First, temporarily disable your firewalls and try again. Sometimes router firewalls cause disconnection problems because Wi-Fi routers usually grind the VPN to a stop after a few minutes of use, plainly because they can’t keep up with SPI / Firewall turned on.
4- Internet Connection: If you have tried every technical aspect that has been discussed above and still facing the disconnection issue, then you may finally want to check your internet connection and the specific settings that have been provided by your ISP, so as to ensure that from which end are you encountering the issue.
5- Change Ports: A port serves as the start and the end point for network connections and communication. To connect to a server, your VPN only needs one port at a time. These ports can get overloaded at times, resulting in disconnections and slow speeds. To overcome this, you can manually switch the port used by your VPN and route the connection through a different port.