In this tutorial, you will learn what might be the reason for connectivity issues on your Linux machine and how to fix them.
There are many factors involved in making a VPN connection, e.g., your VPN app settings, network settings, other software, type of network (home, public, mobile data), etc. Therefore, it could be that something on your system might not be compatible with Surfshark's default settings and cause connectivity issues. Thankfully, you can solve most of such problems with just a couple of minor adjustments on the Surfshark app or your device itself.
If you notice the connection being unstable on your Linux machine after connecting to Surfshark VPN, here is what you should try first:
- Try other server locations
For various reasons, like server load or technical issues on the server, one location might provide a more stable connection than others. Connect to a different country to see if that makes a difference.
- Change the default DNS on your Linux
If your PC is using a DNS from your Internet Service Provider, that might be the reason why you experience connectivity issues. Changing your default DNS to Surfshark DNS is worth taking a shot. Here you will find a tutorial on how to do that.
DNS 1: 220.127.116.11
DNS 2: 18.104.22.168
- Disable potentially interfering apps.
Some apps might have taken over network controls on your device. This can sometimes interfere with Surfshark (or any other VPN) connection.
This applies to anti-virus software, other VPNs, firewalls, and file-sharing apps. If you have any of those, try disabling it. Then reboot your device and see if the connection gets any better.
- Remove potential safety controls from your router.
Some Internet Providers tend to provide their routers with parental/security controls enabled by default. Log in to your router, look for the security (or similar) tab and check if there are some security features or parental controls enabled. Also, you may want to change the default DNS to OpenDNS or any other that you prefer.
- DNS 1: 22.214.171.124
DNS 2: 126.96.36.199
- Try a different protocol.
You will find two protocols available on the Surfshark client for Linux - OpenVPN (UDP) and OpenVPN (TCP). If you have noticed stability issues when using the UDP protocol, switch to the TCP, and see if that helps.
- Disable the IPv6.
IPv6 is a networking system that some internet networks might have. Surfshark does not support IPv6 at the moment, so if you have it on your network, connectivity issues may arise.
To see if you have it on your network, proceed to this tutorial.
If the connection is still unstable, or you have any further questions, our customer success team will help you via live chat or email 24/7!
You may also be interested in: