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

    2 captive portal - 1 freeradius - How to configure?

    Scheduled Pinned Locked Moved Captive Portal
    2 Posts 2 Posters 788 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.
    • J
      jessenthiesen
      last edited by

      Hi,
      we are using in our school a captive portal on a pfsense 2.1.5 for the access to wifi.
      Now we want to separate pupil and teachers. So we have 2 SSIDs with two differnet VLANs and 2 CP but just one radiusserver.
      I have got three problems?

      1. How can I spezifise the request of pfsense to freeradius? Is this the NAS Identifier?
      2. Can I use 2 differnet user-files - one for pupil, one for teacher - or do I have to spezifise in the common user-file which user is an teacher?
      3. How can the tell freeradius which user-file or definition is for which request?

      Thanks for your help.
      Kind gegreats
      Holger

      1 Reply Last reply Reply Quote 0
      • DerelictD
        Derelict LAYER 8 Netgate
        last edited by

        Yes.  Setting the NAS-Identifier differently for each CP instance should enable to to steer RADIUS in the right direction.

        You can use it in the users file as a check item.  It will have to match along with the username and password or the RADIUS server will send an Access-Reject.

        
        bob     Cleartext-Password := "hello", NAS-Identifier == Teacher-NAS
              Reply-Item += "Reply Blah Blah"
        
        

        Or something like that…

        Chattanooga, Tennessee, USA
        A comprehensive network diagram is worth 10,000 words and 15 conference calls.
        DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
        Do Not Chat For Help! NO_WAN_EGRESS(TM)

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