Skip to content

Manage Edge Access lists and policies

Create a list when you need to reuse the same IP addresses, strings or integers across multiple rules. A rule matches a request or an identity. A policy groups rules under an action, such as Allow or Service Auth.

Create a list and reference it in a rule

  1. In the account dashboard, open Edge Access → Lists.
  2. Under Add List, set the name to job_networks and choose IP list. Add your job's source IP addresses or CIDR ranges, then click Add List.
  3. Open Edge Access → Rules → Add Rule. Name the rule Known job networks and define it as follows.
ip.src in $job_networks

Use an IP list with ip.src, a String list with text fields such as http.host, and an Int list with numeric fields such as ip.geoip.asnum.

Put the rule into a policy

  1. Open Edge Access → Policies → Add Policy.
  2. Choose an action and select the rule under Associated Rules. Every associated rule must match for the policy to match. A policy with no rules matches everything in its evaluation context.
  3. For an application policy, open Edge Access → Applications and assign the policy to the application. Login Gate policies apply at account level.
  4. Enter a message in the uncommitted changes banner and click Commit.

How policies are applied

Policy action When it applies
Bypass A match grants app access before sign-in or service credential checks. Keep exceptions narrow.
Service Auth Service requests need valid credentials and a matching Service Auth policy. Include the job's path and any network restrictions in this policy.
Login Gate A match on any of the account's Login Gate policies permits the person to request an email code. The application checks access separately.
Allow and Block For signed-in users, the first matching Allow or Block wins when applicable. Without a matching grant, access is denied.

Use Save Order on the Policies screen after changing the order of Allow and Block policies. For example, place a narrow Block above a broader Allow when both apply to the same signed-in user. A Block does not override a matching pre-authentication Bypass or Service Auth grant. During signed-in app evaluation, matching Service Auth policies also take precedence over Allow and Block, so use a dedicated hostname for service traffic when it needs a separate access policy.

Test positive and negative cases after committing. For example, test a signed-in user who should reach the page, one who should be denied, and any script or job on which the application depends.