Skip to main content
LEARN / NETWORKING / REMOTE ACCESS

Connected.
But can you get through?

A VPN can authenticate successfully and still fail to deliver the application you need. Follow the packet from a remote laptop through the tunnel, understand the routing and DNS decisions, and learn how to isolate failures without removing security protections.

Fundamentals → IntermediateInteractive Packet-Path ExplorerNetwork+ / Security+ relevance
Start the lesson 01 / Learn 02 / Practice
START HERE / LEARNING OBJECTIVES

Learn to reason across the whole path.

Instead of memorizing “VPN fixes,” build an accurate mental model of what the client is actually doing. By the end of this guide, you should be able to:

01

Distinguish the public underlay from the encrypted VPN tunnel and the private network behind it.

02

Explain how VPN authentication, encryption, routing, DNS and authorization solve different problems.

03

Predict whether a packet uses the VPN or local network under split and full tunneling.

04

Investigate why an established VPN tunnel might still leave an internal application unreachable.

01 / UNDERLAY & OVERLAY

One network carries another.

Your laptop starts with a normal physical network connection—home Wi-Fi, a hotel Ethernet link, or mobile data. That's the underlay. A VPN client establishes a protected session to a gateway across that network. The logical tunnel is the overlay; protected traffic is encapsulated for transport across the underlay.

The gateway's public address is reached through the ordinary internet route—the VPN doesn't magically bypass your ISP. After the tunnel is established, selected destination traffic is carried through it. The VPN may assign a virtual IP, but that does not guarantee permission to reach every internal subnet.

Privacy is not authorization.

Encryption protects traffic in transit. Identity checks establish who is connecting. Firewall and application rules still decide which resources that identity may reach. A VPN isn't a replacement for least privilege.

02 / VPN DESIGN & PROTOCOLS

Not every VPN builds its tunnel the same way.

REMOTE ACCESS

One device → Organization

A client authenticates to a VPN service and receives routes, name-resolution settings and access policy. It may use a TLS-based or IPsec-based solution, depending on the platform.

SITE-TO-SITE

Network → Network

Gateways establish a protected path between sites, often using IPsec. Individual endpoints may not run VPN clients; the edge devices handle encapsulation and routing.

IPSEC + IKEv2

Network-layer protection

IKEv2 negotiates/authenticates security associations and keys; ESP carries protected IP traffic. Common NAT traversal uses UDP 4500, and IKE typically starts on UDP 500.

TLS-BASED VPN

Transport-oriented remote access

Many products establish secure remote access over TLS, sometimes with separate data transport and vendor-specific behavior. “SSL VPN” is a common product label; obsolete SSL versions aren't a recommendation.

Modern products also use protocols such as WireGuard, which has its own handshake and cryptographic design. Don't assume every VPN uses TCP 443, UDP 500/4500, or the same kind of tunnel. Confirm the actual deployed product and approved profile.

03 / SPLIT VS FULL TUNNEL

Where should this packet go?

SPLIT TUNNEL

Selected traffic enters VPN

Specific private destinations (for example, 10.20.0.0/16) use the tunnel. Ordinary internet traffic keeps its local default route.

10.20.0.0/16 → VPN
0.0.0.0/0 → Wi-Fi
FULL / FORCE TUNNEL

Default path enters VPN

The VPN supplies a default route so traffic not covered by more-specific routes follows the tunnel. Local on-link and explicitly excluded destinations can still use other interfaces, depending on policy.

0.0.0.0/0 → VPN
192.168.1.0/24 → Wi-Fi

Longest-prefix match matters: a route to 10.20.0.0/16 wins over the 0.0.0.0/0 default route for a packet to 10.20.14.30. If two otherwise comparable routes have the same prefix, metrics and platform policy help choose between them.

Split tunneling isn't automatically insecure and full tunneling isn't automatically perfect. Each design has tradeoffs in inspection, performance, internet egress, endpoint security and policy enforcement. Organizations sometimes use application-specific exclusions or more nuanced routing than these simple diagrams.

