Skip to content

VPN Security Lab

A VPN should not be treated as a trusted doorway into the entire enterprise. It should provide encrypted connectivity to only the resources that a user, branch, or partner actually requires.

Welcome to the VPN Security Lab.

In the previous labs, you worked with:

  • Network Security Fundamentals
  • ACL Security
  • Firewall Security

Now you will focus on secure communication across untrusted networks.

The objective is to move from:

I understand what a VPN is.

to:

I can design, validate, troubleshoot, and review VPN connectivity securely.

This lab is especially relevant for:

  • Network Security Engineers
  • Firewall Engineers
  • VPN Engineers
  • Network Engineers
  • Security Analysts
  • Security Consultants
  • Cloud Security Engineers
Item Details
Lab VPN Security Lab
Difficulty Intermediate
Estimated Time 2–4 Hours
Primary Focus Secure Remote & Site-to-Site Connectivity
Target Roles Network Security Engineer, VPN Engineer, Firewall Engineer
Certification Alignment CCNA, CCNP Security
Career Skill VPN Design, Security Review & Troubleshooting
Environment Cisco-compatible VPN / firewall / approved lab environment
Output VPN Architecture, Access Matrix, Test Evidence, Findings & Remediation

You have joined an organization as a Network Security Engineer.

The company has:

  • a head office
  • a remote branch
  • remote employees
  • internal applications
  • sensitive database systems
  • administrative infrastructure

The business requires secure connectivity for:

  • branch-to-head-office communication
  • employees working remotely
  • administrators connecting from approved locations

Security leadership is concerned that:

  • VPN users may receive too much access
  • branch tunnels may expose unnecessary networks
  • split tunneling may introduce risk
  • authentication may be weak
  • VPN traffic may not be sufficiently logged
  • old VPN users may remain active
  • routing may allow unexpected paths

Your mission is to design and review secure VPN connectivity.

By the end of this lab, you should be able to:

  • explain VPN purpose
  • understand site-to-site VPN
  • understand remote-access VPN
  • explain IPsec concepts
  • understand tunneling
  • understand VPN authentication
  • understand encryption concepts
  • review VPN access scope
  • review tunnel routing
  • understand split tunneling
  • implement least-privilege remote access
  • review VPN logging
  • troubleshoot tunnel failures
  • troubleshoot authentication failures
  • troubleshoot routing issues
  • identify insecure VPN design
  • create professional findings
  • recommend remediation

You should understand:

  • IPv4 addressing
  • subnetting
  • routing
  • ACLs
  • firewalls
  • NAT
  • TCP/UDP
  • authentication
  • encryption basics

Recommended previous labs:

  • Network Security Fundamentals Lab
  • ACL Security Lab
  • Firewall Security Lab

For every VPN connection ask:

Who / What
↓
Authentication
↓
Tunnel Establishment
↓
Encryption
↓
Routing
↓
Authorization / Security Policy
↓
Destination Resource
↓
Logging

Then ask:

Does this identity or network really need access to that destination?

You will work with two main concepts:

Site-to-Site VPN
+
Remote-Access VPN

A site-to-site VPN securely connects networks.

Example:

Branch Office
↓
Internet
↓
Encrypted Tunnel
↓
Head Office

The tunnel connects:

network to network

rather than individual users.

Remote-access VPN connects an individual endpoint to the enterprise.

Example:

Remote Employee
↓
Internet
↓
VPN Gateway
↓
Internal Resources

The connection is typically:

user/device to enterprise

Use this conceptual environment:

Internet
|
_____________|_____________
| |
| |
Head Office Branch Office
Firewall Firewall
| |
10.10.0.0/16 10.20.0.0/16
|
______|________________
| | |
Users Apps Database
10.10.10 10.10.20 10.10.30
|
Management
10.10.40

Remote users connect through:

Remote User
↓
Internet
↓
Head Office VPN Gateway

πŸ§ͺ Task 1 β€” Define Site-to-Site Business Requirements

Section titled β€œπŸ§ͺ Task 1 β€” Define Site-to-Site Business Requirements”

Before configuring the tunnel, identify which branch systems should reach which head-office systems.

Example:

