teluzia.Cloud Engineer · Day 20
CHAPTER 03 · NETWORKING FUNDAMENTALS

VPN basics and network troubleshooting tools

4–5 hours including independent practice3 topics
LET’S MAKE THIS SIMPLE

What you’re learning today

Build a repeatable network investigation using read-only tools. A VPN creates an encrypted tunnel and can alter routes and DNS, but it does not repair every connectivity problem. You will examine local addresses, routes, naming and an application endpoint, then explain the evidence in order. A VPN carries selected network traffic through an encrypted tunnel between endpoints. Split tunneling sends only chosen destinations into the tunnel, while full tunneling routes broader traffic through it. VPN clients may install routes and DNS settings. Encryption protects the tunnel segment, not every application behavior or endpoint compromise. ip addr shows interface addresses and states; ip route shows forwarding choices; getent hosts follows system name resolution; ss inspects sockets; curl examines an application exchange. ping tests ICMP reachability, but filtered ICMP can fail while TCP works. Tool availability varies, so record missing commands explicitly.

Think of it this way

A VPN is a private tunnel through a public road system; troubleshooting still checks the destination, entrances and routing signs.

TOPIC 01 / 03Step by step

VPN tunnels and routing

A VPN carries selected network traffic through an encrypted tunnel between endpoints. Split tunneling sends only chosen destinations into the tunnel, while full tunneling routes broader traffic through it. VPN clients may install routes and DNS settings. Encryption protects the tunnel segment, not every application behavior or endpoint compromise. A corporate VPN can route 10.0.0.0/8 through its virtual interface while ordinary internet traffic follows the local default route under a split-tunnel policy. Understanding tunnel scope clarifies which traffic is protected and helps diagnose unexpected destinations, route overlap or DNS changes after connecting to a controlled VPN service for work. Assuming a VPN makes every website or endpoint trustworthy overlooks application identity and compromised hosts; continue validating TLS and access policy even when tunnel encryption is active.

WORKED EXAMPLE
A corporate VPN can route 10.0.0.0/8 through its virtual interface while ordinary internet traffic follows the local default route under a split-tunnel policy.
Why this matters

Understanding tunnel scope clarifies which traffic is protected and helps diagnose unexpected destinations, route overlap or DNS changes after connecting to a controlled VPN service for work.

A common trap

Assuming a VPN makes every website or endpoint trustworthy overlooks application identity and compromised hosts; continue validating TLS and access policy even when tunnel encryption is active.

Read all topics in this lesson

A complete reference to revisit alongside the guided steps above.

VPN tunnels and routing

A VPN carries selected network traffic through an encrypted tunnel between endpoints. Split tunneling sends only chosen destinations into the tunnel, while full tunneling routes broader traffic through it. VPN clients may install routes and DNS settings. Encryption protects the tunnel segment, not every application behavior or endpoint compromise. A corporate VPN can route 10.0.0.0/8 through its virtual interface while ordinary internet traffic follows the local default route under a split-tunnel policy. Understanding tunnel scope clarifies which traffic is protected and helps diagnose unexpected destinations, route overlap or DNS changes after connecting to a controlled VPN service for work. Assuming a VPN makes every website or endpoint trustworthy overlooks application identity and compromised hosts; continue validating TLS and access policy even when tunnel encryption is active.

WORKED EXAMPLE
A corporate VPN can route 10.0.0.0/8 through its virtual interface while ordinary internet traffic follows the local default route under a split-tunnel policy.

Why this matters

Understanding tunnel scope clarifies which traffic is protected and helps diagnose unexpected destinations, route overlap or DNS changes after connecting to a controlled VPN service for work.

A common trap

Assuming a VPN makes every website or endpoint trustworthy overlooks application identity and compromised hosts; continue validating TLS and access policy even when tunnel encryption is active.

Read-only network tools

ip addr shows interface addresses and states; ip route shows forwarding choices; getent hosts follows system name resolution; ss inspects sockets; curl examines an application exchange. ping tests ICMP reachability, but filtered ICMP can fail while TCP works. Tool availability varies, so record missing commands explicitly. Use ip route get 1.1.1.1 to inspect the selected route without sending an HTTP request, then compare it with your interface addresses using ip addr. Choosing a tool for a specific layer avoids interpreting an ICMP result as proof about DNS, TLS or HTTP and makes each investigation step answer one concrete question. Running every tool without a hypothesis creates noisy evidence; state what each command tests and recognize that a timeout can result from deliberate filtering rather than a dead host.

WORKED EXAMPLE
Use ip route get 1.1.1.1 to inspect the selected route without sending an HTTP request, then compare it with your interface addresses using ip addr.

Why this matters

Choosing a tool for a specific layer avoids interpreting an ICMP result as proof about DNS, TLS or HTTP and makes each investigation step answer one concrete question.

A common trap

Running every tool without a hypothesis creates noisy evidence; state what each command tests and recognize that a timeout can result from deliberate filtering rather than a dead host.

Hypothesis-driven troubleshooting

Begin with the exact symptom, destination and time. Test local configuration, name resolution, routing, transport and application behavior in a deliberate order. Compare a known working endpoint with the failing one. Make one change at a time and preserve output; otherwise you cannot attribute a repair to a particular action. A localhost HTTP server that answers / but returns 404 for /missing demonstrates an application path issue even if ping and route inspection also succeed. A structured investigation narrows uncertainty without broad configuration changes and creates an explainable incident record that another learner or operator can reproduce and evaluate independently with the same tools. Changing DNS, firewall and VPN settings together destroys causal evidence; preserve observations and alter only the component supported by your current hypothesis about the failure being investigated.

WORKED EXAMPLE
A localhost HTTP server that answers / but returns 404 for /missing demonstrates an application path issue even if ping and route inspection also succeed.

Why this matters

A structured investigation narrows uncertainty without broad configuration changes and creates an explainable incident record that another learner or operator can reproduce and evaluate independently with the same tools.

A common trap

Changing DNS, firewall and VPN settings together destroys causal evidence; preserve observations and alter only the component supported by your current hypothesis about the failure being investigated.

KEEP THESE WITH YOU

Today’s takeaways

Identify tunnel scope.

Use tools according to the layer they test.

Preserve causal evidence.

CLOSE THE LOOP

Ready to complete this day?

Verify the practical steps and pass the knowledge check (at least two thirds correct).

Lab steps verifiedKnowledge check passed