Study guide
3.3 Z-Tunnel 1.0 vs. Z-Tunnel 2.0 Deep Dive
Zscaler Digital Transformation Administrator ZDTA
Track your progress as you read
Finished sections get a check mark.
1 Chapter 1: Introduction & Zero Trust Exchange Architecture
1.1 Exam Facts, Blueprint & Study Strategy 1.2 Zero Trust Exchange Architecture & Core Tenets 1.3 Cloud Infrastructure: Central Authority, Edge & Nanolog 1.4 End-to-End Traffic Processing Lifecycle
2 Chapter 2: Identity, Authentication & Directory Services
2.1 Identity in Zero Trust & Architecture 2.2 SAML 2.0 Authentication & User Enrollment 2.3 SCIM User & Group Provisioning 2.4 Authentication Bridges, One-Time Tokens & Surrogate IP
3 Chapter 3: Zscaler Client Connector (ZCC) & Device Posture
3.1 ZCC Architecture, Deployment & Provisioning 3.2 Forwarding Profiles, App Profiles & PAC Integration 3.3 Z-Tunnel 1.0 vs. Z-Tunnel 2.0 Deep Dive 3.4 Device Posture Profiles & Compliance Checks
4 Chapter 4: Site & Workload Traffic Forwarding
4.1 GRE & IPsec Tunnel Configuration 4.2 PAC Files, Explicit Proxy & Sub-locations 4.3 Branch Connector & Cloud Connector for Hybrid Clouds
5 Chapter 5: ZIA Access Control & Policy Framework
5.1 ZIA Policy Engine, Hierarchy & Evaluation Order 5.2 URL Filtering, Categories & Dynamic Content 5.3 Cloud App Control & Inline CASB 5.4 Bandwidth Management & Traffic Shaping
6 Chapter 6: ZIA Threat Prevention & Data Protection
6.1 Cloud Firewall & Cloud IPS 6.2 Advanced Threat Protection (ATP) & Malware Defense 6.3 Cloud Sandbox, AI Quarantine & File Inspection 6.4 SSL/TLS Deep Inspection, DLP & Browser Isolation
7 Chapter 7: ZPA Architecture & Infrastructure
7.1 ZPA Zero Trust Network Access Architecture 7.2 App Connector Provisioning, Sizing & Deployment 7.3 Application Segments, Segment Groups & Discovery 7.4 Server Groups, App Connector Groups & Health Reporting
8 Chapter 8: ZPA Access Policies & Zero Trust Controls
8.1 ZPA Access Policy Design & Rule Evaluation 8.2 Timeout Policies & Client Forwarding Controls 8.3 Browser Access (Clientless ZTNA) 8.4 Privileged Remote Access (PRA) & Microsegmentation
9 Chapter 9: Zscaler Digital Experience (ZDX) Monitoring
9.1 ZDX Architecture & Score Engine 9.2 Web, Cloud Path & Application Probes 9.3 Device Health, Wi-Fi & ISP Network Telemetry 9.4 Root-Cause Analysis & Troubleshooting Workflows
10 Chapter 10: Platform Administration, Visibility & Operations
10.1 Admin Roles, RBAC & Delegated Administration 10.2 Audit Logs, Web & Mobile Insights, Scheduled Reports 10.3 Nanolog Streaming Service (NSS) & SIEM Integration 10.4 Disaster Recovery, Business Continuity & Sub-clouds
3.3 Z-Tunnel 1.0 vs. Z-Tunnel 2.0 Deep Dive
Key Takeaways Explain This Topic AI
Z-Tunnel 1.0 is a Layer 7 proxy-based forwarding mechanism utilizing HTTP CONNECT tunnels over TCP port 80/443, capable of forwarding only web-based (HTTP/HTTPS) traffic.
Z-Tunnel 2.0 is a Layer 3/4 network encapsulation protocol utilizing DTLS (UDP port 443) with dynamic TLS (TCP port 443) fallback, capable of tunneling all IP-based traffic including TCP, UDP, and ICMP.
DTLS eliminates the TCP-over-TCP 'meltdown' problem, preventing severe latency and packet retransmission cascades over lossy mobile or Wi-Fi connections.
Path MTU Discovery (PMTUD) and TCP Maximum Segment Size (MSS) clamping are dynamically performed by ZCC to prevent fragmentation caused by DTLS/TLS encapsulation overhead.
Automatic fallback from DTLS to TLS occurs within seconds when intermediate firewalls block UDP port 443, and ZCC periodically retries DTLS in the background.
Last updated: August 2026
3.3 Z-Tunnel 1.0 vs. Z-Tunnel 2.0 Deep Dive
Traffic forwarding between Zscaler Client Connector and the Zscaler Public Service Edge (ZIA Public Edge) relies on two proprietary encapsulation architectures: Z-Tunnel 1.0 and Z-Tunnel 2.0 . Transitioning from legacy proxy-based tunneling to modern datagram encapsulation represents a major architectural milestone in zero-trust engineering.
1. Technical Comparison: Z-Tunnel 1.0 vs. Z-Tunnel 2.0
Understanding the precise differences across protocol layers, encapsulation methods, supported traffic types, and performance characteristics is heavily tested on the ZDTA exam. +-------------------------------------------------------------------------+
- | Z-TUNNEL 1.0 ARCHITECTURE |
- | - Application Layer (Layer 7) Proxy Forwarding |
- | - HTTP CONNECT method inside TCP port 80 / 443 tunnel |
- | - Encapsulates ONLY web protocols (HTTP / HTTPS) |
- | - Dependent on PAC files for micro-routing |
- | - Non-web traffic (UDP, ICMP, VoIP RTP, custom TCP) is DROPPED/BYPASSED|
- +-------------------------------------------------------------------------+
- +-------------------------------------------------------------------------+
- | Z-TUNNEL 2.0 ARCHITECTURE |
- | - Network / Transport Layer (Layer 3/4) Encapsulation |
- | - DTLS (UDP 443) primary transport with dynamic TLS (TCP 443) fallback |
- | - Encapsulates ALL IP protocols (TCP, UDP, ICMP, DNS) |
- | - Kernel driver captures all IP packets; no PAC dependency for capture |
- | - Full Cloud Firewall and Cloud IPS inspection across all ports |
- +-------------------------------------------------------------------------+
- Technical Dimension Z-Tunnel 1.0 Z-Tunnel 2.0
- OSI Layer Layer 7 (Application Proxy) Layer 3 / Layer 4 (Network Encapsulation)
- Primary Transport Protocol TCP (Standard HTTP CONNECT over Port 80/443) DTLS (Datagram TLS over UDP Port 443 )
- Fallback Protocol Secondary HTTP Proxy over TCP Port 80/443/8080 TLS (over TCP Port 443 )
- Supported Traffic HTTP and HTTPS only All IP traffic (All TCP ports, UDP, ICMP)
Non-Web Traffic Handling Dropped or routed direct based on OS routing (No ZIA inspection) Fully encapsulated and inspected by ZIA Cloud Firewall/IPS
Packet Capture Method Local Proxy redirection ( 127.0.0.1:9000 ) via PAC Driver-level packet capture (Route-Based or NDIS LWF)
TCP Meltdown Risk High (TCP traffic inside TCP tunnel over lossy links) Zero under DTLS (No double-retransmission cascade)
- Firewall Requirements Outbound TCP 80, 443 Outbound UDP 443 (DTLS) and TCP 443 (TLS fallback)
- 2. DTLS Mechanics & Automatic TLS Fallback
- Why DTLS Matters: Solving the "TCP-over-TCP Meltdown"
When standard TCP traffic (e.g., HTTPS web browsing or file transfers) is encapsulated inside a TCP-based tunnel (such as Z-Tunnel 1.0 or TLS-based VPNs), any packet loss on the physical network causes both the inner TCP stream and the outer TCP tunnel to independently trigger congestion control, window shrinking, and retransmissions.
This phenomenon, known as TCP-over-TCP Meltdown , leads to catastrophic throughput degradation over unstable connections (cellular networks, hotel Wi-Fi, satellite links). Datagram Transport Layer Security (DTLS) runs over UDP , providing TLS-grade encryption without connection-oriented transport lockstep. If a packet is lost, only the inner application TCP stack handles retransmission, preserving maximum throughput. +-----------------------------------------------------------------------+
- | Z-TUNNEL 2.0 TRANSPORT STATE MACHINE |
- +-----------------------------------------------------------------------+
- |
- [ Initialize Z-Tunnel 2.0 ]
- |
- v
- +-----------------------------------------------------+
- | Attempt DTLS Connection (UDP Port 443) to ZIA Edge |
- +--------------------------+--------------------------+
- |
- +---------------+---------------+
- | |
- [ Handshake Success ] [ Handshake Timeout / Blocked ]
- | |
- v v
- =========================== ===========================
- PRIMARY: DTLS Active FALLBACK: TLS Active
- Full UDP 443 Encapsulation - Encapsulate over TCP 443
- Zero TCP Meltdown - Immediate session continuity
- =========================== ===========================
- ^ |
- | [ Periodic Background Probe ]|
- +---[ Succeeds over UDP 443 ]-+
- The Fallback and Recovery Lifecycle
Initial DTLS Handshake :
ZCC initiates a DTLS handshake to the closest Zscaler Public Service Edge on UDP port 443 .
Detection of UDP Blocking :
In restrictive environments (e.g., hotel captive portals, guest Wi-Fi networks, or legacy enterprise firewalls blocking outbound UDP 443), the DTLS handshake packets are silently dropped.
Seamless Transition to TLS :
Upon reaching the connection timeout (typically within 3 to 5 seconds), ZCC immediately falls back to TLS over TCP port 443 .
User connections proceed uninterrupted without requiring manual reconnects or displaying error prompts.
Dynamic Background Re-Probing :
While operating in TLS fallback mode, ZCC periodically sends lightweight background DTLS probes on UDP 443. As soon as UDP connectivity is restored (e.g., user completes captive portal authentication or roams to a new network), ZCC cleanly transitions the active session back to DTLS.
3. MTU Path Discovery & MSS Clamping
Encapsulating network packets inside a secure DTLS/TLS tunnel adds protocol headers to every packet: Total Overhead = IP Header (20B) + UDP Header (8B) + DTLS Record Header (13B) + Auth Tag/Padding (24-32B) ≈ 65 − 73 Bytes \text{Total Overhead} = \text{IP Header (20B)} + \text{UDP Header (8B)} + \text{DTLS Record Header (13B)} + \text{Auth Tag/Padding (24-32B)} \approx 65-73 \text{ Bytes} Total Overhead = IP Header (20B) + UDP Header (8B) + DTLS Record Header (13B) + Auth Tag/Padding (24-32B) ≈ 65 − 73 Bytes
If an endpoint running on a standard 1500-byte Ethernet network transmits a 1500-byte IP packet, adding 70 bytes of DTLS encapsulation creates a 1570-byte packet. When this packet encounters a network link with a standard 1500-byte Maximum Transmission Unit (MTU), intermediate routers must either fragment the packet or drop it if the DF (Don't Fragment) bit is set. Standard Ethernet Frame (MTU = 1500 Bytes):
- +-----------------------------------------------------------------+
- | IP Header (20B) | TCP Header (20B) | TCP Payload (Max 1460B) |
- +-----------------------------------------------------------------+
Encapsulated Z-Tunnel 2.0 DTLS Packet:
- +-------------------------------------------------------------------------------+
- | Outer IP (20B) | UDP (8B) | DTLS (13B) | Crypto Tag (24B) | Inner IP Packet |
- +-------------------------------------------------------------------------------+
- |<------------------- DTLS Overhead (~65-73 Bytes) -------->|
- ZCC Performance Optimizations
Path MTU Discovery (PMTUD) :
ZCC dynamically tests the path between the endpoint and the Zscaler Public Service Edge using ICMP and DTLS probe sizing to determine the exact path MTU (typically converging between 1360 and 1420 bytes ).
TCP MSS Clamping (Maximum Segment Size) :
For all outbound TCP connections initiated by applications on the host, the ZCC driver intercepts the initial TCP SYN and TCP SYN-ACK packets.
ZCC rewrites the advertised MSS option value in the TCP header (clamping it down from 1460 bytes to typically 1320-1360 bytes ).
This forces both the local application and the remote web server to generate TCP segments that fit perfectly inside the DTLS tunnel without ever triggering IP fragmentation.
4. Traffic Inclusion & Exclusion Rules in Z-Tunnel 2.0
While Z-Tunnel 2.0 is designed to capture all IP traffic, enterprise architectures frequently require bypassing specific high-bandwidth, latency-sensitive, or uninspectable streams directly to the local Internet breakout.
Within the Forwarding Profile, administrators configure Z-Tunnel 2.0 Bypass Rules across three dimensions:
Destination IPv4 / IPv6 Subnet Bypasses :
Excludes direct communication to local subnets, split-tunnel corporate data centers, or cloud resources.
Example: Bypassing 192.168.0.0/16 , 10.0.0.0/8 , or specific SaaS IP blocks.
Domain & Wildcard FQDN Bypasses :
Resolves domains dynamically and instructs the driver to bypass matching traffic.
Example: *.microsoft.com , *.zoom.us .
Protocol & Port Exclusions (Real-Time Media Optimization) :
Real-time audio/video collaboration tools (e.g., Microsoft Teams, Zoom, Webex) rely on latency-sensitive UDP media streams that do not benefit from deep proxy inspection.
Administrators configure port-based exclusions (e.g., UDP Ports 3478-3481 for Teams) to allow direct local breakout via the user's ISP, minimizing jitter and round-trip time (RTT).