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

    Jail Users to their Vlans

    Scheduled Pinned Locked Moved Captive Portal
    5 Posts 2 Posters 927 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.
    • Z
      zoro_2009
      last edited by

      Hello,

      We have 9 captive portals with 9 vlans, we like that freeradius users are able to connect across all the vlans,
      but we want to prevent some users from authenticating outside of their vlans ?

      How can we acheive this ?

      Thanks !

      1 Reply Last reply Reply Quote 0
      • C
        cmb
        last edited by

        Set the NAS IP in each CP zone so you can identify them that way, then configure your FreeRADIUS accordingly.

        1 Reply Last reply Reply Quote 0
        • Z
          zoro_2009
          last edited by

          Hello, thanks for your response,

          Well, I did that, I've set the NAS IP in cp zone, then went to a user in radius and added the Vlan ID, but this has no effect !

          Any ideas why ?

          1 Reply Last reply Reply Quote 0
          • Z
            zoro_2009
            last edited by

            Didn't anyone try this before ?

            1 Reply Last reply Reply Quote 0
            • C
              cmb
              last edited by

              NAS IP and VLAN ID in the user config aren't the same thing. You'll need to configure freeradius accordingly to use the NAS IP you're sending it. I'm not sure offhand how to accomplish that in freeradius but that's where you'll need to look.

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