Ir al contenido

Quick start

This walkthrough assumes the platform is already up (see Installation). In about fifteen minutes you will log in as the initial administrator, get oriented with the objects Taranac ships pre-populated, register your first network device, and confirm an authentication lands on the dashboard.

Taranac is administered entirely through its web admin UI — a single-page application served by the frontend container that talks to the API over HTTPS. There is no separate CLI for day-to-day work; everything below is done in the browser.

The quick-start path: log in as the seeded admin, tour the deny-all baseline, register your first device, then run a first authentication.

On first start the backend seeds exactly one account if the user table is empty: the initial admin. Its credentials come from the environment you set during install:

SettingDefaultNotes
INITIAL_ADMIN_USERNAMEadminThe login name.
INITIAL_ADMIN_EMAILadmin@taranac.localUsed for notifications and password reset.
INITIAL_ADMIN_PASSWORD(empty)If left empty, a strong password is generated and printed once to the backend container log.
INITIAL_ADMIN_GROUP_NAMEAdministratorsThe admin group the account is placed in.

Open the frontend URL and sign in with the username and password. If you did not set a password explicitly, retrieve the generated one from the backend log:

Terminal window
./taranac logs api | grep -i admin

After login you land on the Dashboard (/dashboard), the default route for any authenticated session.

Taranac is usable out of the box because the backend seeds a working baseline on first start. These objects are visible and editable in the admin UI from the moment you log in. Knowing they exist saves you from rebuilding things by hand.

AreaSeeded objectsWhere in the UI
RBAC rolesoperator (create/edit, no delete) and auditor (read-only + audit export) — both system rolesInfrastructure → RBAC
TACACS+ command setsread-only (permit show/ping/traceroute/exit, deny the rest) and a full-access set (empty = permit all)AAA → TACACS+ → Command Sets
Device templates12 TACACS+ vendor templates (Cisco IOS/NX-OS/ASA/IOS-XR, Juniper, Arista, Huawei, FortiGate, Palo Alto, Aruba CX/Switch, SD-WAN) and 8 RADIUS templatesAAA → TACACS+ / RADIUS
AAA policyOne default catch-all rule (order=9999, deny all) that cannot be deleted or movedAAA → Policies
NAC endpoint groups9 groups — system Unclassified and Blocked, plus Corporate Devices, BYOD, Printers, IP Phones, IoT/Sensors, Security Cameras, Guest Devices — with classification rules by vendorNAC → Endpoint Groups
NAC authorization profilesCorp-Default (VLAN 100), MAB-Default (VLAN 300), Guest-Net (VLAN 200), Guest-Redirect (VLAN 999 + URL redirect)NAC → Policies → Profiles
NAC policy3 rules: 802.1X known users → Corp-Default, MAB known endpoints → MAB-Default, and a default RejectNAC → Policies
Captive portalOne default guest portal (embedded) with self-service registrationNAC → Captive Portals
OUI / vendor data~35,000 IEEE OUI prefixes and the built-in NAC vendor dictionaryNAC → OUI / Vendor Dictionary

The default AAA policy denies everything, and the default NAC policy rejects everything not matched by a more specific rule. This is deliberate: nothing is authorized until you say so. Your job in the next steps is to add a device and at least one permit path.

The dashboard is a read-only operational overview. You do not configure anything here — it is where you confirm that traffic is flowing and services are healthy.

Taranac dashboard overview The dashboard: infrastructure counts, system health, AAA service status, recent authentication activity, and the alert queue.

The widgets you will lean on most:

WidgetWhat it tells you
InfrastructureLive counts of users, groups, devices, device groups, policy rules and profiles. Each label links straight to its list page.
MonitoringCPU, memory and disk with colour thresholds (green ≤ 60 %, amber 61–80 %, red 81–100 %).
AAA ServicesTACACS+ and RADIUS reachability dots (green = online, red = unreachable/error), response time, and a pending badge when there are undeployed config changes.
AAA ActivityStacked bar chart of TACACS+ and RADIUS successes/failures over the last 24 h or 7 d.
Top Failed AuthThe five users/IPs with the most failures — your first stop when something is being rejected.
AlertsPending system alerts with inline acknowledge.

A device in Taranac is one network access server — a switch, router, firewall, VPN concentrator, or access point — that sends TACACS+ or RADIUS requests. The device record holds the shared secret(s) the daemon uses and declares which protocols it speaks. Until a device exists with a matching IP and secret, the daemons reject its requests.

Network devices list Infrastructure → Network → Devices: the device inventory with protocol badges and status.

Go to Infrastructure → Network → Devices (/network/devices) and create a new device. The form is split into identity on the left and protocols/secrets on the right.

Left column — identity:

FieldRequiredExample
NameYescore-sw-01
Network ObjectYesthe device’s IP / NAS address — picked from the Network Objects list (ranges are not allowed for devices)
HostnameNoFQDN or IP for display
Vendor / PlatformNoCisco / IOS-XE
LocationNoDC-East Rack 14

Right column — protocol support. Three toggles (TACACS+, RADIUS, NAC) are all on by default and decide which secret fields appear:

  • TACACS+ → a TACACS+ Key field plus a Single Connection toggle (reuse one TCP session for all requests from this device).
  • RADIUS or NAC → a RADIUS Secret field (NAC rides on RADIUS).
  • NAC → a CoA block: CoA Secret, CoA Port (typically 3799 per RFC 5176, or 1700 on legacy Cisco), and an optional Vendor Dictionary selector.

For each secret field you can type a value, click the eye icon to reveal a stored one, or use the key icon to generate a strong secret.

Set the Enabled toggle on (a disabled device is excluded from all AAA/NAC processing — no config is generated for it) and save. The device count on the dashboard ticks up immediately.

You now have a device but a deny-all default policy, so a real login attempt would still be rejected until you add a permit rule. Two ways to validate, from safest to live:

  1. Policy tester (no live traffic). Open AAA → Policies → Tester (/aaa/policies/tester). Enter a username, the device you just created, and the request type; Taranac evaluates the rule table and shows you exactly which rule matches and what it returns. Use this to confirm your rules before pointing real gear at the platform.

  2. Live request from the device. Configure the network device’s AAA settings to point at Taranac’s TACACS+ port (49 in production) or RADIUS auth port (1812) with the matching shared secret, then attempt a login. Whatever the outcome, it is recorded.

AAA policy list AAA → Policies: the ordered rule table, evaluated top-down with a deny-all default at the bottom.

Check the result under Logging → AAA → Authentication (/logging/aaa/authentication):

Authentication log The authentication log: every accept and reject with the matched user, device, and reason.

A rejected attempt also surfaces in the dashboard’s Top Failed Auth widget within the polling window. If you see your attempt land — accepted or rejected — the request path is wired correctly end to end. From here, add a permit rule above the default to actually authorize the access you intend.

You want to…UseWhy
Confirm a rule before going liveAAA → Policies → TesterEvaluates the real policy table with no traffic and no risk.
Prove the daemon receives trafficA live request from the deviceThe tester never touches the daemon; only a real packet does.
Diagnose a rejectionTop Failed Auth + Authentication logThe widget surfaces who is failing; the log gives the matched rule and reason.
Reuse one secret across many devicesLeave device secrets blankDevices inherit from group / global secret — change it in one place.
Override a single deviceSet the secret on the devicePer-device secrets take precedence over inherited ones.