All guides
Windows Networking

VPN Blocks Local Network Devices on Windows 11? Safe Fixes and Tests

If a VPN blocks local network devices on Windows 11, use this decision tree to separate routing, VPN privacy, discovery, firewall, and device problems before changing settings.

VPN Blocks Local Network Devices on Windows 11? Safe Fixes and Tests

If a VPN blocks local network devices on Windows 11, start by disconnecting the VPN and testing the same device by its IP address. If the device works with the VPN off but fails with it on, the most likely categories are the VPN app's local-network or kill-switch policy, a route selected by the VPN, or a firewall/profile mismatch. Turn on the VPN app's Allow LAN connections, Local network sharing, or equivalent setting first. Do not disable Windows Firewall globally or add a permanent route until a test shows that either is relevant.

This guide covers printers, network-attached storage (NAS), shared folders, smart-home devices, media servers, and other devices on the same home or office network. If every internet destination fails when the VPN connects, use the Windows 11 VPN no-internet diagnosis instead of treating a local-device symptom as a routing failure. It is written for Windows 11, but the same concepts can apply to Windows 10. A work-managed VPN may intentionally block local access; in that case, the VPN administrator's policy takes precedence.

Quick answer: Test the target by IP with the VPN disconnected and connected. If only the VPN-connected test fails, enable your VPN client's LAN-access option and reconnect. If the IP works but the device name or Network view does not, troubleshoot discovery or name resolution instead of changing routes. Keep the kill switch enabled unless you knowingly accept its privacy trade-off.

What “blocked” can mean

“Local network device” is not one protocol. Opening \\server\share, printing to a Wi-Fi printer, browsing Network in File Explorer, finding a media server, and opening a device's web console can use different ports, discovery methods, and name-resolution mechanisms. A failed discovery list therefore does not prove that the VPN is blocking every local connection.

Windows uses routes to decide which interface carries outbound traffic. Microsoft describes a split tunnel as a configuration in which specified routes use the VPN and other traffic uses the physical interface. In a force tunnel, the VPN receives the default routes, so traffic generally follows the VPN unless a more specific route wins. 1 A consumer VPN app may implement the same practical choice with a setting named Allow LAN connections, Local network sharing, Stay invisible on LAN, or Invisibility on LAN.

The distinction matters:

  • IP address fails only while the VPN is connected: investigate the VPN's LAN policy, kill switch, route, or firewall integration.
  • IP address works, but printer-name or nas-name fails: investigate DNS, NetBIOS, or the device's discovery protocol. Microsoft notes that a successful IP ping combined with a failed name ping can indicate name-resolution trouble. 2
  • The device works even with the VPN connected, but it is absent from File Explorer's Network view: discovery may be the only failing layer. Windows documents separate requirements for a Private network, Network discovery, File and printer sharing, and related services. 3
  • The device fails with the VPN disconnected too: the VPN may not be the cause. Check the target device, Wi-Fi isolation, subnet, Windows profile, and firewall first.

Symptom decision tree

Use one known target and record its local IPv4 address, such as 192.168.1.50. Replace that example with the address assigned by your router. If you do not know the address, check the target device's network page or the router's client list.

Start
  |
  |-- Does the device work with the VPN disconnected?
  |       |
  |       |-- No --> Test the local network, target device, profile, and firewall.
  |       |
  |       |-- Yes --> Connect the VPN and test the same target by IP.
  |                         |
  |                         |-- IP fails --> Check VPN LAN policy / kill switch, then routes.
  |                         |
  |                         |-- IP works --> Test the hostname and discovery separately.
  |                                           |
  |                                           |-- Name fails --> Check DNS / NetBIOS / device naming.
  |                                           |
  |                                           |-- Name works, Network view fails --> Check discovery.

The minimum comparison test

In Windows Terminal or Command Prompt, run:

ping 192.168.1.50
ping printer-name
route print

Run the three commands first with the VPN disconnected and again with it connected. ping tests IP-level reachability; it does not prove that SMB, printing, HTTP, or another application protocol is allowed. Microsoft documents that ping can test both an IP address and a computer name, and that an IP success/name failure pattern can point to name resolution. 2 route print displays the local IP routing table, which is the table Windows uses to select a path. 4

A device may ignore ICMP ping. Treat a timeout as evidence that the ping test did not receive a reply, not as proof that the device is powered off or that the VPN is the blocker. For a printer or NAS, also test the actual service—for example, its web console or a known share—using the device's documented address and port.

Safe, ordered fixes

Work from the least disruptive change to the most disruptive. After each step, repeat the same IP and application test. That makes the result useful and makes rollback straightforward.

