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

    OpenVPN Mobile-One-Time-Password freeradius2 bug?

    Scheduled Pinned Locked Moved OpenVPN
    1 Posts 1 Posters 912 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.
    • G
      grinyas
      last edited by

      Environment:

      • 2.1.5-RELEASE (amd64) built on Mon Aug 25 07:44:45 EDT 2014 FreeBSD 8.3-RELEASE-p16

      • freeradius2 2.1.12_1/2.2.5_3 pkg v1.6.10

      BUG
      After setting up two-factor authentication when you save configuration changes openvpn server is lost to authenticate users.

      Testing
      For example add to "Advanced configuration" (Openvpn server) option "keepalive 60 180" and save changes. Try to connect to the server using a two-factor authentication.

      LOG
      /var/log/radius.log
      Wed Nov  2014 : Auth: Login incorrect: [test/0a8280] (from client port 0)
      /var/log/openvpn.log
      Wed Nov  2014 : openvpn: user 'test' could not authenticate.

      MOTP script
      diff otpverify.sh otpverify.sh.back
      1c1
      < #!
      –-

      #!/usr/pbi/freeradius-amd64/bin/bash

      That is lost when you save the settings the first line of the script.

      For himself solved this problem by using "chflags schg /usr/pbi/freeradius-amd64/etc/raddb/scripts/otpverify.sh".

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