Requirements
This page lists what an OkYouIn server needs: a host, an accurate clock and the network paths to the people and devices that sign in through it. The installer checks the host requirements before it writes anything and stops with what to fix.
| Requirement | Minimum |
|---|---|
| RAM | 2 GiB (the installer warns below) |
| Disk | 3 GiB free for Docker’s data (the installer refuses below), 10 GiB recommended |
| Operating system | the appliance and the ISO (amd64) bring their own, Ubuntu Server 26.04 LTS. On your own host: a 64-bit Linux with systemd |
| Docker (own host only) | Docker Engine 24.0 or newer with the compose plugin 2.20 or newer. Podman standing in for docker is not supported |
| Tools (own host only) | openssl, ss (iproute2), tar, flock (util-linux), and zstd for the offline image archive |
The virtual appliance ships sized at 4 vCPU, 8 GB RAM and a 40 GB disk, a good starting point for a production server. Logs and the database grow with the number of sign-ins, so give a busy server more disk.
Clock and time zone
Section titled “Clock and time zone”- NTP-synchronised clock. TOTP codes, Kerberos (5 minutes of tolerated skew) and certificate checks all depend on it. The appliance wizard asks for your time servers; in a closed network enter your own, as the public pool is unreachable there.
- Time zone set by name (for example
timedatectl set-timezone Europe/Berlin). OkYouIn shows every time, evaluates policy time ranges and runs its daily jobs in the host’s time zone. The console shows the zone on Settings ▸ System ▸ General.
Network — inbound
Section titled “Network — inbound”Published by Docker on every address of the host unless noted:
| Port | From | What |
|---|---|---|
| 443/tcp | administrators, users, Windows agents, SSO applications | the console, the SSO portal (OIDC provider and SAML identity provider), the Windows agent API, Web Push approvals |
| 1812/udp | your RADIUS clients (VPN gateways, network devices) | RADIUS authentication |
| 1813/udp | your RADIUS clients | RADIUS accounting |
| 3478/udp | users’ phones — from the internet when the Web Push UDP check is used | STUN responder for the Web Push UDP check; forward it on your NAT |
| 8080/tcp | loopback only by default | plain HTTP without a redirect; expose it only behind a TLS-terminating load balancer |
Every port can be changed at install time (OKYOUIN_HTTPS_PORT,
RADIUS_AUTH_PORT, RADIUS_ACCT_PORT, STUN_PORT, OKYOUIN_HTTP_PORT). The
database and the application server are never published.
Network — outbound
Section titled “Network — outbound”Only what you use is needed:
| To | Port | When |
|---|---|---|
| domain controllers / LDAP servers | 389/tcp (LDAP, StartTLS) or 636/tcp (LDAPS) | directory sign-in and sync |
| every Active Directory domain controller | 88/tcp | accounts in Protected Users (their password is checked by Kerberos) |
| the AD domain | 53, 88, 135 + dynamic RPC, 389, 445/tcp | joining the domain for MS-CHAPv2 of domain users |
| your SMTP relay | 587, 465 or 25/tcp | e-mail codes and links, enrolment links, alerts |
| your syslog / SIEM | as configured (typically 514) | syslog forwarding |
| the container registry | 443/tcp | online installs and updates only |
| GeoIP sources, Web Push services (Google, Mozilla, Apple), the Telegram API | 443/tcp | the features you enable |
login.microsoftonline.com, graph.microsoft.com | 443/tcp | Microsoft Entra ID directories |
| NTP servers | 123/udp | time sync |
Outbound proxy. The HTTPS calls above (GeoIP downloads, Web Push, Telegram,
Microsoft Entra) can go through a proxy: set HTTPS_PROXY (and HTTP_PROXY,
NO_PROXY) in .env in the installation directory and apply with
./okyouin up -d. If the proxy inspects TLS with its own CA, point
OUTGOING_CA_CERTFILE at a PEM file holding that CA. LDAP, Kerberos, SMTP and
syslog never use the proxy.
Air-gapped. OkYouIn installs and runs with no internet at all: install from the appliance, the ISO or the offline image archive, and upload GeoIP databases by hand on Settings ▸ Integrations ▸ GeoIP. Push methods that rely on public services (Web Push, Telegram) need their outbound path.
A public name and a certificate
Section titled “A public name and a certificate”Plan the host name people and phones will open — for example
https://mfa.example.com — and a TLS certificate for it from a CA your users’
browsers and phones trust. OkYouIn starts with a self-signed certificate, but
Web Push on phones needs a trusted one. See
TLS certificate management.
High availability
Section titled “High availability”A cluster needs three hosts: two OkYouIn servers that each meet the requirements above, plus a small witness host with Docker only. On top of the single-server ports, the hosts talk to each other on 2379, 2380, 5432 and 8008/tcp (and 9443/tcp while a node joins) over a trusted private network. Every database node also needs about 3 GB more disk for replication logs, up to 5–6 GB while a member is away. Details in High availability.