1. Confirm that the VPN changes the result

Disconnect the VPN, wait for the normal network connection to return, and test the device. Reconnect to the VPN and test the same IP address, not a newly discovered device name. Also verify that the target device is on the same local network and that another computer or phone can reach it.

What this test proves: If the connection changes only when the VPN state changes, the VPN path or policy is implicated. It does not identify whether the cause is routing, a kill switch, a local-LAN toggle, a Windows firewall rule, or discovery.

Rollback: None. This is a comparison, not a configuration change.

2. Turn on the VPN client's local-network access option

Open the VPN app's settings and look for a control with wording such as:

  • Allow LAN connections
  • Local network sharing
  • Allow local network access
  • Stay invisible on LAN or Invisibility on LAN

Use the option that permits local connections. The name and location vary by provider and app version. For example, Proton's Windows path is Settings → Connection → Advanced settings → Allow LAN connections; its documentation says that enabled LAN connections are not routed through the VPN tunnel and notes that the VPN connection may need to be restarted for a change to take effect. 5 NordVPN's Windows printer guidance says to turn off Stay invisible on LAN, then reconnect or retest. 6

If your provider's app has both LAN access and split tunneling, start with LAN access. Use split tunneling only when you understand whether it excludes apps or routes and whether that is compatible with your security requirements. A work VPN may not expose this control because the administrator has intentionally enforced a policy.

What this test proves: If the device becomes reachable after the setting is changed and the VPN connection is restarted, the VPN's local-network policy was the immediate cause. If nothing changes, continue; the control may not apply to the specific protocol, or another layer may still block it.

Security and rollback warning: Permitting LAN traffic allows your PC to communicate with devices on the local network outside the VPN tunnel. That is often necessary for a home printer or NAS, but it weakens the isolation that a strict VPN policy may provide on an untrusted network. Turn the option back off before using an unfamiliar public Wi-Fi network if local isolation is important to you. Reconnect the VPN after changing the setting so the old policy is not still active.

3. Check the VPN kill switch and “block outside VPN” behavior

A kill switch is designed to prevent traffic from leaving outside the VPN when the tunnel is unavailable or when policy requires VPN-only traffic. Depending on the provider, that can also prevent access to a local printer, NAS, or router. Do not assume a kill switch is defective merely because it blocks local traffic.

Look for settings such as Kill Switch, Internet Kill Switch, Block connections without VPN, Always-on, or Block LAN traffic. Prefer a provider's documented LAN exception over disabling the kill switch. If you briefly disable a setting as a diagnostic, do so only on a trusted network, record the original value, test once, and restore it immediately. NordVPN specifically lists third-party firewall interference and its real-time protection feature as possible factors in Wi-Fi printer troubleshooting. 6

What this test proves: If the local device works only after the VPN-only blocking behavior is relaxed, the policy—not necessarily Windows networking—is responsible. If the device still fails, restore the protection setting and continue.

Rollback warning: Restore the kill switch and privacy protections before using the PC on public Wi-Fi. Do not leave a security feature disabled as a permanent “fix” without understanding the traffic-leak and local-network exposure trade-off.

4. Separate direct access from discovery

Try the device's direct address:

  • For a printer, open Settings → Bluetooth & devices → Printers & scanners and use the printer's IP when the vendor supports manual addition.
  • For a NAS or Windows share, test \\192.168.1.50\share instead of \\nas-name\share.
  • For a device web console, open http://192.168.1.50 or the HTTPS address documented by the manufacturer.

If direct IP access works while the device is missing from Network or its hostname fails, do not change the VPN route yet. Windows' file-sharing guidance says the computers should be on the same network, the Wi-Fi profile should be Private, and Network discovery plus File and printer sharing should be enabled for the relevant private network. 3

To review the profile, open Settings → Network & internet → Wi-Fi or Ethernet, select the connected network, and confirm Network profile type: Private only when the network is trusted. Then open Settings → Network & internet → Advanced network settings → Advanced sharing settings and review Network discovery and File and printer sharing under Private networks.

Microsoft also lists the following services for Windows file-sharing discovery: Function Discovery Provider Host, Function Discovery Resource Publication, SSDP Discovery, and UPnP Device Host. 3 A device can still be reachable by IP even when discovery is unavailable.

What this test proves: Direct-IP success isolates the problem to naming or discovery rather than basic IP reachability. It does not prove that every application protocol is allowed.

Rollback warning: Do not set an untrusted public network to Private merely to make devices visible. A Private profile permits more local discovery and sharing behavior. Change it only for a network you trust.

5. Review Windows Firewall without turning it off globally

