authcha learn

Learn / Foundations

What Authcha is

Module 1 of 6 · 20 minutes

By the end you can

  • Say in two sentences what Authcha does and who it is for
  • Name the main services in an installation and what each one is for
  • Tell the three kinds of sign-in Authcha handles apart

Why it exists

A network has two kinds of people to let in. Engineers sign in to routers, switches and firewalls to run the network. Everyone else, and everything else, connects to it: laptops, phones, printers, cameras, visitors.

Most networks buy a separate product for each job: a RADIUS server, a network access control (NAC) product, a guest portal, a tool for two-factor codes. Each has its own user list and its own renewal. Authcha puts them on one server, with one user directory and one web console. It runs entirely inside your network and needs no cloud service, so it works on a network with no internet access.

The three kinds of sign-in

Every RADIUS request that reaches Authcha follows one of three paths, decided by what the request contains. All three run side by side.

What arrivesThe pathTypical senders
A request carrying an EAP message802.1XLaptops and phones that can sign in with a username and password or a certificate
A user name that is a MAC addressMAC bypass (MAB)IP phones, printers, cameras, ONTs and other devices that cannot do 802.1X
Anything elsePassword plus one-time codeEngineers signing in to routers, switches and firewalls

You will meet each path in its own module. For now, remember that one server answers all of them.

What is inside

An installation is a handful of containers on one Linux host.

ServiceWhat it does
FreeRADIUSAnswers RADIUS requests on UDP 1812 and 1813 and applies Authcha's policy
PostgreSQLStores users, devices, policies, accounting records and the audit trail
RedisHolds one-time codes, retry counters and short-lived decisions
OTP delivery serviceSends one-time codes through your messaging provider
Admin API and consoleThe web console and the API. Also runs the background jobs: backups, quota checks, audit retention
Ops sidecarThe only part with access to Docker, so the console itself needs no special rights
CaddyServes the console over HTTPS on port 443

Only RADIUS (UDP 1812 and 1813, and TCP 2083 if you use RadSec) and HTTPS (TCP 443) must be reachable from your network.

What else is included

Beyond the three sign-in paths, the same installation can also do these. Each has its own track or module in this training.

  • Guest access: vouchers and a captive portal for visitors.
  • Certificates: a built-in certificate authority for EAP-TLS and RadSec.
  • Posture: an optional agent that checks a device before it is let in.
  • Quotas and disconnects: data limits and RFC 5176 disconnects.
  • DHCP: subnets and reservations for a Kea DHCP server.
  • Identity: Authcha can be the OpenID Connect provider your own applications sign in with.
  • Operations: backups, a health view, an audit trail and event streaming to your SIEM.

Which optional modules you can configure depends on your license edition. The Licensing guide explains editions.

LabHands-on

  1. Open the live demo and sign in as demo-viewer (password Authcha-View-2026).
  2. Look at the left menu. Find Live Auth, Users, Devices and Network access. These are the areas you will use most.
  3. Open Live Auth. Watch a few lines arrive. Each line is one RADIUS decision.
  4. Open Devices. Each row is a network device (a NAS) that is allowed to send requests.
  5. Open System and find the list of services. Match each one to the table above.
  6. Open the Overview guide and find the architecture diagram. Trace one request from a switch to the database and back.

Check yourselfQuiz

1A printer cannot run 802.1X. Which sign-in path will Authcha use for it?
2Which part of the installation stores users, policies and the audit trail?
3Why is the Ops sidecar a separate service?
4Which ports must be reachable from your network for the core product?
5Does Authcha need an internet connection to run?

Cheat sheetKeep this

  • One server answers three paths: 802.1X, MAC bypass, password plus code.
  • Core services: FreeRADIUS, PostgreSQL, Redis, OTP delivery, console, ops sidecar, Caddy.
  • Reachable from your network: UDP 1812/1813, TCP 443 (and TCP 2083 for RadSec).
  • Console accounts (people who run Authcha) are separate from RADIUS users (people and devices on the network).
  • Demo: demo.authcha.cloud, viewer login on the demo page.