Can't Access Internet after VPN Setup on Windows

Abstract: Resolve internet loss after VPN setup on Windows by enabling split tunneling and correcting DNS settings to fix routing conflicts.

Created: 2026-10-24 by

Unable to access the internet after configuring a VPN on Windows is typically caused by routing conflicts where the system directs all traffic through the tunnel, including local network resources, or by incorrect DNS settings. Resolving this requires adjusting the VPN client’s "Split Tunneling" options to allow local LAN access while keeping external traffic secure, and verifying that the Network Adapter properties are correctly prioritized.

Understanding Routing Conflicts

When you connect to a Virtual Private Network (VPN), your operating system creates a new virtual network interface. By default, many corporate or security-focused VPN clients are configured to route all internet traffic through this tunnel. This is known as "Full Tunneling." While this enhances security for work data, it often breaks your ability to access local resources like printers, shared drives, or even the public internet if the VPN gateway itself has connectivity issues. The core problem arises because your computer no longer knows how to reach devices on your local subnet directly. Instead of sending packets to your home router, it sends them to the VPN server. If the VPN server does not have a route back to your local network, or if your ISP connection is somehow blocked by the tunnel configuration, you lose internet access entirely. This is distinct from a general network failure; your physical adapter works, but the logical path is misdirected. For users who frequently switch between remote work environments and local networks, this full-tunnel approach can be frustrating. It forces you to disconnect the VPN just to check a local file share or update a local printer driver. Understanding this behavior is the first step toward fixing the issue without compromising your security posture unnecessarily.

Configuring Split Tunneling

The most effective solution for most users is to enable Split Tunneling. This feature allows you to specify which traffic goes through the VPN and which traffic goes through your regular internet connection. To implement this, you must modify the settings within your specific VPN client software, as the exact location of these options varies by provider. If you are using a standard OpenVPN client or a similar open-source tool, look for the connection profile settings. You will often find an option labeled "Use only remote network," "Force all traffic," or "Route all traffic through VPN." Unchecking this box enables split tunneling. This tells Windows to send traffic destined for the company’s private IP ranges through the VPN, while all other traffic (like Google.com or YouTube) flows through your normal Ethernet or Wi-Fi adapter. For enterprise solutions, the process might differ slightly. If you are dealing with complex conflicts, such as those between ExpressVPN and a work client, you may need to adjust the metrics of your network adapters. However, in most cases, simply disabling the "force all traffic" setting in the client application resolves the immediate connectivity loss. For more information on handling service conflicts that might interfere with these settings, you can refer to our guide on Resolving Conflicts Between ExpressVPN and Work VPN Client on Windows.

Adjusting DNS Settings

Even if your routing is correct, you may still fail to load websites if the DNS resolution is broken. VPNs often push their own DNS servers to your machine. If these servers are unreachable or misconfigured, you will see errors like "DNS_PROBE_FINISHED_NO_INTERNET" despite having a valid IP connection. To fix this, open your VPN client’s advanced settings and look for DNS configuration options. You can choose to use the DNS servers provided by your ISP rather than the ones pushed by the VPN. Alternatively, you can manually set your preferred DNS to public resolvers like Google Public DNS (8.8.8.8) or Cloudflare (1.1.1.1). This ensures that name resolution works reliably regardless of the VPN’s internal state. After changing these settings, it is crucial to flush your DNS cache. Open Command Prompt as an administrator and run ipconfig /flushdns. Then, restart your web browser and test your connection. This step clears out any stale records that might be pointing to the broken VPN DNS servers.

Verifying Network Adapter Priorities

In some rare cases, the issue lies with the metric values of your network adapters. Windows uses a metric value to determine which interface to prioritize when multiple connections are active. A lower metric means higher priority. If your VPN adapter has a lower metric than your Wi-Fi or Ethernet adapter, Windows might attempt to route traffic through the VPN even if it should go elsewhere. You can check this by navigating to the Network Connections panel in Control Panel. Right-click your primary internet adapter (Wi-Fi or Ethernet) and select Properties. Double-click on Internet Protocol Version 4 (TCP/IPv4), then click Advanced. Note the metric value. Do the same for your VPN adapter. If the VPN adapter has a significantly lower number, consider increasing its metric or decreasing the primary adapter's metric, though most modern clients handle this automatically via split tunneling. If you are experiencing broader network isolation issues where one device cannot talk to another, ensure that your firewall settings are not blocking local traffic. A quick reference for wireless troubleshooting can be found here: Unable to Access One Device on Another Network: A Wireless Troubleshooting Guide.

