<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Biplab's Blog]]></title><description><![CDATA[Biplab's Blog]]></description><link>https://heybiplab.hashnode.dev</link><generator>RSS for Node</generator><lastBuildDate>Sat, 28 Nov 2026 00:08:20 GMT</lastBuildDate><atom:link href="https://heybiplab.hashnode.dev/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[The Internet is not working after killing the Proton VPN connection on Ubuntu.]]></title><description><![CDATA[Ever faced an internet blackout after disconnecting from Proton VPN on your Ubuntu system? You’re not alone. This post unravels my journey of…]]></description><link>https://heybiplab.hashnode.dev/the-internet-is-not-working-after-killing-the-proton-vpn-connection-on-ubuntu</link><guid isPermaLink="true">https://heybiplab.hashnode.dev/the-internet-is-not-working-after-killing-the-proton-vpn-connection-on-ubuntu</guid><category><![CDATA[internet not working]]></category><category><![CDATA[protonvpn]]></category><category><![CDATA[vpn]]></category><category><![CDATA[Ubuntu]]></category><category><![CDATA[Ubuntu 22.04]]></category><dc:creator><![CDATA[Biplab]]></dc:creator><pubDate>Fri, 10 May 2024 13:07:09 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/stock/unsplash/5QgIuuBxKwM/upload/a2ee71a239d887fdedf3ec6d96b6c187.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Ever faced an internet blackout after disconnecting from Proton VPN on your Ubuntu system? You’re not alone. This post unravels my journey of troubleshooting this issue, offering insights and solutions to get you back online. Let’s dive into the world of VPNs, Ubuntu, and uninterrupted connectivity.</p>
<p>Let’s begin with solutions. We are going to solve this issue with three effective steps.<br /><strong>1. First connect to the internet<br />2. Set up Proton VPN cli<br />3. Fix the internet issue</strong></p>
<ol>
<li><p><strong>Connect to the internet</strong></p>
<p> If you are experiencing the same issue, you are likely reading this blog on your mobile or another device. First, let's establish an internet connection so that you can access your browser at least. To establish the connection, we need to make some <em>nameserver</em> changes. Change the directory ‘/etc/’ by following the command.</p>
<p> <code>cd /etc/</code></p>
<p> Next, we will modify the nameserver using the 'vi' editor in the terminal. Follow the command below to open the editor:</p>
<p> <code>sudo vi resolv.conf</code></p>
<p> Press the <strong><em>'i'</em></strong> button on your keyboard to enable insert mode. Then, paste the following code.</p>
<p> <code>... # nameserver ::1 # nameserver 127.0.0.1 nameserver 8.8.8.8 nameserver 8.8.4.4 ...</code></p>
<p> and the final code is most likely the below image.</p>
<p> <img src="https://miro.medium.com/v2/resize:fit:875/1*tC0KTDnbUjrosxCvRG8Ndw.jpeg" alt="nameserver configuration code in the terminal" /></p>
<p> Once you have successfully pasted the code above, press the <strong><em>"ESC"</em></strong> button to stop editing. Then, type <strong><em>":wq"</em></strong> to exit the editor. If you open your browser and try to visit a website, it should be working properly. However, if you open any installed applications such as Discord or Zoom, you may notice that they do not have internet access and are not functioning properly.</p>
</li>
<li><p><strong>Set up Proton VPN cli</strong></p>
<p> To resolve the internet issue, we must configure <a target="_blank" href="https://protonvpn.com/">Proton VPN</a> on our CLI. Even if you have uninstalled <a target="_blank" href="https://protonvpn.com/">Proton VPN</a> from your device, you still need to install the CLI version to proceed.</p>
<p> To install Proton VPN CLI on Ubuntu, Proton has provided an official guide on their website. However, it is recommended to download the 'Proton VPN DEB package' from this <a target="_blank" href="https://protonvpn.com/support/linux-ubuntu-vpn-setup/"><strong><em>blog page</em></strong> and sav</a>e it in the "Downloads" folder. Once the download is complete, right-click on the file in the "Downloads" folder and select "Open with Terminal". Finally, run the command provided in the guide to install Proton VPN CLI.</p>
<p> <img src="https://miro.medium.com/v2/resize:fit:745/1*-9jOONe3Yu5PF89H5lWxyQ.jpeg" alt="Change the default app open settings" /></p>
<p> Before proceeding with any further work, ensure that your default application setting is set to "Software Install". To check or change this setting, follow these directions: right-click on the downloaded proton deb file, select the "Open With" tab, and adjust it accordingly. Once you have successfully made the change double click on it and install the software, close the tab, and execute the command below to install the proton CLI.</p>
<p> Update the apt-get package list</p>
<p> <code>sudo apt-get update</code></p>
<p> Install the app</p>
<p> <code>sudo apt-get install protonvpn</code></p>
<p> You see a bunch of files downloaded and installed.</p>
</li>
<li><p><strong>Fix the internet issue</strong></p>
<p> Now this is the time where we deal with the problem and fix it in a second. Let’s follow the below process to fix the problem.</p>
<p> First Identify the Proton VPN connection name with the command:</p>
<p> <code>nmcli connection show --active</code></p>
<p> This will show a list of your system’s active connections.</p>
<p> Look for any connections that begin with the prefix <strong>pvpn-</strong> This usually includes <strong>pvpn-killswitch</strong> and <strong>pvpn-ipv6leak-protection</strong>, and may include <strong>pvpn-routed-killswitch</strong>. Delete all these connections using the following command:</p>
<p> <code>nmcli connection delete [connection name]</code></p>
<p> For example:</p>
<p> <code>nmcli connection delete pvpn-killswitch</code></p>
<p> <img src="https://miro.medium.com/v2/resize:fit:875/1*ntv0c0zUCnse7LEqgF6P7Q.jpeg" alt="Delete connections example" /></p>
<p> Re-run the following command to check that all Proton VPN connections have been removed:</p>
<p> <code>nmcli connection show --active</code></p>
<p> If you see any Proton VPN connections left, delete them as described above.</p>
</li>
</ol>
<p>If you have followed all the tutorials mentioned above, then there is a high probability that your issue has been resolved. To confirm this, try opening any installed applications such as Discord, Zoom, or any other application. If it opens without any issues, then you do not need to take any further action. However, if you still encounter any errors, please reach out to <a target="_blank" href="https://protonvpn.com/">Proton VPNCare or Ub</a><a target="_blank" href="https://ubuntu.com/">untufor as</a>sistance in resolving the problem.</p>
<p>If you still have any questions about the above tutorial feel free to ask in the comment box and if you find it helpful give a like.</p>
<p>Happy learning! :)</p>
]]></content:encoded></item></channel></rss>