Access policies

View as Markdown

In Ping64, access groups organize Zero Trust nodes and network resources for use by access policies, routes, and other configurations. Access policies describe which sources may or may not reach which destinations, and the applicable protocol, direction, and ports. Creating a group does not itself grant access. Saving a policy does not mean all relevant nodes have received it or that the destination service is reachable.

This chapter explains how to configure and verify access policies, including source, destination, protocol, direction and action. Before changing a policy, assess how other policies and routes affect access.

Before You Begin

  • Use an administrator account with the required permissions to manage Zero Trust access groups and policies. Confirm that participating nodes are connected to Zero Trust and required network resources are ready.
  • Identify sources, destinations, business protocols and ports to allow or restrict, and whether reverse access is required. Prefer the smallest scope that meets the business need and prepare both permitted and non-permitted test subjects.
  • Review existing policies, routes, and group references. Multiple configurations can affect a path; do not conclude the final result from one new policy alone.
  • For an internal service, confirm that the routing node can reach the target and meet forwarding requirements, and check the service, firewall, and return path. See Configure Zero Trust Network Routes.

Port configuration limit: One policy rule may contain multiple individual ports or one or more port ranges, but do not mix individual ports with ranges in the same rule. For example, do not enter both 443 and 8000-8080 in one rule: saving can fail even if the interface accepts the input. If both are needed, consider separate policies, check each source, destination, action and security check, and verify their combined effect in a pilot. Do not combine * with other ports.

Create an Access Policy

  1. Under Zero Trust access control, open Policies. If the list contains policies, select Create; if it is empty, select Create Policy. Enter the policy name and any necessary description.
  2. Choose ALL, TCP, UDP, or ICMP, and select “Accept” or “Drop” according to the requirement. If using a security check, first confirm what it checks, the applicable subjects, and organizational requirements.
  3. Under “Sources”, select access groups or a specific node. Under “Destinations”, select access groups, a node, or a network resource. Specify objects for the selected types and verify that they are the intended source and destination.
  4. Check “Direction”: the page offers source-to-destination and bidirectional options. When the destination is a network resource, the direction control is unavailable; follow the displayed direction and do not assume reverse access is granted.
  5. For TCP or UDP, configure ports as needed. An empty selection means all ports. Enter a single port, a valid range, or *, such as 443 or 8000-8080, and submit the input as prompted. Port values must be between 1 and 65535.
  6. Save and check the policy name, source, destination, protocol, direction, action, and enabled status in the list. After relevant nodes receive the configuration, test both expected permitted and non-permitted subjects, and review other applicable policies.

For example, to let pilot development nodes access an internal application, add them to a development access group and prepare the target network resource. Create a policy with that source group, the resource as destination, TCP, port 443, and “Accept”. After saving and confirming it is enabled, test from a pilot node and from a node outside the intended source. This is not a default policy; other policies, routes, the target service, and network firewalls also affect the result.

Recheck after changing options: Switching from TCP or UDP to ALL or ICMP clears entered ports and ranges. Switching back to TCP or UDP does not restore them; an empty port field means all ports. Changing the source or destination type also clears selections on that side. Choosing a network resource as destination changes the direction to source-to-destination; do not assume an earlier bidirectional setting is restored when switching back. Before saving, reselect objects and verify protocol, ports, and direction to avoid unintentionally widening or changing access.

Overlapping policies: The same source, destination, protocol, and port can match multiple allow or deny policies. For example, if an endpoint belongs to both an allowed group and a restricted group, check both memberships, directions, ports, and security checks, then test new connections from that endpoint. Do not infer the outcome solely from list order or one rule; reduce conflicting overlap where possible and verify routes and target-side controls as well.

Network error messages: Some endpoint processing paths may permit certain ICMP error messages, such as destination-unreachable or time-exceeded feedback, even when a relevant access policy denies traffic. Do not interpret a deny policy as blocking every network control message, or treat receipt of such feedback as proof that the business service is reachable. Verify business connections and control requirements separately on the actual platforms.

Use with Network Routes

A policy controls matching access traffic; a route provides a path to the target. When accessing a network through a routing node, check the node, route effective scope, and policy source, destination, protocol, and ports together. Route distribution is not a substitute for testing access control.

Important: An empty “Policy Target Groups” selection on a route generates a default allow rule; it does not mean default deny. To restrict access, select target groups on the route and confirm an enabled policy selects the same groups and intended sources. Complete the other necessary route settings and test from both permitted and non-permitted endpoints.

Effective Scope controls which endpoints receive the route; it does not restrict the sources in that default allow rule to those endpoints. The default rule does not narrow matching forwarded traffic by source, protocol or port. Actual reachability still depends on connectivity, other controls and the destination network. Do not rely on distribution scope alone for isolation; select policy target groups and test other paths separately.

Verify existing connections: After tightening a policy or adding a deny rule, do not assume all existing sessions terminate immediately, even after nodes receive the update. Some established connections can continue on certain connection or routing paths; behavior depends on the endpoint platform, connection state and other controls. Assess active business sessions before the change, then separately test existing sessions and new connections in an approved pilot. If immediate termination is required, take and verify additional action under the organization’s incident response process; do not rely on a successful policy save alone.

Verify, Change, and Troubleshoot

  1. Confirm the policy is enabled, sources and destinations exist, group membership is correct, and relevant nodes are connected and have received the configuration. Saving, distribution, and effective enforcement are distinct states.
  2. Check protocol, ports, and direction. For a network-resource destination, also check the resource, routing node, target network and service, and return path.
  3. Test both intended permitted and non-permitted sources. One successful connection or a successful save does not prove the complete security boundary.
  4. If results differ from expectations, examine other policies, the route default allow rule, selected security checks, and the destination firewall. Record the test subjects, results, and page messages for an authorized administrator to investigate.
  5. Before disabling or deleting a policy or changing group membership, review references and affected services, record the existing settings, and follow organizational procedures. Recheck services and restrictions after the change. Find the policy in the list: choose the row’s “Edit” action to change and save it, use the status switch to disable or re-enable it, or choose “Delete” and confirm in the dialog. If an action is unavailable, check permissions and whether an operation is pending. A disabled policy is excluded from subsequent configuration calculations: disabling an allow policy does not guarantee other paths are blocked, and disabling a deny policy may broaden access. Reload and check the status, then test existing sessions and new connections separately. If policy details fail to load, do not treat the failure as an empty policy or delete it without investigation; contact an administrator.

Updated

Search documentation