set vpn remote-access two-factor-authentication advanced-settings

In the R81.10.X releases, this command is available starting from the R81.10.00 version.

Description

Two-Factor Authentication sends a One Time Password (OTP) to the end-user to authenticate before connecting to a resource.This command controls whether the target selection screen where to send the passcode (SMS / email) is displayed to the end-user in their Remote Access VPN client.

Syntax

set vpn remote-access two-factor-authentication advanced-settings enable-target-selection-for-passcode { true | false }

Parameters

Parameter

Description

enable-target-selection-for-passcode

  • false - The passcode (One Time Password) is sent to both SMS and email (default).

  • true - After an end-user clicks "Connect" in their Remote Access VPN client, in the next window the end-user must enter a mobile phone number to get the OTP by SMS, or enter an email to get the OTP by Email.

Note - This setting does not affect the selection screen in the WebUI on the Remote Access VPN Control page. On that page the user must still configure to receive the passcode through email, SMS, or both options.

Example Command

set vpn remote-access two-factor-authentication advanced-settings enable-target-selection-for-passcode false