Zum Inhalt springen

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.

RequirementMinimum
RAM2 GiB (the installer warns below)
Disk3 GiB free for Docker’s data (the installer refuses below), 10 GiB recommended
Operating systemthe 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.

  • 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.

Published by Docker on every address of the host unless noted:

PortFromWhat
443/tcpadministrators, users, Windows agents, SSO applicationsthe console, the SSO portal (OIDC provider and SAML identity provider), the Windows agent API, Web Push approvals
1812/udpyour RADIUS clients (VPN gateways, network devices)RADIUS authentication
1813/udpyour RADIUS clientsRADIUS accounting
3478/udpusers’ phones — from the internet when the Web Push UDP check is usedSTUN responder for the Web Push UDP check; forward it on your NAT
8080/tcploopback only by defaultplain 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.

Only what you use is needed:

ToPortWhen
domain controllers / LDAP servers389/tcp (LDAP, StartTLS) or 636/tcp (LDAPS)directory sign-in and sync
every Active Directory domain controller88/tcpaccounts in Protected Users (their password is checked by Kerberos)
the AD domain53, 88, 135 + dynamic RPC, 389, 445/tcpjoining the domain for MS-CHAPv2 of domain users
your SMTP relay587, 465 or 25/tcpe-mail codes and links, enrolment links, alerts
your syslog / SIEMas configured (typically 514)syslog forwarding
the container registry443/tcponline installs and updates only
GeoIP sources, Web Push services (Google, Mozilla, Apple), the Telegram API443/tcpthe features you enable
login.microsoftonline.com, graph.microsoft.com443/tcpMicrosoft Entra ID directories
NTP servers123/udptime 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.

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.

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.