A password is never enough
Every user confirms the login with a second factor. Which one is up to you: a one-time code from an app, a YubiKey, or a passkey on the phone. The administrator chooses it per user.

Three second factors
One-time code
Google Authenticator, Microsoft Authenticator, Yubico Authenticator or any other TOTP app. The user scans a QR code once, then types the code next to the password.
YubiKey
On Windows and Linux the VPN Pilot agent asks for a touch of the key. On a phone or a Mac the user holds the key to the VPN server's page (NFC) or plugs it in (USB-C). Each key is verified by the certificate of its manufacturer.
Passkey
On an iPhone the login opens the VPN server's page and the user confirms it with Face ID or a fingerprint. No code to copy, nothing to carry. Allowed by the administrator where it fits.
Which factor where
All three can be combined in one company. The difference is in how well they resist an attacker who tricks the user.
| One-time code | YubiKey | Passkey | |
|---|---|---|---|
| Where | any device | Windows and Linux through the agent; phone and Mac on the key page | phone (Face ID, fingerprint) |
| Resists phishing | no: a code can be talked out of the user | yes | yes |
| Cannot be copied | the secret lives in the app | yes, the key never leaves the chip | synced by the phone's account |
| Proof of the maker | — | certificate of Yubico | — |
| Counts as a hardware key in policies | — | yes | as the administrator allows |
| Costs | free app | a key per user | nothing extra |
Why a hardware key stops phishing
A fake login page can ask for a password and a code, and the user types them in. With a key there is nothing to type: the key signs a challenge, and the signature is bound to your VPN server.
- Each challenge is new and valid for a few seconds; a signature cannot be replayed.
- On the key page the browser binds the signature to the name of your VPN server; a look-alike page gets nothing usable.
- The private key stays in the YubiKey; nobody, not even the user, can export it.
- A touch of the key proves a person is there, not malware.
A login with a YubiKey on Windows
The login waits for the key before the tunnel opens. Nobody gets in with a stolen password alone, not even for a moment.
Password
The user connects in the OpenVPN app as usual.The server waits
The VPN server holds the login and asks the agent for the key.A touch
The agent asks for a touch; the key signs a one-time challenge.Connected
With the key pulled out later, the resources that need it close.
No code to copy on a phone
When the login waits for the key, OpenVPN Connect opens a page of your own VPN server. The user taps the button and holds the YubiKey to the phone or confirms the passkey with Face ID. The connection completes by itself.
- The page asks for no password and no code.
- The key signs a one-time challenge valid only for your VPN server.
- Its own certificate from Let's Encrypt, renewed by the VPN server.
- Registration of a new key on the same page, in a few seconds.

Accounts and protection of the password
- Local accounts in FlowPro or users from Active Directory (LDAPS), with the groups they are in.
- Repeated failed logins lock the address and the user for a while.
- A login from a country the user never came from can be refused or reported.
- Logins from addresses listed by Threat Intel are refused.
- Accounts with a validity period, disabled and blocked users are refused by the VPN servers themselves.
Registration by the user
The administrator opens the registration of a key for a limited time; the user registers it himself on the next connection.
Only with a hardware key
Policies can let some resources be reached only by a connection whose user showed a hardware key.
Users from Active Directory
Link a VPN group with a group in Active Directory and the directory decides who is a VPN user. Nobody has to keep a second list of accounts.
- Members of the group, also from nested groups, become VPN users by themselves.
- Whoever leaves the group or has the account disabled loses access to the VPN at the next synchronisation.
- The password is checked by the directory itself over LDAPS; the VPN servers keep no passwords from it.
- While FlowPro is down, the VPN server accepts the last password the directory confirmed, for a limited time; it keeps only its fingerprint, never the password.
- A local account can be turned into an account from the directory without losing its devices or second factor.
When a key is lost
A lost key must not stop the user's work, nor stay usable for whoever finds it.
The user reports it
By phone or e-mail to the helpdesk.The key is revoked
One click in FlowPro; every VPN server refuses it within seconds.A bridge for a few hours
The administrator can let the user in with a one-time code until a set time.A new key
The user registers it himself on the next connection; the bridge ends.
Everything is in the log
Registered, refused and revoked keys, logins with a bridge code and locked accounts land in FlowPro's Event Center, so the security team sees them next to everything else.
Questions about the second factor
Does every user need a YubiKey?
No. The second factor is chosen per user. Most people can use a one-time code or a passkey, and policies can ask for a hardware key only where it matters, e.g. for payroll or the servers.
Which YubiKey should we buy?
The YubiKey 5 series (5 NFC, 5C NFC). It works through the agent on Windows and Linux (PIV) and on the VPN server's page on a phone or a Mac (FIDO2). The cheaper Security Key series has no PIV, so it works only on the page.
Does the key page go through somebody's cloud?
No. The page runs on your own VPN server, under its name and with its own certificate from Let's Encrypt. The key signs a challenge valid only for that name.
Can a one-time code be used twice?
No. The VPN server refuses a code that was already used, so a code seen over somebody's shoulder is worthless once the user has logged in.
How to start
Write to us
Tell us about your network and who connects to it.
See a demo
A login with a YubiKey, a device check and the flows of a tunnel in FlowPro.
Try it on your network
A VPN server of your own, connected to your FlowPro.