Skip to main content

1. UniFi Controller MAC Auth Setup

  1. Go to Settings → Profiles → RADIUS.
  2. Create a RADIUS profile:
    • RADIUS server: rad01.vir.isptriage.com
    • Auth Port: 1812
    • Acct Port: 1813
    • Secret: YOURSECRET
    • NAS-Identifier: companyA (optional)
  3. Assign this profile to a Wired Network and enable MAC Authentication.

2. EdgeSwitch / EdgeRouter MAC Auth CLI

Enable MAC-auth on ports:

3. Optional: VLAN Assignment via RADIUS

Ubiquiti supports:
  • Tunnel-Type = VLAN
  • Tunnel-Medium-Type = IEEE-802
  • Tunnel-Private-Group-ID = <vlan_id>
FreeRADIUS can reply with VLAN attributes to automatically assign client ports.