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

    Two-factor authentication w/ PAM Plugin

    Scheduled Pinned Locked Moved OpenVPN
    3 Posts 2 Posters 3.3k 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.
    • T
      talong99
      last edited by

      Is it possible to use the PAM Plugin openvpn-auth-pam.so with pfSense?

      I have copied the file from the FreeBSD package (I couldn't find the file on the pfSense filesystem) and added "plugin /var/etc/openvpn-auth-pam.so /etc/pam.d/login" to the custom options field in the GUI. Now I get this error:

      Jan 24 12:21:54 pfsense openvpn[56602]: OpenVPN 2.0.6 i386-portbld-freebsd6.1 [SSL] [LZO] built on Apr  6 2006
      Jan 24 12:21:54 pfsense openvpn[56602]: PLUGIN_INIT: could not load plugin shared object /var/etc/openvpn-auth-pam.so: Service unavailable: Too many links (errno=31)
      Jan 24 12:21:54 pfsense openvpn[56602]: Exiting

      Anyone have this working?

      1 Reply Last reply Reply Quote 0
      • T
        talong99
        last edited by

        Hello,

        I ended up getting this to work by doing a pkg_add of openvpn.

        What kind of issues/problems, if any, have I introduced to my system?

        1 Reply Last reply Reply Quote 0
        • J
          j0emv
          last edited by

          Anyone know anything about doing this with the embedded version?  I'm gonna give this a try because I would like another point of security before going production with my openvpn setup.

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