Source Destination Service Required?
Branch Users Head Office Application HTTPS Yes
Branch Users Head Office Database Any No
Branch Users Management Network Any No
Branch Server Head Office API HTTPS Yes

Do not interpret:

Branch connected by VPN

as:

Branch should access every head-office subnet.

πŸ§ͺ Task 2 β€” Define Remote-Access Requirements

Section titled β€œπŸ§ͺ Task 2 β€” Define Remote-Access Requirements”

Example:

User Type Resource Required?
Employee Business Application Yes
Employee Database No
Employee Firewall Admin No
Network Admin Firewall Management Yes
Vendor Approved Support Server Temporary

VPN connectivity should follow the same least-privilege principle as firewall policy.

VPNs use cryptography to protect traffic across untrusted networks.

Broad security goals include:

  • confidentiality

  • integrity

  • authentication

Traffic should not be readable by unauthorized observers.

Traffic should not be modified unnoticed.

Peers or users should be validated before access is granted.

IPsec is widely used for secure IP communications.

At this level, understand concepts such as:

  • IKE

  • security associations

  • encryption

  • integrity

  • peer authentication

  • tunnel mode

Think:

VPN Peers
↓
Authenticate
↓
Negotiate Security Parameters
↓
Create Secure Tunnel
↓
Encrypt Traffic

Create:

Peer Public/Test IP Internal Network
Head Office FW 10.10.0.0/16
Branch FW 10.20.0.0/16

Depending on the lab technology, VPN peers may authenticate using methods such as:

  • pre-shared key

  • certificates

For learning, understand the security implications.

Weak shared secrets may create unnecessary risk.

Avoid simple examples such as:

password123

Use controlled lab values and understand that real environments should use stronger credential practices.

πŸ§ͺ Task 4 β€” Build or Review a Site-to-Site Tunnel

Section titled β€œπŸ§ͺ Task 4 β€” Build or Review a Site-to-Site Tunnel”

Configure or conceptually validate:

Head Office
10.10.0.0/16
↓
Encrypted VPN
↓
Branch
10.20.0.0/16

Check whether the tunnel is:

  • established

  • active

  • passing traffic

Record:

Peer:
Tunnel Status:
Local Networks:
Remote Networks:
Encryption:
Authentication:

A VPN tunnel can be established while application connectivity still fails.

Tunnel state and traffic authorization are separate issues.

Site-to-site VPNs generally define which traffic should use the tunnel.

Conceptually:

Source Network
↓
Destination Network
↓
Matches VPN Policy?
↓
Encrypt Into Tunnel

For this lab, allow branch users to access:

10.10.20.0/24

application network.

Do not automatically include:

10.10.30.0/24
Database

or:

10.10.40.0/24
Management

Prefer:

Branch
↓
Application Network

rather than:

Branch
↓
Entire Head Office

πŸ§ͺ Task 7 β€” Test Branch-to-Application Connectivity

Section titled β€œπŸ§ͺ Task 7 β€” Test Branch-to-Application Connectivity”

Test:

Branch User
↓
VPN
↓
APP-SRV01

Expected:

ALLOW

πŸ§ͺ Task 8 β€” Test Branch-to-Database Connectivity

Section titled β€œπŸ§ͺ Task 8 β€” Test Branch-to-Database Connectivity”

Test:

Branch User
↓
VPN
↓
DB-SRV01

Expected:

DENY

unless specifically required.

VPN encryption protects the traffic.

It does not determine whether the traffic should be allowed.

You still need:

  • ACLs

  • firewall rules

  • routing controls

Successful VPN connectivity depends on routing.

Both sides must know:

where the remote network exists.

Conceptually:

Branch
↓
Route to 10.10.20.0/24
↓
VPN Tunnel

and:

Head Office
↓
Route to Branch Network
↓
VPN Tunnel

Create:

Device Destination Next Hop / Tunnel
Branch Head Office App VPN
Head Office Branch Users VPN

The tunnel is established, but traffic fails because:

return routing is missing.

Always check both:

Forward Path
+
Return Path

VPN traffic may need specific NAT treatment depending on the design.

A common troubleshooting scenario is:

VPN traffic is being translated when it should not be.

Internal VPN communication may need to preserve appropriate internal addressing so both sides understand the traffic.

Document:

