My internet disconnects when using a VPN on Linux

Problem

Your Linux device can’t access the internet when you use NordVPN.

Common symptoms

  • Your browser is not loading any websites, giving errors such as “This site can’t be reached.”
  • Applications are showing “No Network” or “You’re Offline” messages.

Troubleshooting Steps

NOTE: After each step, check your internet connection by opening your browser in incognito mode and trying to load any page.

  • If you used the “Secure my connection” button to connect to the VPN, try manually selecting and connecting to several specific countries instead.
  • Change the VPN protocol:
     
    1. Open the NordVPN app.
    2. Click “Settings” on the left side of the app.
    3. Click “VPN connection.”
    4. Try connecting with all available protocols. 
       
  • Check if another VPN is active on your device.
  • If you have an antivirus, ensure NordVPN is on the exclusions list.
  • Reset your network by entering these commands into your terminal one by one:

    NOTE: This also resets Wi-Fi networks, passwords, and VPN or APN settings that you've used before.

     

    sudo iptables -F INPUT
    sudo iptables -F OUTPUT
    sudo iptables -P INPUT ACCEPT
    sudo iptables -P OUTPUT ACCEPT
    sudo iptables -F -t mangle
    sudo systemctl restart NetworkManager

     

  • Restart your device.

Additional tips

  • Restart your router.
  • Check if the issue occurs on other devices connected to the same network. If it does, try switching to a different network.
Was this article helpful?

Still having issues?

  • Live chat

  • Email form

By clicking “Chat with support”, you agree to our Terms of Service and acknowledge our Privacy Policy. Chat functionality relies on cookies. By starting the chat, you agree to their use. Learn more in our Cookie Policy.