Windows Firewall filters traffic by criteria such as IP addresses, ports, and application paths. Microsoft recommends allowing a needed app through the firewall instead of turning the firewall off, and warns that disabling it can make the device more vulnerable. 7

Open Windows Security → Firewall & network protection. Confirm which profile is active. If a printer, NAS utility, or vendor discovery tool is blocked, use Allow an app through firewall and select the appropriate app for the trusted Private profile when available. For file sharing, review the built-in Network Discovery and File and Printer Sharing rules rather than creating broad “allow any” rules. On managed PCs, organization policy may prevent changes; contact the administrator instead of trying to bypass policy.

A firewall test can be narrow and temporary: change one relevant rule or allow one known application, retest, and undo the change if it does not help. Do not expose SMB or administrative services to the Internet as a workaround. Microsoft documents that firewall rules can create application, port, protocol, and inbound/outbound exceptions, and that incorrect advanced-rule changes can reduce security or stop applications from working. 8

What this test proves: If a narrowly scoped rule change restores access, the firewall policy was blocking the relevant traffic. If there is no change, restore the rule and investigate the VPN route or target device.

Rollback warning: Record the rule, profile, application path, and original state before changing them. Remove temporary exceptions after testing. Never use “turn off firewall” as a final diagnosis or permanent repair.

6. Inspect routing before adding or deleting routes

With the VPN disconnected and connected, compare the output of:

route print

Look for the target subnet. A common home subnet is 192.168.1.0 with mask 255.255.255.0, but your network may use another range. Also compare the default routes and the interface associated with the target subnet. Microsoft explains that the most specific matching route is selected, and that a lower metric wins when routes are otherwise comparable. 4

If the local subnet route disappears, points to the VPN adapter, or is superseded by a VPN policy, the VPN client or VPN profile may be enforcing a route choice. For Windows built-in or organization-managed VPNs, routing is normally configured in the VPN profile or management policy. Microsoft documents route inclusion and exclusion settings for VPN profiles; changing a managed profile may require the VPN administrator. 1

Avoid commands such as route add, route delete, or persistent routes unless you are the network administrator and have a documented gateway, interface, destination, and rollback plan. A guessed route can send traffic to the wrong next hop, affect access to the work network, or persist after a reboot. The safest consumer fix is usually the VPN provider's LAN-access option or a provider-supported split-tunnel configuration, not a hand-edited persistent route.

What this test proves: The comparison shows which path Windows is selecting for the target subnet. It does not by itself prove that packets are being dropped by a firewall or that the target device is accepting the service.

Rollback warning: Save the original route print output before any administrative route change. Prefer removing only the exact temporary route you added; do not flush the whole routing table.

7. Restart the affected service, VPN app, and PC; then update

After changing VPN LAN policy, fully disconnect and reconnect the VPN. Restart the affected application. For a Windows printer, restart Print Spooler only if print discovery or queued jobs are the failing layer; NordVPN includes that step in its printer troubleshooting sequence. 6 Then restart Windows and check Settings → Windows Update → Check for updates. Also update the VPN client and the device's firmware or driver through the vendor's official channel.

What this test proves: A clean reconnect can apply a policy change and rebuild the VPN adapter state. It does not identify the original cause if the issue disappears after a restart.

Rollback: Updates and service restarts are generally reversible only through the vendor's uninstall or rollback process. Create a restore point or note the current VPN version before a major client update if the PC is business-critical.

8. Use Windows Network reset only as a last resort

Microsoft says Network reset should be the last step. In Windows 11, open Settings → Network & internet → Advanced network settings → Network reset → Reset now. Microsoft explains that the process removes installed network adapters and their settings, then reinstalls the adapters and returns settings to defaults after restart. 9

Before selecting Reset now, save VPN profiles, note Wi-Fi credentials, export or document any custom proxy or DNS settings, and confirm that you can reinstall the VPN client. Microsoft warns that Network reset may require reinstalling and configuring VPN clients, Hyper-V virtual switches, and other networking software. It may also set known connections to a Public profile, which makes the PC less discoverable. 9

What this test proves: If the problem is caused by corrupted or inconsistent adapter configuration, a reset may remove that state. It does not correct a provider policy that intentionally blocks LAN access, a router's client-isolation setting, or a powered-off target device.

Rollback warning: Network reset is disruptive and is not a targeted VPN fix. It can remove custom configuration and require reinstallation. Treat it as a recovery step, not a routine troubleshooting shortcut.

What each test proves at a glance

