OpenVPN Mobile-One-Time-Password freeradius2 bug?

  • 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

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

    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.

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

    MOTP script
    < #!


    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/".

Log in to reply