Source:
Branch User
Destination:
Head Office Application
Expected NAT:
None / As Required by Design
Expected Path:
VPN

If the tunnel is up but traffic is not matching the VPN, ask:

Is NAT changing the addresses before VPN policy evaluation?

Now focus on remote employees.

Architecture:

Remote Employee
↓
Internet
↓
VPN Gateway
↓
Authentication
↓
Assigned VPN Address
↓
Authorized Internal Resources

Use a test identity such as:

ghc-vpn-user

Do not reuse production credentials in a lab.

Determine how the remote user authenticates.

Possible concepts include:

  • username/password

  • MFA

  • certificates

  • centralized identity

Ask:

Does one stolen password provide remote access?

Where possible, stronger authentication should be considered for real environments.

For remote-access security, MFA can significantly reduce password-only risk.

Concept:

Password
+
Second Factor
↓
VPN Authentication

MFA improves authentication.

It does not replace:

  • authorization

  • device security

  • segmentation

  • monitoring

πŸ§ͺ Task 13 β€” Design a Strong Remote-Access Flow

Section titled β€œπŸ§ͺ Task 13 β€” Design a Strong Remote-Access Flow”

Create:

Remote User
↓
Strong Authentication
↓
VPN
↓
User Group
↓
Access Policy
↓
Approved Application

Authentication answers:

Who is the user?

Authorization answers:

Which internal resources can they reach?

Employee
↓
VPN
↓
Entire Enterprise
Employee
↓
VPN
↓
Required Business Applications

Conceptually create groups such as:

VPN-EMPLOYEES
VPN-ADMINS
VPN-VENDORS

Example:

Group Allowed Access
VPN-EMPLOYEES Business Apps
VPN-ADMINS Approved Management Systems
VPN-VENDORS One Support Server

Avoid assigning every VPN user the same network access.

Third-party access deserves special attention.

Scenario:

A vendor needs temporary remote access to support one application server.

Vendor
↓
VPN
↓
Entire Internal Network
Vendor
↓
VPN
↓
Approved Server
↓
Approved Service

Document:

Vendor:
Business Owner:
Destination:
Service:
Start Date:
Expiration:
MFA:
Logging:

Vendor VPN access should have:

  • ownership

  • limited scope

  • expiry

  • monitoring

Split tunneling means some traffic uses the VPN while other traffic goes directly to the user’s normal internet connection.

Conceptually:

Remote User
|
β”œβ”€β”€ Corporate Traffic β†’ VPN
|
└── Internet Traffic β†’ Local Internet

Split tunneling can reduce:

  • VPN bandwidth

  • centralized traffic load

But may also reduce:

  • centralized inspection

  • visibility

depending on the security architecture.

Create:

Model Corporate Traffic Internet Traffic Security Consideration
Split Tunnel VPN Local Internet Reduced central inspection
Full Tunnel VPN VPN More centralized visibility/control

Do not assume:

full tunnel is always correct

or:

split tunnel is always insecure.

The decision depends on:

  • risk

  • architecture

  • performance

  • security tooling

  • business requirements

When a remote user connects, they may receive:

  • VPN-assigned IP

  • routes

  • DNS configuration

Document:

VPN Client Pool:
Assigned IP:
Gateway/Tunnel:
Internal Routes:
DNS:

User authenticates successfully but cannot reach the application.

Potential causes:

  • route missing

  • access policy

  • firewall

  • NAT

  • DNS

  • return path

Use:

User
↓
Authentication
↓
VPN Address
↓
Route
↓
VPN Policy
↓
Firewall
↓
Destination
↓
Return Path

Remote users may need internal DNS to access private applications by hostname.

Scenario:

User can reach 10.10.20.10 but cannot reach app.internal.

Investigate:

DNS.

Compare:

Ping / Connect by IP

with:

Connect by Hostname

Record whether internal DNS resolves correctly.

VPN logging should help answer:

  • who connected?

  • from where?

  • when?

  • which authentication method?

  • which IP was assigned?

  • how long was the session?

  • why did authentication fail?

πŸ§ͺ Task 20 β€” Generate a Successful VPN Login

Section titled β€œπŸ§ͺ Task 20 β€” Generate a Successful VPN Login”

Review available logs.

Capture:

