Перейти к содержимому

Overview

OkYouIn is a self-hosted authentication and multi-factor authentication server. VPN gateways, network devices, web applications, your own back ends and Windows computers hand it a sign-in; OkYouIn checks who the user is, applies your access policy, asks for a second factor when the policy says so, and answers with a decision — ok, you’re in — plus the attributes the application needs.

It runs entirely on your own hardware: a virtual appliance, an offline installer ISO, or a set of Docker containers on a Linux host you already run. Nothing about a sign-in leaves your network to be decided, and the license is an offline signed file — there is no phone-home.

AreaWhat you get
Sign-in protocolsRADIUS for VPNs and network gear (PAP, MS-CHAPv2, challenge/response, accounting), OpenID Connect and SAML 2.0 single sign-on on one branded sign-in page, the Verify API for your own applications, and a Windows logon agent for console, RDP and unlock
UsersLocal users and groups, or users synchronised from Active Directory, OpenLDAP, FreeIPA, Google Workspace Secure LDAP, a generic LDAP server, or Microsoft Entra ID
Second factorsTOTP authenticator apps, e-mail code or Approve/Deny link, Telegram, and OkYouIn’s own Web Push app with passkey approval and number matching — no app store needed
PolicyOne global, ordered policy (application, group, network, country, time, validity) and per-application rules that decide whether MFA is asked and which attributes are returned
VisibilityOne Access log for every protocol, an audit log, alerts, and forwarding of audit events and sign-in journals to syslog / SIEM
OperationsEncrypted configuration backups, in-place updates from a release bundle, a diagnostic archive for support, and an optional two-node high-availability cluster

An OkYouIn server is a small set of containers managed by one operations command, ./okyouin, in the installation directory:

ComponentRole
webnginx: serves the administration console, the SSO portal (OIDC provider, SAML identity provider), the Windows agent API and the Web Push approval pages over HTTPS
apithe application itself: policy, users, directories, MFA, the console’s REST API, background jobs
radiusthe RADIUS front end that receives Access-Requests and Accounting-Requests from your devices
winbindjoins an Active Directory domain, for MS-CHAPv2 sign-ins of domain users
stuna small UDP responder used by the optional Web Push UDP check
postgresPostgreSQL, the only place state is kept

Every secret OkYouIn stores — directory bind passwords, RADIUS secrets, TOTP seeds, TLS and signing keys — is encrypted with a master key that the installer generates on the host. Backups are encrypted with the same key. Keep a copy of it off the server (see Backup & restore).

Whatever the protocol, every sign-in goes through the same steps:

  1. A request arrives. A VPN gateway sends a RADIUS Access-Request, a browser is redirected to the SSO page by an OIDC or SAML application, your back end calls the Verify API, or the Windows agent asks on behalf of a logon.
  2. It is matched to an application. Each device, SSO client or API caller is registered as an application, usually created from one of the built-in templates.
  3. The global policy decides allow or deny. The ordered rules of the policy are walked top to bottom — application, who (users and groups), source network, country, time and validity window — and the first matching rule wins. If nothing matches, the answer is deny.
  4. The application’s own rules decide the details. Whether a second factor is required, and which attributes go back: RADIUS reply attributes, OIDC claims, SAML attributes or API attributes.
  5. The user proves who they are. The password is checked against the local account or the directory, and the user answers the second factor they enrolled — a code, an e-mail link, a Telegram message or a push on their phone.
  6. OkYouIn answers. Access-Accept or Access-Reject, an OIDC token, a signed SAML assertion, or an allow / deny from the Verify API.
  7. The decision is recorded. Every decision lands in the Access log with the user, application, client address, country, result and reason — and can be forwarded to your SIEM (Logs, SIEM & alerts).

The policy tester in the console (Access ▸ Policies ▸ Policy Tester) shows this path for a made-up request, rule by rule, before you rely on it.

OptionBest forPage
Virtual appliance (OVA for VMware, QCOW2 for KVM / Proxmox)The fastest start: import a VM, answer a short wizardInstall: virtual appliance
Offline installer ISOBare metal or any hypervisor, with no internet at allInstall: offline ISO
Install script on your own Linux hostHosts you already manage, with DockerInstall on your own Linux host

All three end with the same installation: the same containers, the same ./okyouin command, the same console. Start with the requirements.