Test If it succeeds If it fails What it does not prove
Same target with VPN off and on The VPN state is relevant if the result changes The VPN may not be the cause Which VPN component is responsible
ping by IP Basic ICMP reachability to the target, if the target replies No ICMP reply was received That SMB, printing, or HTTP is allowed
Ping by hostname Name resolved and target replied Could be name resolution, discovery, or ICMP filtering That every name-resolution method is broken
Direct IP application test The application can reach the target by address The service, route, firewall, or target may be failing That discovery or hostname access will work
route print comparison Shows the local route selection and interface Shows a route difference worth investigating That the chosen path permits the service
Network discovery toggle Can restore visibility in File Explorer for supported discovery Discovery may remain blocked or unsupported That direct IP routing is fixed
Narrow firewall exception Points to a Windows firewall rule or profile issue The firewall rule may not be the blocker That disabling the firewall is safe

Common mistakes to avoid

Disabling every security feature at once

If you turn off the VPN kill switch, Windows Firewall, antivirus, and network profile protection together, a successful test cannot tell you which change mattered. Change one setting at a time and restore it when the test ends.

Treating “Network” in File Explorer as a connectivity test

Discovery is a separate layer. Test a known IP and a known service first. If the device is reachable by IP, the VPN may not be blocking the device; it may be blocking or changing discovery traffic.

Adding a route from a random tutorial

A route must match the target subnet, mask, gateway, interface, and policy. A route that works on another home network may be wrong on yours. Managed VPN profiles may also overwrite it.

Making a public network Private

A Private profile is appropriate only for a trusted home or office network. On hotel, airport, café, or other shared Wi-Fi, keep the profile Public and ask the VPN provider or administrator whether local access is appropriate.

Assuming every VPN app uses Windows' built-in VPN settings

A consumer VPN app may install its own adapter, firewall rules, DNS handling, kill switch, and split-tunnel logic. Windows Settings → Network & internet → VPN can show the connection, but the provider's app remains the source of truth for provider-specific policy controls. Microsoft's Windows VPN page documents the built-in profile and connection settings. 10

FAQ

Why does my printer disappear only when the VPN is on?

The VPN may be applying an invisibility, LAN-blocking, kill-switch, or split-tunnel policy. First test the printer by IP with the VPN off and on. Then use the VPN app's documented LAN-access option and reconnect. If direct IP printing works but automatic discovery does not, add the printer by IP when supported rather than changing Windows routes. NordVPN's Windows guidance uses these same categories for printer troubleshooting. 6

Does split tunneling always fix local devices?

No. Split tunneling controls routing, while a local device can still be affected by firewall rules, device isolation, discovery, name resolution, or an app-specific kill switch. Microsoft describes split tunneling as route selection, not as a guarantee that every local protocol will work. 1

Should I disable the VPN kill switch?

Not as a default fix. A kill switch can be an intentional privacy control. If you test with it disabled on a trusted network, restore it afterward and decide whether the VPN provider offers a narrower LAN exception. If this is a work VPN, ask the administrator before changing it.

Why can I open a NAS by IP but not by name?

That pattern points toward name resolution or discovery rather than basic IP reachability. Microsoft documents the same diagnostic distinction for ping: IP success with name failure can indicate a name-resolution problem. 2 Use the NAS's supported hostname, DNS, NetBIOS, or vendor discovery method, and check whether the VPN changes DNS behavior.

Does Windows Network reset remove my VPN?

It can remove network adapters and their settings, and Microsoft warns that you may need to reinstall and configure VPN client software and virtual switches afterward. 9 Save the VPN installer, profile, credentials, and any organization instructions before resetting.

Can a router block local devices even when the VPN is off?

Yes. Guest Wi-Fi, wireless client isolation, different VLANs, a changed subnet, a sleeping device, or a device firewall can prevent local access. That is why the first comparison test uses the VPN disconnected and the same target IP.

Is it safe to allow LAN connections on a VPN?

It depends on the network. Allowing LAN connections lets the PC communicate with local devices outside the VPN tunnel; Proton documents this behavior for its Windows app. 5 It may be reasonable on a trusted home network and inappropriate on an untrusted shared network. Use the VPN provider's explanation and your organization's policy to make the decision.

When should I contact the VPN provider or IT administrator?

Contact them when the issue follows the VPN across multiple local devices, when the LAN setting is missing or locked, when a managed profile re-adds the blocking route, or when the provider's documented setting does not change the result. Provide the VPN app version, Windows build, connection protocol, target subnet, the VPN-off/VPN-on test results, and sanitized route print output. Do not send credentials or private keys.

Related SecureStack Hub guides

References

Accuracy note: VPN features, prices, device settings, and network policies can change. Check the relevant official documentation for your device, provider, bank, or network before relying on a recommendation.