User:
Source IP:
Connection Time:
VPN IP:
Authentication Result:
Session Duration:

Attempt a controlled failed authentication.

Review:

  • username

  • source IP

  • failure reason

  • timestamp

Repeated VPN failures may indicate:

  • user error

  • expired credential

  • brute force

  • password spray

Context matters.

Logs show:

Same Source IP
↓
Many Different Users
↓
Same / Similar Password Attempts

Potential interpretation:

password spraying.

πŸ§ͺ Task 22 β€” Build a VPN Authentication Review

Section titled β€œπŸ§ͺ Task 22 β€” Build a VPN Authentication Review”

Create:

User Source IP Success/Fail Time Investigation Needed?

Use:

Peer Reachability
↓
Authentication
↓
Negotiation
↓
Tunnel Status
↓
Interesting Traffic
↓
NAT
↓
Route
↓
Security Policy
↓
Return Path

In your controlled lab, simulate mismatched authentication settings.

Expected:

Tunnel establishment fails.

Identify the relevant logs/status.

Create a controlled mismatch if your lab supports it.

Observe:

Peers cannot agree on the required VPN parameters.

Both peers must have compatible security configuration.

Scenario:

Tunnel exists, but a network is not included in the VPN policy.

Result:

traffic may not enter the tunnel.

Tunnel is active.

Traffic still fails.

Check:

  • local route

  • remote route

  • return route

Traffic is translated incorrectly before entering the tunnel.

Review NAT ordering and policy.

VPN is operational, but firewall security rules deny the communication.

Remember:

VPN up does not mean traffic authorized.

πŸ”₯ Part 15 β€” Remote-Access Troubleshooting

Section titled β€œπŸ”₯ Part 15 β€” Remote-Access Troubleshooting”

Check:

  • username

  • password

  • MFA

  • certificate if applicable

  • identity backend

  • account status

πŸ§ͺ Task 30 β€” Authentication Works, Application Fails

Section titled β€œπŸ§ͺ Task 30 β€” Authentication Works, Application Fails”

Use:

Authentication
↓
VPN Assigned IP
↓
Route
↓
Access Policy
↓
Firewall
↓
DNS
↓
Application
↓
Return Path

πŸ§ͺ Task 31 β€” One User Works, Another Does Not

Section titled β€œπŸ§ͺ Task 31 β€” One User Works, Another Does Not”

Compare:

  • user group

  • authorization

  • account status

  • assigned policy

  • routes

Likely investigate:

DNS.

πŸ§ͺ Task 33 β€” Some Applications Work, Others Fail

Section titled β€œπŸ§ͺ Task 33 β€” Some Applications Work, Others Fail”

Investigate:

  • route coverage

  • authorization

  • firewall

  • destination ports

  • segmentation

Do not solve remote-access failures by giving the user:

access to everything.

Identify the exact missing requirement.

Now review the design as a security professional.

Look for:

  • password-only remote access

  • broad user access

  • vendor accounts without expiry

  • stale VPN users

  • weak site-to-site scope

  • unrestricted admin access

  • insufficient logging

  • risky split tunneling

Create:

User Group MFA Last Use Still Required?

Former employees or contractors retaining VPN access create unnecessary remote attack paths.

Ask:

  • which users have administrative VPN access?

  • why?

  • is access isolated?

  • is MFA used?

  • are sessions logged?

Check whether the branch tunnel includes:

Entire Corporate Network

when only:

Application Network

is required.

Identify:

  • owner

  • access

  • expiry

  • last login

Ask:

Is split tunneling intentional?

Which traffic bypasses enterprise inspection?

Are endpoint controls sufficient?

Confirm important VPN events are retained and available for investigation.

Finding ID:
VPN-001
Title:
Remote VPN Access Relies on Password-Only Authentication
Severity:
High
Observation:
Remote access can be established using a single password factor.
Risk:
Compromise or reuse of user credentials may provide external access to internal resources.
Recommendation:
Implement stronger authentication such as MFA where supported and appropriate.

🚨 Finding 2 β€” VPN Users Have Broad Internal Access

