Skip to main content

Forwarding Profile Regional and Custom Proxy

Forwarding profile regional and custom proxies define how GlobalProtect forwarding profiles steer traffic to regional Prisma Access locations or custom explicit proxies in Strata Cloud Manager. The scm CLI provides commands to create, update, delete, show, backup, and load regional and custom proxies.

Overview

The forwarding-profile-regional-and-custom-proxy commands allow you to:

  • Create regional and custom proxy definitions for forwarding profiles
  • Configure primary/secondary custom proxy servers, connectivity preferences, and fallback behavior
  • Update existing proxy configurations
  • Delete proxies that are no longer needed
  • Bulk import proxies from YAML files
  • Export proxies for backup or migration
note

Forwarding profile regional and custom proxies live exclusively in the Mobile Users folder. Snippet and device locations are not supported.

Field Reference

FieldValuesDescription
typegp-and-pac (default), ztna-agentProxy type
proxy_1 / proxy_2fqdn, port (1-65535), locationCustom proxy servers
connectivity_preferencetunnel, proxy, adns, masque (each with enabled)Connectivity preference entries
fallback_optionfail-open, fail-safeBehavior when the proxy is unreachable
location_preferencebest-available-pa-location, specific-pa-locationPrisma Access location selection
prisma_access_locationsname (americas, europe, apac) + locations listSpecific Prisma Access locations

Set Forwarding Profile Regional and Custom Proxy

Create or update a forwarding profile regional and custom proxy.

Syntax

scm set mobile-agent forwarding-profile-regional-and-custom-proxy NAME [OPTIONS]

Arguments

ArgumentDescriptionRequired
NAMEName of the regional and custom proxyYes

Options

OptionDescriptionRequired
--folder TEXTFolder location (must be Mobile Users)Yes
--type TEXTProxy type (gp-and-pac, ztna-agent)No
--proxy-1-fqdn TEXTPrimary proxy server FQDNNo
--proxy-1-port INTPrimary proxy server port (1-65535)No
--proxy-1-location TEXTPrimary proxy server locationNo
--proxy-2-fqdn TEXTSecondary proxy server FQDNNo
--proxy-2-port INTSecondary proxy server port (1-65535)No
--proxy-2-location TEXTSecondary proxy server locationNo
--fallback-option TEXTFallback option (fail-open, fail-safe)No
--location-preference TEXTLocation preferenceNo
--description TEXTDescriptionNo
tip

Nested connectivity_preference and prisma_access_locations entries are supported via the load command's YAML schema.

Examples

$ scm set mobile-agent forwarding-profile-regional-and-custom-proxy "emea-proxy" \
--folder "Mobile Users" \
--type gp-and-pac \
--proxy-1-fqdn "proxy1.example.com" \
--proxy-1-port 8080 \
--fallback-option fail-open
Created forwarding profile regional and custom proxy: emea-proxy in folder Mobile Users

Show Forwarding Profile Regional and Custom Proxy

Display forwarding profile regional and custom proxies.

Syntax

scm show mobile-agent forwarding-profile-regional-and-custom-proxy [NAME] [OPTIONS]

Arguments

ArgumentDescriptionRequired
NAMEName of the regional and custom proxy to show; omit to list allNo

Options

OptionDescriptionRequired
--folder TEXTFolder location (must be Mobile Users)Yes
--output, -o [table|json|yaml]Output format (default: table)No
--max-results INTEGERMaximum number of results to displayNo

Examples

# List all regional and custom proxies in the folder
$ scm show mobile-agent forwarding-profile-regional-and-custom-proxy --folder "Mobile Users"

# Show a specific regional and custom proxy by name
$ scm show mobile-agent forwarding-profile-regional-and-custom-proxy "emea-proxy" --folder "Mobile Users"

Delete Forwarding Profile Regional and Custom Proxy

Remove a forwarding profile regional and custom proxy.

Syntax

scm delete mobile-agent forwarding-profile-regional-and-custom-proxy NAME [OPTIONS]

Arguments

ArgumentDescriptionRequired
NAMEName of the regional and custom proxyYes

Options

OptionDescriptionRequired
--folder TEXTFolder location (must be Mobile Users)Yes
--forceSkip confirmation promptNo

Examples

$ scm delete mobile-agent forwarding-profile-regional-and-custom-proxy "emea-proxy" --folder "Mobile Users" --force
Deleted forwarding profile regional and custom proxy: emea-proxy from folder Mobile Users

Backup Forwarding Profile Regional and Custom Proxy

Export all forwarding profile regional and custom proxies from a folder to a YAML file.

Syntax

scm backup mobile-agent forwarding-profile-regional-and-custom-proxy [OPTIONS]

Options

OptionDescriptionRequired
--folder TEXTFolder to backup from (defaults to Mobile Users)No
--file PATHOutput file path (defaults to forwarding-profile-regional-and-custom-proxy-{location}.yaml)No

Examples

$ scm backup mobile-agent forwarding-profile-regional-and-custom-proxy --folder "Mobile Users"
Successfully backed up 2 forwarding profile regional and custom proxies to forwarding-profile-regional-and-custom-proxy-mobile-users.yaml

Load Forwarding Profile Regional and Custom Proxy

Bulk import forwarding profile regional and custom proxies from a YAML file. All nested fields are supported.

Syntax

scm load mobile-agent forwarding-profile-regional-and-custom-proxy [OPTIONS]

Options

OptionDescriptionRequired
--file PATHYAML file to load fromYes
--dry-runSimulate execution without applying changesNo
--folder TEXTOverride folder location for all objectsNo

YAML Schema

forwarding_profile_regional_and_custom_proxies:
- name: emea-proxy
folder: "Mobile Users"
type: gp-and-pac
proxy_1:
fqdn: proxy1.example.com
port: 8080
proxy_2:
fqdn: proxy2.example.com
port: 8080
connectivity_preference:
- name: tunnel
enabled: true
- name: proxy
enabled: false
fallback_option: fail-open
- name: ztna-proxy
folder: "Mobile Users"
type: ztna-agent
location_preference: specific-pa-location
prisma_access_locations:
- name: europe
locations:
- "Frankfurt"

Examples

# Preview without applying
$ scm load mobile-agent forwarding-profile-regional-and-custom-proxy --file regional_proxies.yml --dry-run

# Apply the configurations
$ scm load mobile-agent forwarding-profile-regional-and-custom-proxy --file regional_proxies.yml
Created forwarding profile regional and custom proxy: emea-proxy
Created forwarding profile regional and custom proxy: ztna-proxy

Summary: 2 created, 0 updated, 0 unchanged