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

    Changing radius vendor to 'cisco' without configuring a Captive Portal?

    Captive Portal
    2
    2
    1.2k
    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.
    • J
      jeffbearer
      last edited by

      Not straight up a Captive Portal question. but perhaps people with knowledge of the captive portal config storage can help me.

      I'm using radius for openvpn auth. And I was looking into why it
      wasn't sending the Radius server the Calling-Station-Id.  In looking
      at code I see that there is an option in Captive Portal
      $config['captiveportal']['radiusvendor'] that when set to 'cisco'
      sends the $clientip instead of the client's mac address.  And this
      function appears is called for all radius auth even when not using
      captive portal.

      In order to appease the UI input validation I have to set up a captive
      portal on a real interface and configure it for radius auth.  I don't
      want to do this.

      Can I inject just the $config['captiveportal']['radiusvendor'] into
      the  config.xml and will it be stable as long as I don't touch the
      captive portal settings?

      Also can I request a change that the radius vendor be configured on
      the radius server ui and not the captive portal ui?

      Thanks

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

        Those settings only affect the RADIUS server configured for captive portal auth. We don't have a setting in the user manager that does the same function (yet).

        For 2.2, those will likely be merged into the main RADIUS config in the user manager, but for now the settings on CP are just for CP.

        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.