< Back

How to fix unstable connection issues on Linux?

In this tutorial, you will learn what might be the reason for connectivity issues on your Linux machine and how to fix it.

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 default settings and cause connectivity issues. Thankfully, you can solve most of such problems with 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 at 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 DNS from your Internet Service provider, that might be a reason why you experience connectivity issues. Changing your default DNS to Open DNS is worth taking a shot. 

    OpenDNS 1: 208.67.222.222
    OpenDNS 2: 208.67.220.220


  • Disable potentially interfering apps.

    Some apps might have taken over network controls on your device. That can sometimes interfere with Surfshark (or any other VPN) connection. 

    That 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.

    OpenDNS 1: 208.67.222.222
    OpenDNS 2: 208.67.220.220

  • 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 a live chat or email 24/7!

 

You may also be interested in:

Was this article helpful?