By default,
Prisma Agent automatically selects the gateway that
provides the best performance based on current latency and availability — a
mechanism known as
Best Location. This works well for most users, but
users who work from a consistent physical location may find that a specific gateway
always serves them best. Without a persistent preference, the agent may select a
different gateway after each reconnection.
Preferred gateway selection lets users pin a specific location by selecting it from
the Location drop-down. A star icon appears next to the
pinned location to indicate it is set as the preferred gateway. Once pinned, the
agent reconnects to that location after network changes, sleep/wake cycles, reboots,
and other external factors such as WebSocket connection issues and token expiry, and
the preference persists until the user explicitly clears it. To return
to automatic selection, users choose Best Location, which
clears the preferred gateway setting.
This feature is available on Windows and macOS endpoints. To verify which gateway a
user's agent
connected to — and to review the history of connection attempts — administrators can
run the pacli connection history command on the endpoint or
in a remote shell. To see only the most recent connection, run pacli
connection without a subcommand.