< Back

How to fix unable to connect issues on Linux?

In this tutorial, you will learn how to troubleshoot connection issues on your Linux device.

 

Usually, this particular problem can be resolved in a few easy steps. However, since all of our home, work, or even school networks are very different from each other, some of them may have specific restrictions that may block the VPN connection.

 

Don’t worry, though - everything will be alright, as our whole team is standing behind your back, ready to help you if these steps don't work out!

 

We will go through these solutions:

 

 

Change the server

 

If restoring the application did not help, double-check to see if you cannot connect to various locations. For example, if you tried connecting to our United States - Detroit server, try our Germany - Berlin server and other servers as well.

You might be unable to connect to one particular server as it could be experiencing some issues. If so, please let our Customer Success team know about the location you are struggling to connect to, and our team will take immediate action.

 

Change the connection protocol

 

Different VPN protocols use different network ports to connect. That being said, you might have a specific port blocked on your home, work, or any other network. Make sure to test both of the available protocols on Linux - OpenVPN (UDP) and OpenVPN (TCP).

 

Set custom DNS

 

Setting custom DNS on any device can change the overall connection, increase the speed, resolve unstable connection issues, or help you connect to the VPN. Check out this article to set custom DNS on your Linux device.

 

Disable IPv6

 

At the moment, Surfshark does not support the IPv6 protocol. Having IPv6 enabled on your network might make it complicated to connect to our servers in some situations. That's why we always recommend disabling it for all of our customers to improve the overall connectivity experience. Check out this article to learn how to disable IPv6 on a Linux device.

 

Disable potentially interfering applications

 

Your antivirus program or a different VPN application is another thing that can interfere with the VPN connection and typically refuses to let it through. Make sure that your antivirus is disabled and any other VPN application that you have installed is removed. 

Since our application modifies your connection settings by a tiny bit, it can be considered a threat to your device by most antivirus software, therefore blocking the attempt to connect to the VPN server. Various VPN applications also use different connection configurations, fighting with each other and canceling out the connection.

 

 

If you still have issues or any further questions, our customer success team will help you 24/7 over live chat or email.

 

You may also be interested in:

Was this article helpful?