Menu AuthGuardHelp centre
Portuguêsauthguard.pt

Administrators · VPN and Wi-Fi (RADIUS)

RADIUS second-factor modes (code, phone or both)

  • 1 min read
  • SaaS · Self-hosted · Android
  • Video
Tutorial 10VPN and Wi-Fi through RADIUS2:30 · Narrated in Portuguese, with English captions.Transcript and details

Each RADIUS client has a second-factor mode. The username is always the account's email and the first part is always the password.

Which modes are there?

ModeWhat the person does
«Code»Types the password. The device asks for a code (Access-Challenge Code:) and the person types the 6-digit code from the authenticator app. Or types password,123456 in one go
«Phone approval»Types the password and approves on the phone within the configured wait
«Code or phone approval»password,123456 uses the code; the password alone sends a phone approval

The comma rule

The six digits after the last comma are read as a code. A person whose password ends with a comma followed by six digits must use a client in «Code» mode and the separate code prompt.

Phone approval

  • The phone receives «Connect to the network» or «Connect to Lisbon VPN», with the network's name.
  • The approval is that sign-in's second factor; registering the device for phone approval is the administrator's decision. The access policy does not decide this approval.
  • People who only have a TOTP or HOTP code can also approve on the phone, if they linked one.

What is not offered

OCRA, CHAP, MS-CHAP and EAP (certificate-based 802.1X) are not offered. Change of Authorization (CoA) and Disconnect are not either.

What a refusal hides

An unknown user, a wrong password, a wrong code and a missing factor all get the same refusal (Access-Reject), after a comparable delay. Use the audit to learn the reason.

Where do I see the decisions?

Under «Operate» › «Audit», each decision appears as radius.classic.access. The decision's identifier is sent to the device in the Class attribute and links the accounting records.

Error codes in this article

Article referencead-radius-second-factorquote it to support to identify this article. Checked against the product at commit 5f6607a8.