# Access policies

Canonical: https://www.nsecsoft.com/en/docs/ping64-zero-trust/zero-trust/access-control/access-policy/

Language: en-US

Updated: 2026-11-29T13:24:16.40399Z

In Ping64 Zero Trust, access policies define which sources are allowed or denied access to which destinations, including the applicable protocol, direction, and ports. Policies can reference access groups, which organize nodes and network resources; creating a group does not grant access. Saving a policy does not prove that the 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.

First review applicable existing policies for enabled status, source, destination, protocol, ports, direction and required security checks, and assess other policies and routes. If the configuration meets the requirements and the relevant nodes have received it, verify it below without creating or saving a policy solely for testing. Only an authorized administrator should make necessary changes after assessing their impact.

**Other network paths:** An access policy alone does not guarantee that a target service cannot be reached through another network path. For example, an endpoint and service on a connected local network may communicate without the zero-trust connection. Application publishing also offers [proxy-host direct access](https://www.nsecsoft.com/en/docs/ping64-zero-trust/zero-trust/application/application-publishing/), whose path must be assessed separately. If all access must be restricted, review local networks, firewalls, and other entry points with network and service administrators and test each authorized path. A denial on the zero-trust path alone does not prove other paths are blocked.

-   [Before You Begin](https://www.nsecsoft.com/en/docs/ping64-zero-trust/zero-trust/access-control/access-policy/#before-you-begin)
-   [Create an Access Policy](https://www.nsecsoft.com/en/docs/ping64-zero-trust/zero-trust/access-control/access-policy/#create-an-access-policy)
-   [Use with Network Routes](https://www.nsecsoft.com/en/docs/ping64-zero-trust/zero-trust/access-control/access-policy/#use-with-network-routes)
-   [Verify, Change, and Troubleshoot](https://www.nsecsoft.com/en/docs/ping64-zero-trust/zero-trust/access-control/access-policy/#verify-change-and-troubleshoot)

## Before You Begin

-   Check the permissions to view Zero Trust access groups and policies for the task. When changes are needed, an administrator with the relevant management permissions must make them. When selecting a specific node as source or destination, confirm that it has completed Zero Trust enrollment; when selecting a network resource as destination, prepare the required resource. When verifying actual behavior, also confirm that the relevant nodes are connected and have received the configuration.
-   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](https://www.nsecsoft.com/en/docs/ping64-zero-trust/zero-trust/network-resources/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.

**Avoid unintentionally selecting all ports:** If specific ports or ranges are already selected, entering `*` by itself and pressing Enter or moving focus out of the input clears those selections and changes the rule to all ports. When removing entries individually, removing the last specific port or range likewise leaves an empty selection, which means all ports. Whether the policy allows or denies traffic, check the final port selection and business impact before saving. If all ports are not intended, enter and commit the desired ports or ranges again, reopen the saved policy to check them, and verify in a pilot.

**List loading failure:** If the policy list fails to load, it may appear empty; this does not establish that no policies exist. After a loading error, reopen the policy page and confirm it loads successfully before checking existing policies. Contact an administrator if the state remains unclear. If reloading the list fails after a successful save, do not treat the empty list as proof that saving failed or immediately create the policy again.

## Create an Access Policy

**Closing the window and save results:** Closing or canceling discards input that has not been submitted, possibly without another warning. Record information you need to keep before closing. After selecting Save, wait for the result; do not try to undo the operation by closing the window. A submitted request may continue and the policy may still be created or changed. If the window has closed, the request times out, or the result is unclear, do not immediately submit again. Reload the policy list and check the destinations, sources, action, protocol, ports, and security checks before deciding what to do next. Contact an administrator or technical support if the result cannot be confirmed.

**New policy status:** A new policy is enabled when saved. Before saving, configure the source, destination, direction, action, protocol, ports and required security checks, and assess other policies and routes. Afterward, check the status and test allowed and denied access separately from controlled endpoints.

**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.

1.  Under Zero Trust access control, open **Policies**. If the list contains policies, select **Create**; if it is empty, select **Create Policy**. Under **Basic information**, enter the required **Title** and, if needed, a **Description**.
    
2.  Switch to **Access control**. Under **Protocol**, 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. When creating from the policy list, the form initially selects Accept, `ALL` and source-to-destination direction, with no security check selected; sources and destinations still need configuration. Adjust and verify these settings before saving rather than treating the defaults as least privilege.
    
    **Protocols and ports:** Select `TCP` or `UDP` according to the transport used by the service; ports can be configured for either. `ICMP` can be used for network diagnostics or error feedback and has no port setting. `ALL` is not restricted to one of those protocols and has no port setting; its scope may be broader. The selected protocol does not guarantee connectivity or control of every path. Verify it with other policies, routes, and the destination service.
    
    To restrict access using a security check, prepare and enable the required check first, select it here, and save it together with the policy. Do not first create an allow policy without the required check. A failed check alone does not guarantee that access is denied; review other policies and routes, and test allowed and non-allowed access separately. See [Security checks for access policies](https://www.nsecsoft.com/en/docs/ping64-zero-trust/zero-trust/access-control/security-checks/).
    
    **Check security-check selection:** Search runs when the input loses focus; a failed or overlapping query may leave an earlier result visible. Select all operates on the current page. Clearing the current-page selection may also remove selected but unavailable checks on that page, while selections on other pages or hidden by the search may remain. An unavailable check may not be individually selectable, and the form summary may not show every selected item. Clear the search and review checks and status page by page. If the complete scope cannot be confirmed or adjusted as intended, cancel this selection, do not save the policy, and contact an administrator or technical support. Confirming the selection window updates only the policy draft; save the entire policy and verify it.
    
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.
    
    **Select sources and destinations:** Use the action menu beside the relevant field to change the object type, then open its selection window. Multiple access groups can be selected; a specific node or network resource is selected individually on each side. Check the selections and save them in the window before continuing in the policy form; canceling the window discards changes made there. Saving in the window updates only the current policy draft, so save the whole policy as well. With more than two access groups, the form may show only the first two and a count of the remainder. Reopen the window to check the complete selection; if an expected object is missing or the scope cannot be confirmed, cancel and contact an administrator rather than inferring the full scope from the summary. If a previously selected source or destination is absent from the current selectable list, it may be missing from both the form summary and the selection window while still remaining in the policy draft and being submitted. Do not treat an unseen object as removed.
    
4.  Check “Direction”: the available directions are **Source to destination** and **Bidirectional**. When the destination is a network resource, the direction control is unavailable; follow the displayed direction and do not assume reverse access is granted. When the control is available, select the arrow button between source and destination to change direction, then check the arrow state and any displayed hint.
    
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.  After saving, check the name, enabled status and source, destination, protocol and direction summaries in the list. Summaries may omit objects or ports, and the list does not show the action or security checks. To verify the complete selections, action and checks, choose **Edit**, open **Access control** and review them; choose **Cancel** if only reviewing. If details fail to load, contact an administrator rather than treating the list as the complete configuration. If selected objects or checks are not shown or the full scope cannot be confirmed, cancel and ask an administrator to verify it; do not rely only on the dialog summary. After relevant nodes receive the configuration, test expected permitted and non-permitted access separately and check other applicable policies.
    

The following example targets a network resource. The resource’s own path requires an associated network and enabled routing nodes. If traffic actually uses an ordinary network route, a policy that directly targets the resource does not replace the route’s policy target group configuration. Check the actual path and required policies using [Manage Zero Trust Network Resources](https://www.nsecsoft.com/en/docs/ping64-zero-trust/zero-trust/network-resources/resource-objects/) first; contact an administrator or technical support if they cannot be confirmed.

For example, to let pilot development nodes access an internal application, first check development group membership, the target network resource and applicable policies: the source is the development group, the destination is the resource, the protocol is `TCP`, the port is `443`, and the action is “Accept”. An administrator changes the group, resource or policy only when needed; if the policy changes, save it and confirm it is enabled. Once relevant nodes have received the configuration, 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 firewalls also affect the result.

Node-direction example: For an allow policy with pilot node A as the source, node B as the target, protocol `TCP` and port `443`, choosing source to target describes access initiated by A toward B; that rule alone does not cover a new connection initiated by B toward A. Choosing bidirectional also covers new connections in the reverse direction under the same protocol and port conditions. A response to an existing connection is not the same as a newly initiated reverse connection. Other policies, connection state and endpoint environments can also affect the result. Test controlled connections from A and B separately; do not infer the final result from this rule alone.

For example, in the peer-to-peer handling path on some endpoints, `443` is B’s destination port for a new connection from A to B; for a new reverse connection from B to A, the same port condition applies to A’s `443`. If the services use different ports on the two nodes, consider configuring and testing two separate one-way policies. Actual access still depends on other policies, connection state and the services.

If the bidirectional rule above includes a security check, the check evaluates A, the policy-defined source; it does not establish that target B passed. When A passes and B does not, the rule may still allow B to initiate access in the reverse direction. If both sides must satisfy the check, assess separate one-way policies and verify each direction as described in [security checks](https://www.nsecsoft.com/en/docs/ping64-zero-trust/zero-trust/access-control/security-checks/).

**Overlapping source and target membership:** Even with a one-way allow rule, if nodes A and B both belong to the source and target groups, new connections from A to B and from B to A may each match the policy when other conditions are met. If a security check is associated, each node must also satisfy it when acting as the source. The one-way setting follows source and target membership; it does not permanently designate only one node as the initiator. To restrict access to one direction, check and avoid overlapping group membership or select specific nodes. Test new connections from both ends and check other policies and routes.

**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 regular route may generate 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.

**Concurrent access-policy edits:** Saving an edit submits source, destination, action, protocol, ports, security checks, and other settings together. If another administrator has updated the policy while the current form still contains older values, the later save can overwrite newer settings and change access scope. Coordinate with maintainers, record unsaved input and reopen the policy before making changes. Check each setting; after saving, check the configuration again and separately test access that should be allowed and denied. Reopening does not prevent subsequent concurrent changes. Editing and saving does not switch the policy’s enabled status; change and verify that separately in the list.

## Verify, Change, and Troubleshoot

**Small transfers work but larger transfers fail:** Even when access policy permits traffic, packet fragment reordering or loss can affect transfers on some endpoints and network paths. A successful small transfer does not guarantee that a larger one will succeed. Check the source, destination, protocol, port and policy, then compare transfers of different sizes using approved test data. Record the results and ask the network administrator or support to check the path and configuration. Do not broaden access or disable security controls solely to troubleshoot.

**Configuration application errors:** If an error occurs while some endpoints apply access configuration, routes or access rules may have been partially updated and may not be fully restored. Do not assume the change was either fully applied or fully rolled back. Follow the organization’s procedures for independently verified access controls, contact an administrator, and test existing sessions and new connections separately. Saving the configuration again alone does not prove that all endpoints have recovered. For investigation, check the relevant components’ failure records separately as described in [runtime event queries](https://www.nsecsoft.com/en/docs/ping64-zero-trust/zero-trust/audit/view-audit-logs/).

**Effect of changing a security check:** Editing and saving a check or changing its enabled status invalidates its previous results; re-enabling it also requires a new evaluation. In the meantime, Zero Trust rules referencing the check may not match: an allow rule may no longer provide expected access, while a deny rule may no longer provide the expected restriction. Other policies, routes, and connections still affect the outcome. Review references and business impact before the change; afterward, wait for updated results and test access that should be allowed and denied separately. A successful save or re-enabling alone does not establish recovery.

An access failure can also be caused by the destination service, network or route; one failed attempt alone does not prove a deny policy is effective. Using the same destination, protocol and port, initiate new connections from pilot sources that should be allowed and sources that should not, and check the service and path. Analyze the results with the configuration and available audit information. A comparison test or logs alone cannot prove that all paths are controlled.

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. The access-policy deletion dialog shows a generic prompt, not the policy name. Check the target row and policy configuration before opening it; cancel and return to the list if uncertain.
    
    Find the policy in the list: choose the row’s “Edit” action to change and save it, choose **Disabled** or **Enabled** in the row’s action menu to change its status, 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.
    

-   [Access groups](https://www.nsecsoft.com/en/docs/ping64-zero-trust/zero-trust/access-control/access-groups/)
-   [Security checks for access policies](https://www.nsecsoft.com/en/docs/ping64-zero-trust/zero-trust/access-control/security-checks/)