04 / PRIVATE NAME RESOLUTION

A route to an IP is not a route to a name.

VPN clients often need internal DNS servers and rules for internal namespaces such as corp.example. Windows may use a Name Resolution Policy Table (NRPT), DNS suffixes, adapter preferences and other system policies to choose the resolver. The behavior varies by client and configuration.

Two independent questions

Can I resolve files.corp.example to the intended internal address? And does the resulting packet have a permitted path to that address? Successful DNS alone doesn't prove routing, and successful IP access doesn't prove name resolution.

If a public resolver answers “name not found” for a private-only hostname, changing the global DNS settings at random could disrupt other workloads. Compare the approved VPN DNS policy, internal DNS server reachability, suffix/NRPT behavior and the actual query response before changing anything.

05 / INTERACTIVE PACKET PATH

Trace the route before you diagnose the failure.

Connect or disconnect the simulated VPN, change its routing mode, and toggle the corporate route or internal DNS. Select a destination to see the chosen egress and what might still block the application.

REMOTE-LT01 / PACKET PATH EXPLORERILLUSTRATIVE WINDOWS-LIKE IPv4 ROUTING · NO REAL CONNECTION
CHOOSE DESTINATION
REMOTE CLIENT192.168.1.48Wi-Fi / optional virtual adapter
→ENCAPSULATED VPN→
DESTINATION10.20.14.30Private service / TCP 445
SIMULATED ROUTE TABLE / SELECTED PREFIX 10.20.0.0/16
DestinationEgressState
192.168.1.0/24Wi-FiActive
10.20.0.0/16VPN tunnelActive
0.0.0.0/0Wi-FiActive
ROUTE / NAME-RESOLUTION PREREQUISITES PRESENTfiles.corp.example

Egress: VPN tunnel. The specific corporate /16 wins over a /0 default route.

DNS: Internal name resolves to 10.20.14.30 (simulated).

This model has a plausible route and name-resolution path. Actual service access still depends on gateway rules, return routes, host firewall, authentication and application health.

Training model: no packets are sent. An actual VPN client can install more-specific exceptions, routes with competing metrics, traffic filters, NRPT rules and IPv6 routes. Example addresses and names are fictional or reserved for documentation.

06 / RECOGNIZE THE FAILURE STAGE

A VPN failure is not one single failure.

01
01 / LOCAL CONNECTIVITY

Can the client reach the internet?

Validate Wi-Fi/Ethernet, the local gateway and ordinary connectivity before blaming the VPN.

02
02 / ENDPOINT DISCOVERY

Can it find and reach the VPN gateway?

Verify the approved hostname, DNS answer, protocol and listener. A timeout before authentication is not evidence of a bad password.

03
03 / AUTHENTICATION

Did the user or device satisfy the policy?

Check certificates, credentials, MFA, device posture and gateway logs without weakening access requirements.

04
04 / TUNNEL ESTABLISHMENT

Did the security association/session come up?

Look at the client status and assigned virtual address. A CONNECTED indicator isn't an end-to-end application test.

05
05 / ROUTE & NAME RESOLUTION

Where does the client send application traffic?

Compare routes and interface metrics, then internal DNS and name-resolution policy separately.

06
06 / DESTINATION ACCESS

Can the actual service respond?

Check host firewalls, VPN access rules, return routes, application ports and service health; verify the original workflow.

One more real-world trap: overlapping subnets.

If a user's home LAN is 192.168.1.0/24 and the office network also uses 192.168.1.0/24, a local on-link route can keep packets from reaching the corporate site over VPN. Diagnose route preference and coordinate an approved network/VPN design change; don't assume a tunnel problem.

MTU and path-MTU: encapsulation adds overhead. Some networks may pass small packets but struggle with larger packets, particularly when PMTU discovery is blocked. Diagnose size-dependent symptoms and use approved product-specific changes rather than changing MTU indiscriminately.

07 / READ-ONLY WINDOWS DIAGNOSTICS

Gather evidence in layers.

