Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    OpenVPN - RADIUS - OTP

    Scheduled Pinned Locked Moved OpenVPN
    4 Posts 2 Posters 623 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • W
      wufame
      last edited by

      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()

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        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)

        Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • W
          wufame
          last edited by

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

          1 Reply Last reply Reply Quote 0
          • jimpJ
            jimp Rebel Alliance Developer Netgate
            last edited by

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

            Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

            Need help fast? Netgate Global Support!

            Do not Chat/PM for help!

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.