Fix: VPN Connects but Cannot Reach Office Servers or Printers (DNS, Routes, Split Tunnel)
The VPN client says Connected, yet the mapped drive to the file server shows a red X, the office printer is unreachable, and Remote Desktop to the accounting workstation times out. Sometimes the server answers by IP address but not by name; sometimes nothing on the office network answers while the internet works normally.
This affects remote and hybrid staff on Cisco Meraki Client VPN or Cisco Secure Client (AnyConnect), Windows Always On VPN, SonicWall, Fortinet, UniFi Teleport, and WireGuard alike. The tunnel is up; the problem is what the laptop does with it: name resolution, routing, or a firewall rule.
Why This Happens
DNS is answering from the wrong server
Office resources have names such as fs01.corp.local that only the office domain controller can resolve. After the VPN connects, Windows may keep using the home router or public DNS, either because the VPN profile does not push internal DNS servers or because the home adapter has a lower interface metric. The lookup fails even though a ping to the server’s IP works. Short names like FS01 also need a DNS suffix (corp.local), which the VPN must supply.
Split tunnel routes do not include the destination
Most business VPNs use split tunneling: only traffic for specific office subnets goes through the tunnel. If the server or printer sits on a subnet missing from the route list (a new VLAN, a second office, a printer VLAN added last year), that traffic goes to the home router and dies.
Subnet overlap
Home routers hand out 192.168.1.x or 192.168.0.x by default. If the office uses the same range, Windows sends office traffic to the local network because the directly connected route wins.
Firewall and profile rules
A firewall rule blocking the VPN subnet from the server VLAN, or a Windows Firewall rule on the server scoped to the local subnet, produces the same symptom. Printers often sit on a VLAN that permits printing from the office LAN only.
How to Fix It
Method 1: Diagnose in five commands (any user)
- With the VPN connected, run the following in Windows Terminal:
ipconfig /all
route print -4
nslookup fs01.corp.local
ping 10.10.20.5
Test-NetConnection fs01.corp.local -Port 445
- In
ipconfig /all, the VPN adapter should list your office DNS servers (for example10.10.10.10) and a Connection-specific DNS Suffix of your internal domain. If it shows your home router or 8.8.8.8, the problem is DNS. - In
route print, confirm a route to the server’s subnet (for example10.10.20.0 255.255.255.0) via the VPN adapter. If it is missing, the problem is routing. - If ping to the IP works but
nslookupfails, it is DNS. If ping fails with the route present, it is a firewall or the server.
Method 2: Fix DNS
- Meraki Client VPN: go to Security & SD-WAN > Configure > Client VPN and set Custom nameservers to your internal DNS servers (domain controllers), not a public resolver.
- Cisco Secure Client (AnyConnect): set DNS nameservers to internal DNS and DNS suffix to
corp.localin the Meraki AnyConnect settings or ASA/FTD group policy. - Windows Always On VPN: add a DomainNameInformation element with DnsSuffix and DnsServers to the ProfileXML.
- If the VPN adapter has correct DNS but Windows still uses the home resolver, raise its priority with
Set-NetIPInterface -InterfaceAlias "Corp VPN" -InterfaceMetric 5(lower wins), then runipconfig /flushdns.
Method 3: Fix routes and split tunnel
- Meraki Client VPN (L2TP/IPsec): if split tunneling was enabled in the adapter’s IPv4 properties, add each office subnet:
Add-VpnConnectionRoute -ConnectionName "Corp VPN" -DestinationPrefix 10.10.20.0/24. - Cisco Secure Client: add every internal subnet to the split-tunnel include list on the firewall; clients pull the new list on reconnect.
- UniFi Teleport or WireGuard: under Settings > VPN, confirm the allowed networks include the server and printer VLANs; for WireGuard,
AllowedIPsmust list each subnet.
Method 4: Resolve subnet overlap
If the client’s local subnet in ipconfig matches an office subnet, change the home router’s LAN to something unusual such as 192.168.87.0/24. The durable fix is to move the office off 192.168.0.0/24 and 192.168.1.0/24 to a 10.x.x.x range during a maintenance window.
Method 5: Check firewall rules
- Meraki: under Security & SD-WAN > Configure > Firewall, confirm no Layer 3 rule denies the client VPN subnet to the server or printer VLAN. If the resource is in another office, that VLAN must be In VPN under Site-to-site VPN.
- On the Windows server, confirm the File and Printer Sharing (SMB-In) rule in Windows Defender Firewall allows the VPN subnet; rules scoped to Local subnet block remote clients.
How to Verify the Fix Worked
nslookup fs01andnslookup fs01.corp.localboth return the internal IP from the internal DNS server.route printshows every office subnet routed through the VPN adapter.- Mapped drives reconnect, and
Test-NetConnectionto port 445 reports TcpTestSucceeded : True. - Printing and Remote Desktop by name both work, and the fix survives a reboot and a fresh VPN connection.
If It Still Isn’t Working
Check whether the tunnel passes traffic. Meraki’s Event log filtered to Client VPN shows the connection and assigned IP; a connection with no traffic usually means a local security suite is blocking the tunnel adapter.
Check the Windows network profile. If Get-NetConnectionProfile shows the VPN adapter as Public, domain firewall rules may not apply; set it to Private if it is not domain-authenticated.
Check MTU. Fragmentation can make SMB and RDP hang while ping works. Test with ping -f -l 1400 10.10.20.5, lower the size until it succeeds, and set the adapter MTU to match with netsh interface ipv4 set subinterface.
Printers found by NetBIOS or mDNS never appear over a routed VPN; add them by IP or DNS name. If DNS, routes, and firewall rules all check out and the resource still does not answer, the fault is the server or printer itself: stop adjusting the VPN and check the device on site or through your RMM.
How Capital Techies Handles This for Managed Clients
Capital Techies standardizes remote access on Cisco Meraki with Cisco Secure Client deployed through Intune, with internal DNS, DNS suffix, and every office subnet in the split-tunnel list defined centrally, so a new VLAN is added once in the dashboard rather than on every laptop. Office networks use non-default address ranges to prevent home subnet overlap, VPN firewall rules are documented and reviewed, and our RMM alerts when a managed laptop’s VPN adapter is misconfigured.
Reliable remote access supports productivity and the MFA-protected, logged access controls that cyber insurance, CMMC, and HIPAA expect. If your team fights the VPN every morning, talk to Capital Techies about managed networking.
Frequently Asked Questions
Why can I ping the server by IP but not open the shared drive by name?
Your laptop is using the wrong DNS server, or the VPN did not supply an internal DNS suffix, so the name does not resolve. Set the VPN profile to push internal DNS servers and the domain suffix, then reconnect and flush the DNS cache.
Is split tunneling less secure than a full tunnel?
Split tunneling sends only office-bound traffic through the VPN, so internet traffic bypasses the office firewall. That is acceptable when laptops run managed endpoint protection such as SentinelOne or Microsoft Defender and web filtering, and it improves Teams and Zoom quality. Compliance frameworks generally accept it with documented endpoint controls.
Why does the VPN work at a coffee shop but not from home?
Your home router uses the same private subnet as the office, most often 192.168.1.0/24, so Windows sends office traffic to the local network instead of the tunnel. Change the home router’s LAN range, or move the office to a less common range.