Resetting the Network Stack

If the above steps do not resolve the issue, the underlying TCP/IP stack may be corrupted. This is common after repeated connection attempts or failed updates. You can reset the network stack by opening Command Prompt as Administrator and running the following commands sequentially:
netsh winsock reset
netsh int ip reset
ipconfig /release
ipconfig /renew
ipconfig /flushdns
Restart your computer after executing these commands. This forces Windows to rebuild its networking configuration from scratch, often clearing up stubborn routing loops or adapter states that persist despite correct client settings.

Frequently Asked Questions

Why does my internet work on mobile but not on Windows?

Mobile devices often use different background processes and may automatically bypass VPN restrictions for certain apps. Windows treats the VPN as a system-wide change, so if the routing table is corrupted, all applications will fail simultaneously. Resetting the Winsock catalog usually fixes this discrepancy.

Can I keep my VPN connected and still access local printers?

Yes, by enabling Split Tunneling. Ensure that the IP address range of your local network (e.g., 192.168.1.x) is excluded from the "Remote Network" routes in your VPN client settings. This allows traffic to flow locally while keeping other traffic encrypted.

What if the VPN client doesn't have a split tunneling option?

Some basic or older VPN clients lack this feature. In such cases, you may need to uninstall the current client and switch to a more robust alternative like OpenVPN Connect or Windscribe, which offer granular control over routing rules.

Does resetting the network stack delete my saved Wi-Fi passwords?

No, resetting the TCP/IP stack and Winsock catalog does not remove saved network profiles or passwords. It only resets the low-level networking protocols. Your saved Wi-Fi SSIDs and credentials remain intact after a reboot.

How do I know if my DNS is causing the issue?

Try pinging a public IP address like ping 8.8.8.8. If this succeeds but ping google.com fails, your DNS is the culprit. Check your VPN client’s DNS settings and switch to manual DNS entry to resolve the name lookup failure.

Latest News

How to Display Output of xterm Command in Terminal Screen using Cron

Resolve the inability to display xterm output in a terminal screen from cron by redirecting logs or using wall instead of insecure X11 workarounds.

Read More
Expose Local Server on VPS Preserving Real Client IPs (OS Level)

Resolve VPS logging showing only gateway IPs by configuring reverse proxies to forward real client addresses via X-Forwarded-For headers.

Read More
How to Clear Recent Files History in Linux without Deleting Actual Files?

Clear recent files history in Linux by deleting ~/.local/share/recently-used.xbel without removing the actual files.

Read More
Best HDD Copy Strategy: Manually Syncing and Rewriting Scratch

Resolve data drift between two 4TB hard drives by using rsync with the --delete flag to manually sync and rewrite scratch data for an exact mirror.

Read More
Understanding Bash Prompt Abbreviations: An Overview

Resolve repetitive typing errors by creating and persisting Bash aliases in the .bashrc file for improved command-line efficiency.

Read More
Free Tools and Methods to Log Real-Time Performance Details in Task Manager

Log real-time CPU and memory metrics to CSV files using Windows Performance Monitor Data Collector Sets to troubleshoot system slowness.

Read More
Contact Qatar Airways Customer Service: Phone Number, Help Center, and More

Resolve urgent Qatar Airways reservation issues like flight changes and baggage claims using the US phone number +1801-855-5905 or online self-service tools.

Read More
Windows 11: Alt Codes Displaying Wrong Characters - Solutions

Resolve Windows 11 Alt codes showing wrong characters by verifying the US keyboard layout and enabling Num Lock.

Read More
Run Programs with Elevated Privileges: A Comprehensive Guide

Eliminates the need to type sudo for frequent administrative tasks by configuring .bashrc aliases or functions.

Read More
Dynamically Changing Dates in Excel Formulas Using Cells

Eliminate manual date updates in Excel by using cell references to create dynamic formulas that automatically adjust calculations when input dates change.

Read More
Granting Edit Access to a Specific Excel Sheet in an Office 365 User Email ID-Based Login

Excel Online lacks native sheet-level permissions, so users must split workbooks or use worksheet protection to isolate edit access for specific tabs.

Read More
Creating Network Load on Local Wi-Fi from One PC

Generate sustained Wi-Fi bandwidth load from a single PC using a VM SFTP server to test router stability and throughput.

Read More
Changing the Default Editor for Batch Files in Windows 11's File Explorer

Resolve the issue of batch files opening in Notepad by changing the default editor to a preferred application like VS Code.

Read More
Gain WiFi Connection Minutes Before Losing it by Changing MAC Address