Section titled β€œπŸš¨ Finding 2 β€” VPN Users Have Broad Internal Access”
Finding ID:
VPN-002
Title:
Remote VPN Users Have Excessive Network Access
Severity:
High
Observation:
Standard remote users can reach internal networks beyond their documented business requirements.
Risk:
Compromise of a remote endpoint or VPN credential could provide extensive lateral access.
Recommendation:
Implement role/group-based VPN authorization and restrict users to required applications and networks.

🚨 Finding 3 β€” Vendor VPN Has No Expiration

Section titled β€œπŸš¨ Finding 3 β€” Vendor VPN Has No Expiration”
Finding ID:
VPN-003
Title:
Third-Party VPN Access Has No Defined Expiration
Severity:
Medium / High
Observation:
A vendor VPN account remains active with no documented end date.
Risk:
External access may continue after the business requirement ends.
Recommendation:
Assign business ownership and expiration to third-party VPN access and periodically review continued need.

🚨 Finding 4 β€” Branch Tunnel Includes Excessive Networks

Section titled β€œπŸš¨ Finding 4 β€” Branch Tunnel Includes Excessive Networks”
Finding ID:
VPN-004
Title:
Site-to-Site VPN Provides Excessive Network Reachability
Severity:
High
Observation:
The branch VPN permits access to sensitive head-office networks not required for branch operations.
Risk:
Compromise of a branch system could provide a network path toward sensitive enterprise resources.
Recommendation:
Restrict VPN network definitions and firewall policies to approved business flows.
Finding ID:
VPN-005
Title:
Remote VPN Activity Is Not Sufficiently Logged
Severity:
Medium
Observation:
Security operations cannot reliably determine user connection source, session time, or authentication outcome.
Risk:
Investigation of compromised remote access may be delayed or incomplete.
Recommendation:
Enable and centrally retain required VPN authentication and session telemetry.

Use:

Authentication Strength
+
Remote Exposure
+
Access Scope
+
Destination Sensitivity
+
Session Visibility
+
Business Impact
=
Risk

Examples:

  • anonymous/unauthenticated remote access

  • unrestricted remote access to highly critical management environments

Examples:

  • password-only privileged VPN

  • excessive network access

  • broad branch-to-production reachability

Examples:

  • stale users

  • vendor access without expiry

  • insufficient logging

Examples:

  • naming

  • documentation

  • minor cleanup

πŸ§ͺ Task 40 β€” Build a VPN Security Checklist

Section titled β€œπŸ§ͺ Task 40 β€” Build a VPN Security Checklist”
Control Status Evidence Recommendation
VPN business scope documented
Site-to-site networks limited
Remote users authenticated
MFA considered/enforced
User groups defined
Least-privilege access
Vendor access expires
Administrative access restricted
Split tunneling reviewed
VPN routing validated
NAT interaction validated
DNS validated
VPN logs enabled
Stale users reviewed
Positive/negative testing completed

Assume a remote employee’s VPN credential is compromised.

Internet
↓
Stolen VPN Credential
↓
VPN
↓
Entire Internal Network
↓
Database / Management
Internet
↓
VPN + Strong Authentication
↓
Employee Group
↓
Approved Business Applications
X Database
X Management

VPN controls should reduce the blast radius of a compromised remote identity.

Assume a branch workstation is compromised.

Ask:

Which head-office networks can it reach through the site-to-site tunnel?

Strong design should prevent:

Branch User
↓
Production Database

unless explicitly required.

Assume the vendor’s credentials are compromised.

A better architecture limits the attacker to:

Approved Vendor
↓
Specific Support Host
↓
Specific Service

not the entire enterprise.

Practise without notes.

12. Why does VPN traffic still need firewall controls?

Section titled β€œ12. Why does VPN traffic still need firewall controls?”

A branch VPN tunnel is up, but branch users cannot reach the application.

Use:

Tunnel Status
↓
Local Network Definition
↓
Remote Network Definition
↓
Route
↓
NAT
↓
Firewall / ACL
↓
Application
↓
Return Path

A remote employee authenticates successfully but cannot reach an internal application.

Review:

  • assigned VPN IP

  • routes

  • user authorization

  • firewall policy

  • DNS

  • application service

  • return path

VPN users can reach every internal subnet.

Discuss:

Authentication
↓
VPN
↓
Role / Group
↓
Least-Privilege Policy

and reduce unnecessary access.

