Two-factor authentication

../_images/two_factor_authentication.png

Two-factor authentication also known as 2FA or 2-Step Verification is an authentication method that requires two components, such as a pin/password + a token.

Garcinia (version >=16.1.14) offers support for Two-factor authentication throughout the entire system, with one exception being console/ssh access.

Supported services are:

  • Garcinia Graphical User Interface
  • Captive Portal
  • Virtual Private Networking - OpenVPN & IPsec
  • Caching Proxy

GUI Fallback Configuration

To prevent GUI lockout due to unavailable remote authentication server, the system has a default fallback to the local database. In case of 2FA for the GUI one needs to disable the fallback option to make sure no local user can gain access without 2FA.

../_images/auth_server_fallback.png

Note

Currently the build-in fallback for the GUI is the local database. This configurable options is available as of version 16.1.15.

Time-based One-time Password

TOTP is an algorithm that computes a one-time password from a shared secret key and the current time. Garcinia supports RFC 6238.

Google Authenticator

Garcinia fully supports the use of Google’s Authenticator application. This application can generate tokens on Android, iOS and BlackBerry OS. The usage of this application is free and very simple to setup using Garcinia.

Other TOTP tokens

The 2FA feature can be used with any time based one-time password token, although it may be necessary to convert the tokens seed to the used format (base32).

Configuration & Setup

To setup see: Configure 2FA TOTP & Google Authenticator.