Why Does a VPN Stop Working After a Linux Kernel Update?
After a kernel update the VPN may refuse to connect or connect without traffic. Here is how modules, interface names, services and DNS can change, and how to check each one.
11 min readUpdated Nov 11, 2026By XPASS Editorial Team

You update your Linux machine, reboot, and the VPN that worked last week now refuses to connect, or it connects and then loads nothing. Nothing in the VPN settings changed, so it is natural to blame the VPN. In practice the cause is often one layer below: the kernel, the virtual network devices it creates, or a background service that did not come back the way it used to. A kernel update is a bigger change than most app updates, because it replaces the code that handles every packet leaving your computer.
This article explains why that can break a VPN and gives you a calm, ordered way to find out which part moved. It does not claim to know what any particular VPN app installs on your machine. Where the answer depends on the software, it says so and shows you how to check. If you use VPNclient from your XPASS pass, the Linux setup guide lists what its installer needs, and you can come back here when the symptoms appear only after an update.
Why the kernel matters to a VPN
A VPN on a computer is, at its core, a virtual network device plus a set of routes and rules that send traffic into it. The kernel owns all three parts.
- The virtual device. When a VPN connects, the kernel creates an interface, often named something like
tun0orwg0(names vary). Creating it requires support in the kernel, either built in or loaded as a module. - Routing. The kernel decides which interface each packet leaves through. A VPN works by adding routes that favour the virtual device.
- Firewall and packet filtering. Rules for address translation or for blocking traffic outside the tunnel live in the kernel's packet filter. If the tools that manage these rules changed, a set of rules that used to load may fail.
Because the kernel is replaced as a whole, anything that depends on its internal details can fall out of step. Most distributions handle this smoothly most of the time. The cases that break tend to involve software that was not packaged by your distribution, or that the distribution does not rebuild automatically.