A vendor needs temporary access to one server for two weeks.

A strong design includes:

  • dedicated identity/group

  • MFA where supported

  • one approved destination

  • required service only

  • logging

  • expiry

VPN authentication logs show the same IP attempting many usernames.

Discuss possible:

password spraying.

Then investigate:

  • source IP

  • affected users

  • successful authentications

  • subsequent VPN sessions

Site-to-site tunnel traffic is being NATed unexpectedly.

Investigate:

  • NAT policy

  • rule order

  • VPN networks

  • translated source

  • routing

Security wants to disable split tunneling for everyone.

Do not answer automatically.

Discuss:

  • risk

  • visibility

  • architecture

  • capacity

  • endpoint security

  • business requirements

Use:

Requirement
↓
Identity / Network
↓
Authentication
↓
Tunnel
↓
Routing
↓
Authorization
↓
Firewall
↓
Destination
↓
Logging
↓
Validation

Avoid:

β€œThe tunnel is up, so VPN is working.”

A stronger answer is:

β€œI would verify peer or user authentication, tunnel state, protected network definitions, routing, NAT interaction, access-control policy, destination service, and the return path, then validate the logs to determine exactly where the communication is failing.”

That sounds like a VPN/Network Security Engineer.

After completing the lab, create a sanitized portfolio package.

Include:

Branch
↓
Encrypted Tunnel
↓
Head Office

Document:

  • local networks

  • remote networks

  • permitted traffic

Remote User
↓
Authentication
↓
VPN Gateway
↓
Security Policy
↓
Approved Resource

Document:

  • users/groups

  • destinations

  • services

Show:

  • local route

  • tunnel path

  • return route

Document:

  • chosen model

  • security trade-offs

  • operational trade-offs

Use:

Symptom
↓
Tunnel / Authentication
↓
Route
↓
NAT
↓
Firewall
↓
Root Cause
↓
Fix
↓
Validation

Create at least 3–5 findings.

Instead of:

Knowledge of VPNs.

Use:

Built and validated site-to-site and remote-access VPN security labs covering peer authentication, encrypted tunnels, network routing, least-privilege access, and VPN logging.

Or:

Performed VPN security reviews identifying excessive remote access, weak authentication, stale vendor connectivity, broad site-to-site network scope, and monitoring gaps.

Or:

Troubleshot VPN connectivity by analyzing tunnel state, routing, NAT, firewall policy, DNS, user authorization, and return paths.

After this lab, you should be able to:

  • explain VPN fundamentals

  • distinguish site-to-site and remote-access VPN

  • explain IPsec at a high level

  • explain authentication and encryption

  • understand tunnel establishment

  • define VPN network scope

  • apply least-privilege remote access

  • understand MFA relevance

  • explain split tunneling

  • understand VPN routing

  • understand NAT interaction

  • review VPN logs

  • troubleshoot site-to-site VPN

  • troubleshoot remote-access VPN

  • identify stale or excessive VPN access

  • create professional security findings

If your VPN-security model still means:

once connected, the user is trusted,

repeat the authorization and attack-path sections.

The goal is:

authenticate the connection strongly, encrypt the traffic, limit access to required resources, monitor the session, and investigate abnormal activity.

You have now progressed through:

Business Connectivity Requirement
↓
VPN Architecture
↓
Authentication
↓
Encryption
↓
Routing
↓
Access Control
↓
Remote Access
↓
Site-to-Site Connectivity
↓
Logging
↓
Troubleshooting
↓
Security Assessment

You are no longer learning VPNs only as tunnels.

You are learning to treat VPN access as a security trust boundary.

You now understand the core preventive controls in the Cisco/network-security lab sequence:

Network Segmentation
↓
ACL Security
↓
Firewall Security
↓
VPN Security

The next lab moves from prevention into investigation.

➑️ Next: Network Threat Investigation Lab

In the next lab, you will work with:

  • suspicious source and destination traffic

  • firewall logs

  • VPN logs

  • DNS evidence

  • authentication context

  • traffic baselining

  • repeated outbound connections

  • port scanning

  • brute-force activity

  • lateral movement

  • incident timelines

  • scope analysis

  • containment decisions

  • security findings

  • SOC and network-security interview scenarios