OpenVPN - RADIUS - OTP



  • Hello,

    I want to implement dual OTP authentication with OpenVPN.

    When i want to enable "Mobile-One-Time-Password"

    Service - FreeRadius - Setting

    "Mobile-One-Time-Password Configuration"
    http://prntscr.com/j7ormc

    When I apply the configuration

    I have an error:

    http://prntscr.com/j7oruw

    Fatal error: Call to undefined function is_intrange() in /usr/local/pkg/freeradius.inc on line 4491 Call Stack: 0.0003 251816 1. {main}() /usr/local/www/pkg_edit.php:0 0.1055 2915200 2. eval('freeradius_validate_settings($_POST, $input_errors);') /usr/local/www/pkg_edit.php:162 0.1056 2915240 3. freeradius_validate_settings() /usr/local/www/pkg_edit.php(162) : eval()'d code:1 PHP ERROR: Type: 1, File: /usr/local/pkg/freeradius.inc, Line: 4491, Message: Call to undefined function is_intrange()


  • Rebel Alliance Developer Netgate

    What version of pfSense are you using?

    If is_intrange() is not in your /etc/inc/util.inc file either it's corrupt or you install is horribly out of date (over a year without updating)



  • My version is : "2.3.2-RELEASE (amd64) "  :'(


  • Rebel Alliance Developer Netgate

    Luckily that's an easy fix then. Update to 2.3.5 or 2.4.3