zscaler/zscaler-mcp-server/create-forwarding-policy-rule
Claude Code and agent skill by zscaler/zscaler-mcp-server
- community
Checking that the SKILL.md file is still in the repository.
Create ZPA client forwarding policy rules that control how traffic is routed from the Zscaler Client Connector. Supports actions: BYPASS (direct internet), INTERCEPT (route through ZPA), INTERCEPT_ACCESSIBLE (route only if reachable). Conditions support APP, APP_GROUP, SAML, SCIM, SCIM_GROUP, PLATFORM, COUNTRY_CODE, POSTURE, TRUSTED_NETWORK, and CLIENT_TYPE. Use when an administrator asks: 'Bypass ZPA for specific apps', 'Route traffic directly', or 'Create a forwarding exception.'
Install
npx vskill@latest install zscaler/zscaler-mcp-server/create-forwarding-policy-ruleSKILL.md
ZPA: Create Forwarding Policy Rule
Keywords
forwarding policy, forwarding rule, bypass zpa, intercept traffic, direct access, client forwarding, traffic routing, bypass rule, split tunnel, forwarding exception, zpa bypass
Overview
Create ZPA client forwarding policy rules that control how the Zscaler Client Connector routes traffic. Forwarding policies determine whether traffic for specific applications is intercepted by ZPA (tunneled through the Zscaler cloud), bypassed (sent directly to the internet), or conditionally intercepted.
Use this skill when: An administrator asks to bypass ZPA for certain applications, create split-tunnel exceptions, route traffic directly for specific users or platforms, or configure conditional forwarding rules.
Action Types
| Action | Description | Use Case | |
|---|---|---|---|
BYPASS | Traffic goes directly to the destination, skipping ZPA entirely | Apps that don't need ZPA tunneling (e.g., video conferencing, local printers) | |
INTERCEPT | Traffic is routed through ZPA (tunneled via the Zscaler cloud) | Default for private applications that need ZPA access | |
INTERCEPT_ACCESSIBLE | Traffic is intercepted only if the destination is reachable through ZPA | Hybrid apps that may or may not be behind ZPA depending on the user's location |
Forwarding Policy Design Rules (baseline alignment)
Reference: ZPA Baseline Recommendations v1.0 §Client Forwarding Policy Recommendations.
- Always use "Only Forward Allowed Applications" — never the default "Forward to ZPA". The default exposes the entire ZPA application list to every ZCC-enrolled device, regardless of access-policy permissions.
- Prefer FQDN segments to IP/CIDR. Use IP only when DNS-based discovery is not feasible (legacy apps).
- Reject overly broad scope. Never use
*.*wildcards or CIDRs ≥ /16 (e.g.10.0.0.0/8) in forwardingINTERCEPTrules — break them into smaller FQDN or per-subnet segments. - Pair forwarding rules with `SCIM_GROUP` scoping so users only see and intercept apps they're authorized for.
- Order rules from most specific to least specific. Place private-app
INTERCEPTrules aboveBYPASSand discovery rules.
Canonical Bypass List (recommended)
Reference: doc page 36. These destinations should be bypassed (not intercepted) in every ZPA tenant to avoid breaking ZCC operation, OS updates, IdP/SSO sign-in, and certificate validation:
When creating bypass rules for these, use one rule per logical group (Microsoft, Apple, CRL/OCSP, EDR) so they're easy to audit and update.
Condition Object Type Reference
Forwarding policies support the same condition object types as access policies. Each condition block must contain a single object type. Multiple condition blocks are ANDed together.
Value-Based Object Types (use values)
| Object Type | Description | Values | |
|---|---|---|---|
APP | Application segments | Application segment IDs | |
APP_GROUP | Segment groups | Segment group IDs | |
CLIENT_TYPE | Client connector type | zpn_client_type_zapp, zpn_client_type_exporter, zpn_client_type_browser_isolation, zpn_client_type_ip_anchoring, zpn_client_type_edge_connector, zpn_client_type_branch_connector, zpn_client_type_zapp_partner | |
MACHINE_GRP | Machine groups | Machine group IDs | |
LOCATION | Locations | Location IDs |
Entry-Values Object Types (use entry_values with lhs/rhs)
| Object Type | LHS | RHS | |
|---|---|---|---|
SAML | SAML attribute ID | Attribute value to match | |
SCIM | SCIM attribute header ID | Attribute value to match | |
SCIM_GROUP | Identity Provider ID | SCIM group ID | |
PLATFORM | linux, android, ios, mac, windows | "true" or "false" | |
COUNTRY_CODE | ISO 3166 Alpha-2 code (US, CA, GB) | "true" or "false" | |
POSTURE | Posture profile posture_udid | "true" or "false" | |
TRUSTED_NETWORK | Trusted network network_id | "true" or "false" |
Workflow
Step 1: Gather Requirements
Ask the administrator:
Required:
- Rule name
- Action:
BYPASS,INTERCEPT, orINTERCEPT_ACCESSIBLE - Which applications or application groups should this rule apply to?
Optional:
- Description
- Who should this apply to? (specific users/groups or everyone)
- Platform restrictions (e.g., only bypass on Windows)
- Location or network conditions
Common scenarios:
- "Bypass ZPA for Zoom/Teams traffic" ->
BYPASSwith specific APP or APP_GROUP - "Route all traffic through ZPA for contractors" ->
INTERCEPTwith SCIM_GROUP condition - "Direct access when on corporate network" ->
BYPASSwith TRUSTED_NETWORK condition
Step 2: Look Up Required IDs
For application scoping:
For identity conditions:
For trusted networks:
For posture profiles:
Step 3: Build Conditions and Create the Rule
The conditions format is identical to access policy rules. See the examples below.
Step 4: Verify
Present the rule summary including action, conditions, and scope.
Ready-to-Use Examples
Example 1: Bypass ZPA for a Segment Group
Bypass ZPA tunneling for all applications in a segment group (e.g., video conferencing apps).
Step 1: Find the segment group
Step 2: Create rule
Example 2: Bypass for Specific Users on Trusted Network
When users are on the corporate trusted network, bypass ZPA and go direct.
Step 1: Look up IDs
Step 2: Create rule
Logic: User must be on the corporate trusted network AND be in the Office_Workers group.
Example 3: Intercept All Traffic for Contractors
Force all contractor traffic through ZPA regardless of application.
Step 1: Look up contractor group
Step 2: Create rule
Example 4: Platform-Specific Bypass
Bypass ZPA for specific applications only on Linux and Android devices.
Example 5: INTERCEPT_ACCESSIBLE for Hybrid Apps
Use INTERCEPT_ACCESSIBLE for applications that may or may not be reachable through ZPA depending on the user's location.
When to use: The application exists both on the corporate network (reachable via ZPA) and on the public internet. INTERCEPT_ACCESSIBLE routes through ZPA if connectors can reach it, otherwise falls back to direct access.
Example 6: Combined SAML + Platform + Country
Bypass ZPA for a SAML-identified group, only on Windows, only from the US.
Logic: App must be in the Finance segment group AND user has SAML group "Finance" AND platform is Windows AND country is US.
Forwarding vs Access Policy Comparison
| Aspect | Access Policy | Forwarding Policy | |
|---|---|---|---|
| Purpose | Who can access apps | How traffic reaches apps | |
| Actions | ALLOW, DENY, REQUIRE_APPROVAL | BYPASS, INTERCEPT, INTERCEPT_ACCESSIBLE | |
| Evaluated when | After forwarding decision | Before access decision | |
| Tool | zpa_create_access_policy_rule | zpa_create_forwarding_policy_rule | |
| Condition types | Same | Same |
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/zpa/create-forwarding-policy-rule/SKILL.md
Popularity
- Repository stars
- 39
- Repository forks
- 18
- 7-day trend score
- 18
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/zscaler/zscaler-mcp-server/create-forwarding-policy-rule)