Bypass MAC address filtering to restore WiFi connectivity temporarily when a device is blocked by network administrators.

Read More
Photos Folders Turned Black: Troubleshooting Picture Applications on Windows

Resolve black screens in Windows Photos by resetting the app, updating graphics drivers, and repairing system files.

Read More
Troubleshooting High CPU Temperature Values: A Step-by-Step Guide

Resolve high CPU temperatures and thermal throttling by monitoring with Speedfan, cleaning dust from cooling components, and replacing degraded thermal paste.

Read More
Make cURL establish TLS connection with CA unknown

Resolve cURL TLS connection failures with unknown or self-signed certificates by using the --insecure flag to bypass CA validation.

Read More
Troubleshooting Incorrect Network Metrics Values in Grafana, Prometheus, InfluxDB, and Telegraf

Fix incorrect network metrics in Grafana, Prometheus, InfluxDB, and Telegraf by verifying interface selection, resolving unit mismatches, and handling counter resets.

Read More
Start Another Terminal Window (cmd.exe) Windows Repair/Troubleshoot

Provides step-by-step instructions to access the Windows Command Prompt via bootable media for advanced system repair and troubleshooting.

Read More
Thinkpad P1 Gen 6: Sudden Thunderbolt 3 Dock USB-C Charging Stopped Working

Resolve sudden Thunderbolt 3 dock USB-C charging and internet failure on ThinkPad P1 Gen 6 by updating firmware, resetting the dock, and adjusting power settings.

Read More
ASUS Windows 11 Laptop: Internet Connection Issue with Hotspot

Resolve ASUS Windows 11 laptop spinning wheel issue when connecting to mobile hotspot by resetting network stack, disabling IPv6, and adjusting power settings.

Read More
Developing iOS Project with Firebase: Logging in and Sending Push Notifications

Integrates Firebase to enable secure user authentication and push notifications in iOS applications.

Read More
Troubleshooting Bash Script with Suspected Issues of Spaces, Dashes, Filenames and Quoting

Resolve Bash script failures caused by word splitting, globbing, and special characters in filenames by applying proper quoting techniques.

Read More
Populating OneDrive Folder for Local Backup without Affecting Remote Files

Prevent OneDrive from deleting remote files during Windows reinstallation by unlinking the account or using symbolic links to isolate local data.

Read More
Force First Frame as Keyframe Without Re-encoding: A Quick Solution

Resolve inaccurate seeking and playback glitches by re-encoding video to ensure the first frame is a valid keyframe.

Read More
Find Information in Database Using WSL (Ubuntu) on Windows-10

Resolve database connection issues from WSL Ubuntu on Windows 10 by configuring client tools and network access to query remote or local servers.

Read More
Configuring a New Router with Different Networks: One Family, One Guest

Resolve IP conflicts and isolate guest traffic by configuring a second router with a distinct subnet via its WAN port.

Read More
Quickly Open Multiple Stock Websites with a Single Command

Solve the problem of manually opening multiple stock research websites by creating a single command to launch them simultaneously on Windows, macOS, or Linux.

Read More
Improved Adobe Acrobat Search Experience: Access Advanced Search with Ease

Access advanced search filters like case sensitivity and regex in Adobe Acrobat by clicking More Options in the Find bar.

Read More
Port Forwarding VM via OpenVPN: A Comprehensive Guide

Configure OpenVPN server and iptables to forward specific ports from VPN clients to a virtual machine's internal IP address.

Read More
Understanding Partitions in the 1980s: A Look Back at MS-DOS and Master Boot Record

Explains how the Master Boot Record and partition table enabled MS-DOS to manage multiple disk volumes on a single physical drive.

Read More
Windows 10 Enterprise: Keyboard Not Detected in Managed Organization with Admin Privileges

Resolve Windows 10 Enterprise keyboard detection failures caused by Group Policy restrictions, driver corruption, or USB enumeration errors.

Read More
Can't Find x86_64 Versions of Applications on MacOS arm64 (M1)

Resolve missing x86_64 app issues on M1 Macs by installing Rosetta 2 and reinstalling apps as universal binaries.

Read More
How to Hide Installation Source for an Android App

Manage Android app installation source visibility by using USB transfers or file managers to reduce browser traces and isolate data via work profiles.

Read More
Connecting Momentus 4200.2 ST9808210A Hard Drive via USB Cable

Resolve inability to access Seagate Momentus 4200.2 ST9808210A hard drive by connecting it via USB using a compatible SATA-to-USB adapter and configuring the disk in Windows.

Read More