The usual suspects after an update
Here are the most common ways a kernel update leaves a VPN unable to work, from most to least likely on an ordinary desktop.
- You have not rebooted yet. The package manager installs the new kernel while the old one keeps running. Some files for the running kernel can be removed or replaced, so modules the VPN tries to load no longer match. The symptom is odd, partial failure until you reboot.
- A module was not rebuilt. Some drivers and VPN components are built against a specific kernel version, usually through a mechanism that compiles them on installation. If that build failed or was skipped, the module is missing for the new kernel. The VPN then reports that it cannot create the device.
- A network interface was renamed. The names of Wi-Fi and Ethernet adapters can change after an update or a firmware change. A script, firewall rule or VPN profile that hard-codes the old name will no longer match.
- A service did not restart cleanly. The network manager, the DNS resolver or a helper service might start in a different order, or start before the network is ready.
- DNS configuration changed. The file that tells the system which resolver to use can be rewritten by a different component after an update. The VPN may be connected but names no longer resolve through it.
- Secure Boot rejects an unsigned module. On systems with Secure Boot enabled, a kernel module that is not signed with a trusted key may be refused. Components built locally are the typical case.
- A firewall tool changed behaviour. Newer systems may use a different packet-filtering backend than before. Old rules written for the previous backend may not apply the same way.
You do not need to fix all seven. The next sections help you tell which one applies.
Step 1: Reboot, then confirm which kernel is running
Start with the simplest step. Reboot the computer fully (not a suspend) and sign in again. Then check which kernel is active:
uname -r
Note the version it prints. If you updated the kernel and the number is still the old one, the machine did not boot into the new kernel; your boot menu may be set to a different entry. If the number matches the latest installed kernel, continue.
Try the VPN again. A surprising number of "broken" VPNs after an update are only half-updated systems, and a clean reboot fixes them. If the VPN works, you can stop here and enjoy the quiet. If it does not, you now have a clean starting point, and the remaining checks will give reliable answers.
Step 2: Look at the exact message
Before changing anything, read what the VPN tells you. Open the app or run it from a terminal if you installed a command-line tool, and note the wording. The message usually points to one of three areas.
| What you see | What it usually points to |
|---|---|
| Cannot create or open a device, operation not permitted, module not found | A missing kernel module, a permissions problem or a Secure Boot refusal |
| Connects, then drops or loops | A service or routing conflict, or an unstable connection |
| Connects, but no pages load | Routing or DNS after the tunnel is up |
| Authentication failed | Usually unrelated to the kernel; check your username and password on My Pass |
If the message is about authentication, the update is probably a coincidence. VPNclient signs in with the username and password on your My Pass page, so check the login details on My Pass before digging into the system.
For system-level details, the journal records what happened during the failed attempt. A command such as journalctl -b shows the current boot's messages. You can narrow it with -u followed by a service name if you know it, or search for words like "vpn", "tun", "module" or "denied". Copy the relevant lines somewhere safe, because they are exactly what support will ask for.
Step 3: Check for a missing module or a Secure Boot refusal
If the message mentions a device or module, check whether the kernel can create the virtual device you need. Many VPN tools use the generic tunnel device. You can see whether it exists with:
ls -l /dev/net/tun
If the file is missing, the module that provides it may not be loaded. Loading it needs administrator rights, and the command is modprobe tun. If that succeeds, try the VPN again. If it reports that the module is not found, the installed kernel is missing its extra modules, which sometimes happens when a package for them failed to install. Reinstalling the kernel's module package through your package manager, then rebooting, usually repairs this.
Some VPN tools rely on separate modules built for each kernel. You can list loaded modules with lsmod and search the output for the name of the one your software uses. Whether VPNclient uses such a module is not something this article can state; the Linux setup guide and support are the right sources.
If your computer uses Secure Boot, a locally built module that is unsigned may be refused. The kernel log often says so, and you can read it with dmesg or the journal, looking for words such as "signature" or "lockdown". The clean fixes are to sign the module with a key you enrol, or to use a build the distribution already signs. Turning Secure Boot off is possible but weakens a boot-time protection, so treat it as a last resort and understand the trade-off first.
Step 4: Confirm the interface and the routes
When a VPN says it is connected but nothing loads, check what the kernel sees. List the interfaces:
ip link show
You should see the virtual interface while the VPN is connected. Then list the routes:
ip route
With a full tunnel, the default route normally points at the virtual interface, or there are two broader routes that cover everything. If the default route still points at your Wi-Fi or Ethernet adapter, traffic is not entering the tunnel, and the problem is in routing rather than in the connection. The Linux VPN routing guide walks through how those routes are chosen and why a leftover entry can override the VPN.
Also check whether the name of your normal adapter changed. If a firewall rule or script mentions eth0 or an old Wi-Fi name and your adapter is now called something else, the rule silently matches nothing. List your adapters with ip link show and compare them with what your configuration names. Fixing the name in the configuration, or switching to a rule that matches by type, solves it.
A plain example helps. Suppose you updated on Monday and the VPN now connects but websites do not load. ip route shows the default route still going through your Wi-Fi adapter, and the virtual interface exists but has no default route. A leftover rule, written for the old setup, is pushing the route back. Removing or updating that rule, then reconnecting, restores traffic. The VPN itself was fine; the kernel simply stopped agreeing with an old instruction.
Step 5: Test DNS separately from the tunnel
If the interface and routes look correct but websites still do not load, test names and addresses separately. Try reaching a site by its IP address, for example by pinging a well-known public address. If that works, packets are travelling through the tunnel and the problem is name resolution.
| Test | Result | Meaning |
|---|---|---|
| Ping a public IP address | Works | The tunnel carries traffic |
| Open a site by name | Fails | DNS is the problem |
| Ping a public IP address | Fails | Look at routing, the interface or the firewall |
For DNS trouble, see which resolver the system is using. On many systems resolvectl status shows the servers for each interface. You want the VPN interface to have a resolver, and you want the system to actually send queries there. If an update replaced the DNS component, the system may be ignoring the VPN's setting. The Linux DNS leak guide explains the mechanics and how to confirm which resolver handles your queries. Please note that a leak is a different problem from a failure: a leak means names go outside the tunnel, while a failure means names do not resolve at all, though both share causes.
Step 6: Restart the network services in order
A service that came up too early can leave the VPN stuck. Restarting the relevant services in a sensible order sometimes clears a bad state without another reboot:
- Disconnect the VPN.
- Restart the network manager (on most desktops,
systemctl restart NetworkManager, run with administrator rights). - Restart the DNS resolver service if your system has a separate one.
- Reconnect the VPN.
If your VPN is managed through NetworkManager rather than an app, the NetworkManager guide explains how its profiles, plugins and secrets work, which helps when a plugin package was removed by the update. A missing plugin is a quiet cause: the profile still exists, but the connection type disappears from the list or fails with an obscure error.
If your VPN app runs its own background service, check that it is active with systemctl status followed by the service name. A stopped or failed service is a clear lead, and the status output usually includes the last error lines.

