By Fatskills Exam Guides Team — the exam nerds behind 28,500+ quizzes and 2.1M practice questions across 500+ global exams.
A Virtual Private Network (VPN) creates an encrypted tunnel over untrusted networks (like the internet), allowing remote users to securely access corporate resources. IPsec (Internet Protocol Security) is a suite of protocols that authenticates and encrypts IP packets, ensuring confidentiality and integrity. Secure remote access is critical because 80% of data breaches involve remote access vulnerabilities (Verizon DBIR 2023). Example: In 2021, the Colonial Pipeline ransomware attack exploited a legacy VPN with a compromised password, leading to a $4.4M ransom payment and fuel shortages across the U.S. East Coast.
Tools: OpenVPN, Cisco AnyConnect, WireGuard, NordVPN (consumer).
IPsec (Internet Protocol Security): A framework of protocols (AH, ESP, IKE) that secures IP communications by authenticating and encrypting each packet.
Standards: NIST SP 800-77 (IPsec guidelines), RFC 4301-4309.
IKE (Internet Key Exchange): A protocol (part of IPsec) that negotiates security associations (SAs) and cryptographic keys.
Port: UDP 500 (IKE), UDP 4500 (NAT-Traversal).
ESP (Encapsulating Security Payload): IPsec protocol that provides confidentiality (encryption), integrity (HMAC), and optional authentication.
Example: Encrypts data in transit (e.g., file transfers, VoIP).
AH (Authentication Header): IPsec protocol that provides integrity and authentication (but no encryption).
Use Case: When encryption isn’t needed (e.g., internal network integrity checks).
SA (Security Association): A one-way "contract" between two IPsec peers defining encryption keys, algorithms, and lifetime.
Example: A VPN gateway and a remote user agree on AES-256 for encryption.
Split Tunneling: A VPN configuration where only traffic destined for the corporate network goes through the VPN, while other traffic (e.g., Netflix) uses the local internet.
Mitigation: Disable split tunneling unless required (NIST SP 800-46).
SSL/TLS VPN: A VPN that uses HTTPS (TCP 443) for secure remote access, often via a web browser (e.g., Citrix Gateway).
Cons: Less secure than IPsec for full network access.
Zero Trust Network Access (ZTNA): A modern alternative to VPNs where access is granted per-application (not full network access) based on identity and context (e.g., device posture).
Tools: Zscaler Private Access, Cloudflare Access.
Remote Desktop Protocol (RDP): Microsoft’s protocol for remote access to Windows machines (TCP 3389).
Mitigation: Disable RDP if unused, use VPN + MFA, or switch to ZTNA.
MFA (Multi-Factor Authentication): Requires two or more authentication factors (e.g., password + OTP) to access VPNs.
Example: Duo Security, Google Authenticator.
Perfect Forward Secrecy (PFS): A property of key exchange protocols (e.g., Diffie-Hellman) where compromising a long-term key doesn’t compromise past sessions.
Identify compliance needs (e.g., HIPAA, PCI DSS, GDPR).
Choose VPN Type & Protocol
Avoid: PPTP (insecure), IKEv1 (vulnerable to DoS).
Configure IPsec (Example: IKEv2 with ESP)
Tools: StrongSwan (Linux), Cisco ASA, pfSense.
Enforce Authentication & Access Controls
Implement network segmentation (e.g., VLANs, firewalls) to limit lateral movement.
Monitor & Log Traffic
ike-scan
NIST Guidance: SP 800-92 (Log Management).
Test & Harden
nmap -sU -p 500,4500 <VPN_IP>
D) L2TP Answer: C) IKEv2/IPsec Explanation: IKEv2/IPsec provides full network access, strong encryption, and cross-platform support (unlike PPTP, which is insecure, or SSL VPN, which is browser-based).*
During a security audit, you discover that a VPN gateway is using IKEv1 with 3DES encryption. What is the MOST significant risk?
D) Weak integrity protection Answer: B) Vulnerability to brute-force attacks Explanation: 3DES is vulnerable to Sweet32 attacks (collision-based brute force), making it a critical risk. IKEv1 also lacks PFS, but the immediate threat is the weak cipher.*
An organization wants to replace its VPN with a solution that grants access only to specific applications (not the entire network) and verifies device posture before allowing access. Which technology BEST fits this requirement?
SSL VPN = Browser-based (TCP 443), no client needed.
IPsec Modes:
Tunnel Mode = Encrypts entire packet (gateway-to-gateway).
IPsec Protocols:
AH (51) = Integrity only (❌ No encryption).
IKE Phases:
Phase 2 (IPsec SA) = Define ESP/AH settings (UDP 4500 for NAT-T).
Ports to Memorize:
RDP: TCP 3389 (⚠️ Often brute-forced)
Weak Algorithms to Avoid:
DH Groups: < 2048-bit.
Perfect Forward Secrecy (PFS):
Uses ephemeral keys (e.g., ECDHE) so past sessions can’t be decrypted if a long-term key is compromised.
Split Tunneling Risk:
Allows malware on a home network to pivot into the corporate network (disable unless required).
Zero Trust vs. VPN:
ZTNA = Per-application access (never trusts, always verifies).
⚠️ Exam Trap:
Join 4M+ learners. Unlock unlimited quizzes, wrong-answer tracking, flashcards + reminders, study guides, and 1-on-1 challenges.