How to fix unable to connect issues on Linux

Problem

You can’t connect to a VPN server on Surfshark’s Linux app.

NOTE: Although connection problems can usually be fixed with a few simple steps, different networks may have specific restrictions that could prevent the VPN connection. This means that the exact steps to resolve the issue may vary depending on the network you are trying to connect to.

 

Common symptoms

  • You get error notifications.
  • The app is stuck on the “Connecting” status.

 

Troubleshooting steps

NOTE: Make sure to check your connection after each step.

  1. Try manually connecting to several different countries.
     
    • If you are unable to connect to one particular server, try several different locations (e.g., if Detroit fails, try Berlin).
    • If you used the “Quick connect” button to connect to the VPN, try manually connecting to several countries instead.
      This helps determine if the issue is with a specific server or the app itself.
       
  2. Change the VPN protocol.
     
    • Different VPN protocols use different network ports, and a specific port may be blocked on your home, work, or school network.
    • Make sure to test all available protocols on Linux and try connecting again after each change.
       
  3. Disable potentially interfering applications.
     
    • Your VPN connection may be blocked by antivirus software or another VPN application. Temporarily disable your antivirus (if used), remove any other VPN applications, and restart your device afterward.
       
  4. Disable IPv6.
     
  5. Set custom DNS.
     

 

Additional tips

  • Restart your device.
  • Check if the issue persists on other networks.
  • Make sure that your internet connection is active.

 

 

 

You may also be interested in:

Was this article helpful?
Thank you for your feedback!