Step 7: Test the previous kernel, then decide
If everything above looks fine and the VPN still fails, try booting the previous kernel from the boot menu. Most distributions keep at least one older kernel installed. Choose it from the advanced options at startup, sign in, and test the VPN.
- It works on the old kernel. The new kernel is involved. Look for a missing module for that version, search your distribution's bug tracker for the new kernel number and your VPN software, and consider waiting for a fixed update.
- It fails on the old kernel too. The kernel is probably not the cause. The update may have changed a user-space package instead, such as a network, DNS or firewall component, or the problem may be on the network side, for example a service outage or an expired pass.
Do not stay on an old kernel indefinitely, because kernel updates carry security fixes. Use the older one to find the cause, report it, and move back to the current one when the issue is resolved.
It is also worth ruling out the pass itself. A pass has a fixed number of days and does not renew by itself, so if it expired the VPN fails regardless of your system. The My Pass page shows the current state, so you do not need to guess.
What a kernel update does not explain
Not every post-update failure is the kernel's fault, and it helps to keep an open mind.
- The network itself. A hotel, school or office network may block VPN traffic, and the timing may be a coincidence. Try another network, such as a phone hotspot, to separate the two. The VPN not connecting guide covers network-side causes in order.
- An app update at the same time. Updates often include more than the kernel. If a package manager upgraded the VPN software, the network manager and the kernel in one session, you cannot tell which change mattered without testing the previous kernel.
- Unsupported hardware or architecture. The Linux app described in the setup guide is for 64-bit Intel or AMD desktops with systemd. If your system is a different architecture, the cause is not an update at all.
- Distribution quirks. Immutable or specialised distributions handle kernel modules differently, and the usual commands may not apply as written. Follow your distribution's documentation for those.
Remember also what a VPN is for. It encrypts traffic between your device and the VPN server and changes the apparent address websites see; it does not guarantee access to any site or make you anonymous. When you troubleshoot, the goal is simply to get back to the normal behaviour described in the setup guide, not to promise anything the tool cannot do.
A short recovery checklist
When time is short, work through this in order and stop when the VPN works.
- Reboot fully and confirm the running kernel with
uname -r. - Check your login details and the pass status on My Pass.
- Read the exact error and the journal for the failed attempt.
- Check
/dev/net/tun, loaded modules and Secure Boot messages. - Compare
ip link showandip routewith a working state. - Test an IP address and a site name separately to isolate DNS.
- Restart the network and DNS services, then reconnect.
- Boot the previous kernel to see whether the new one is involved.
- Gather the distribution name, kernel version, VPN software version and the exact messages, and contact support if you are still stuck.
If you can, write down the kernel version and what worked the next time the VPN is healthy. A short note makes the next update much less stressful, because you will know what normal looks like.
Summary
A VPN that stops after a Linux kernel update usually fails in one of a few places: a half-finished update that needs a reboot, a module that was not rebuilt, a renamed network interface, a service that restarted in a different order, a changed DNS setup or a Secure Boot refusal. Work from the simplest check to the most specific one, read the exact error, separate DNS from the tunnel, and use the previous kernel as a test rather than a permanent fix. If you would like a prepaid pass with a fixed number of days and no automatic renewal for your Linux machine, see the pricing page, and the Help Center covers setup if you need guidance first.
Frequently asked questions
Why would a kernel update break a VPN that worked yesterday?
The kernel is the part of Linux that creates virtual network devices and applies firewall and routing rules. If a VPN depends on a module that was not rebuilt for the new kernel, on a renamed network interface, or on a service that did not restart cleanly, the tunnel can fail even though nothing in the VPN app itself changed.
Should I roll back to the previous kernel?
Booting the previous kernel from the boot menu is a safe and reversible test. If the VPN works there, the new kernel is involved and you can look for a missing module or a known issue. Treat it as a diagnostic step first, and keep security updates in mind before you stay on an older kernel.
Does rebooting after an update matter?
Yes. After a kernel update, the running system may still be on the old kernel until you reboot, and some modules for the old kernel may already have been removed. A clean reboot into the new kernel often resolves a half-updated state.
How do I know whether the problem is DNS or the tunnel?
Try opening a site by its IP address. If that works but names fail, the tunnel carries traffic and the problem is DNS. If nothing works, look at the interface and routes instead.
Where can I get help for VPNclient on Linux?
The Linux setup guide in the Help Center lists what the installer needs. If the app still fails after the checks in this article, contact support and include your distribution, kernel version and the exact message you see.
References
About the author

Bob Kanokphon Thongdee
- Founder of XPASS VPN
- Co-founder of eSIMonline.asia
- More than 7 years in online marketing
- Founder of Cojourney Visa and Cojourney Travel
Need a VPN for a short trip or a busy month?
XPASS sells prepaid passes for a set number of days. You pay once and nothing renews automatically.
See passesKeep reading

Device Guides
How to Add a VPN in Linux NetworkManager
How NetworkManager stores VPN profiles, how to add one in GNOME, KDE or nmcli, and which settings (routes, DNS, auto-connect, secrets) decide whether it behaves well.
10 min read

Device Guides
Linux VPN Routing Tables Explained
A VPN on Linux is mostly a set of routing decisions. Learn to read ip route, understand the half-default trick and policy tables, and diagnose why traffic goes the wrong way.
9 min read

Troubleshooting
VPN Stopped Working After an Update
Why an operating system or app update can break a working VPN, a diagnosis order that finds the cause fast, and repair steps for Windows, Mac, Android and iPhone.
9 min read