Skip to content

Write your first access policy

Access policies decide what every sign-in gets. This page walks through the parts of a policy on Access › Access policies, explains the order in which Airgate checks them, and builds two typical policies: employees on 802.1X and printers by MAC address.

  • At least one switch or AP under Network › Switches and APs. See Add your first switch or AP.
  • For user sign-ins, a directory under Access › Directories, or local users under Access › Local users.
  • An Airgate role with write access to policy (Tenant Administrator or Network Administrator).
sign-in ─▶ policy 1 applies? ──no──▶ policy 2 applies? ──no──▶ … ──▶ Nothing matched: Deny
│ yes
▼
method allowed? ──no──▶ Deny
│ yes
▼
account / device checked in the policy's directories
│
▼
rule 1 matches? ──no──▶ rule 2 matches? ──no──▶ … ──▶ Default (Deny or Allow)
│ yes
▼
Then: Allow with VLAN / role / ACL / SGT / timeout, an enforcement profile, or Deny
  • Policies are checked from the top. The first enabled policy whose Applies when settings match handles the sign-in. Later policies are not looked at. If no policy matches, the sign-in is denied (the Nothing matched row).
  • Rules are checked from the top. Inside the policy, the first rule whose conditions are all true wins. If no rule matches, the policy’s Default row decides: Deny or Allow.
  • Put specific things first. A policy for one SSID goes above a catch-all policy; a rule for one group goes above a rule for everyone.
Field Meaning
Name Shown in the Sign-in log as the policy that handled the sign-in.
Status On or Off. An off policy is skipped.
Field Meaning
Connection 802.1X (laptops and phones signing in with a certificate or an account), MAC authentication (printers, cameras and devices that cannot sign in) or Any sign-in (802.1X, passwords and MAC authentication).
Wi-Fi networks (SSID) Only these networks. Leave empty for any network, wired included. Separate several with commas. The name must match exactly.
Switches and APs Limit the policy to one network device group, or All switches and APs.

For 802.1X and Any sign-in:

Field Meaning
Allowed methods EAP-TLS (certificate), PEAP (username and password), EAP-TTLS (username and password), and for Any sign-in also PAP, CHAP and MS-CHAP. Anything else is refused.
Check accounts in The directories that hold the accounts, checked in this order. The first directory that has the user answers. The same directories also supply groups and attributes for certificate (EAP-TLS) sign-ins.

For MAC authentication:

Field Meaning
Which devices Any device: the rules decide, also for devices not known yet. Known devices only: devices not under Devices are refused before the rules run.

Each rule has a Rule name, conditions under When, and an action under Then. All conditions of a rule must be true. A rule without conditions matches everyone the policy handles.

Condition (When) What it checks
User is in group The user is a member of a group in the chosen directory (Authorization:<directory>:Groups).
Wi-Fi network (SSID) is The SSID of the connection (Connection:SSID).
Device is in MAC list The device’s MAC address is in a list under Devices › MAC lists.
Device type is The type the profiler gave the device, such as Printer or IP Camera (Endpoint:Category).
Device is Known (added to Devices) or Not known yet (Endpoint:Status).
Intune managed The device is managed by Intune (Endpoint:Intune Managed).
Intune compliance Compliant, Not compliant or In grace period (Endpoint:Intune Compliance State).
SentinelOne agent The SentinelOne agent is installed (Endpoint:SentinelOne System Found).
SentinelOne threats None (clean) or Infected (Endpoint:SentinelOne Infected).
BYOD device The device was onboarded through a BYOD portal (Endpoint:BYOD).
Guest portal login The device’s guest portal login is Still valid or None or expired (Endpoint:Access_Valid_Till).
Network device group is The switch or AP is in this device group (Device:Device-Group).
Signed in with The sign-in method: PEAP, EAP-TLS, TTLS, PAP, MS-CHAP or MAC address (Authentication:OuterMethod).
Action (Then) Meaning
Access: Allow, Send: These settings Accept and send the values you fill in: VLAN (number or name; empty keeps the port’s VLAN), Role (Aruba user role), Security group tag (Cisco TrustSec SGT, 1–65519), ACL or firewall policy (sent as Filter-Id), Re-check after (seconds) (sent as Session-Timeout). With nothing filled in, the device is simply allowed.
Access: Allow, Send: An enforcement profile Accept and send a profile from Access › Enforcement profiles, for vendor attributes the simple settings do not cover.
Access: Deny Refuse the sign-in.
  1. Go to Access › Access policies, select Add a policy and pick Employees.
  2. Name: Employees. Connection: 802.1X. Wi-Fi networks (SSID): Corp-WiFi.
  3. Allowed methods: EAP-TLS. Add PEAP only if you also allow password sign-ins.
  4. Check accounts in: your directory, for example Contoso AD.
  5. Rules:
Order Rule When Then
1 IT staff User is in group Contoso AD · IT-Admins Allow, VLAN 20
2 Staff User is in group Contoso AD · Staff Allow, VLAN 110
Default no rule above matches Deny
  1. Select Save changes.

Example 2: Printers and IoT by MAC address

Section titled “Example 2: Printers and IoT by MAC address”
  1. Select Add a policy and pick IoT and printers.
  2. Name: IoT. Connection: MAC authentication. Which devices: Any device.
  3. Rules:
Order Rule When Then
1 Printers Device is in MAC list Printers Allow, VLAN 40
2 Cameras Device type is IP Camera Allow, VLAN 50, ACL or firewall policy CAMERAS-ONLY
3 Known devices Device is Known (added to Devices) Allow, VLAN 60
Default no rule above matches Deny
  1. Move the policy so that it sits where you want it in the list (Move up / Move down), then select Save changes.
  1. Go to Access › Test access. Test A person signing in with a user from each group, and A device (MAC address) with a printer’s MAC. The Result shows the matched rule and the VLAN.
  2. Connect real devices and check Monitor › Sign-in log. The Rule column shows which rule decided.
Symptom Cause Fix
No access policy handles this sign-in No policy’s Applies when matches. Check the SSID, the connection type and the device group.
Denied: member of group check failed The user is not in the group the rule needs, or the directory returned no groups. Check the group membership in the directory, and that the directory is under Check accounts in.
Denied: no rule of the policy allowed this device No rule matched and the default is Deny. Open the record’s Computed attributes tab and compare with the rule conditions.
The wrong rule matched A broader rule sits above a more specific one. Move the specific rule up.
© 2026 Airowire Networks Pvt. Ltd. Airgate is a product of Airowire.Product · Release notes · Security