These commands are illustrative and read-only. Some apply specifically to the built-in Windows VPN client, while third-party VPNs use their own diagnostic tools and logs.

01
Get-NetIPConfiguration

Inspect interfaces, addresses, gateways and DNS settings. Third-party VPN adapters may appear differently.

02
Get-NetRoute -AddressFamily IPv4 | Sort-Object DestinationPrefix

Inspect destination prefixes, interface indices and route metrics. Compare changes after connecting.

03
route print -4

Cross-check the effective IPv4 route table including on-link routes and VPN entries.

04
Get-DnsClientServerAddress -AddressFamily IPv4

Inspect which DNS servers are configured on each interface.

05
Get-DnsClientNrptPolicy

For Windows environments using NRPT, inspect namespace-specific name-resolution rules.

06
Resolve-DnsName files.corp.example

Test the private hostname (replace this illustrative name with an authorized real target).

07
Test-NetConnection 10.20.14.30 -Port 445

Check TCP reachability to an authorized internal file server; it does not prove SMB authentication.

08
Get-VpnConnection

For supported built-in Windows VPN profiles, inspect the configured endpoint and split-tunneling setting.

EXAMPLE / VERIFY A ROUTE, THEN DNS, THEN THE SERVICE
# Illustrative: use only authorized internal targets
route print -4
Resolve-DnsName files.corp.example
Test-NetConnection 10.20.14.30 -Port 445
# Inspect VPN client and gateway logs as appropriate

For a remote file share, a successful TCP test proves connectivity to the specific port—not share permissions, SMB negotiation, application authorization, or the user's final workflow. Always verify at the layer where the original symptom occurred.

08 / QUICK RECALL

Explain why, not just what.

01The VPN says CONNECTED, but files.corp.example fails to resolve. Is the tunnel broken?

Not necessarily. An authenticated tunnel can be healthy while the client uses a public resolver or lacks an internal DNS policy. Check the DNS query path, response and VPN name-resolution rules independently of the data route.

02A split-tunnel user can reach 10.20.14.30 by IP but not by hostname. What's the first likely distinction?

Routing to the private IP works, but DNS or name-resolution policy may be wrong. Compare Resolve-DnsName and the actual DNS servers/policy; do not replace the entire route table.

03Will a full-tunnel default route override a local 192.168.1.0/24 route?

Usually not. Longest-prefix matching prefers a specific /24 over a /0 default. VPN client traffic filters and routes can change the result. Examine the actual client route table rather than assuming.

04Why might IPsec work from one network but not another?

Possible causes include an inaccessible gateway, blocked UDP 500/4500 (for common IKEv2/NAT-T deployments), NAT/firewall behavior, authentication differences, MTU/path-MTU problems, or differing client policies. Use protocol-specific logs.

05Does a successful Test-NetConnection to port 443 prove a VPN is authenticated?

No. It tests TCP reachability to the specified endpoint and port. TLS validation, MFA, tunnel establishment, routing and application authorization require separate evidence.

06Should a technician disable MFA or broaden firewall rules to fix a VPN timeout?

No. Establish where the failure occurs first. Validate the approved endpoint and listener, compare logs and client configuration, and make the smallest authorized correction.

FURTHER READING / REFERENCE MATERIAL

Check the implementation details.

This guide is vendor-neutral education. Examples use private and documentation-only addresses and do not operate a real VPN. Product defaults, firewall policy, authentication and DNS behavior vary by deployment.

NEXT / PRACTICE THE TROUBLESHOOTING

A connected tunnel is only the beginning.

Practice reading routes, choosing name-resolution checks and distinguishing pre-authentication gateway failures from post-connectivity access problems.

Open Practice 007 →
NEXT REQUIRED STEP · VPN & REMOTE ACCESS FUNDAMENTALS

Complete the Practice milestone

You've reached the end of this written lesson. Your next step is practice—complete VPN & Remote Access · Module 007 before proceeding to a new lesson. This is milestone 2 of 4. You can revisit the explanation whenever you need it.