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

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: 162.252.172.57
    DNS 2: 149.154.159.92


  • 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: 162.252.172.57
    DNS 2: 149.154.159.92

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

 

 

You may also be interested in:

Was this article helpful?
Thank you for your feedback!