Security

last person joined: 18 hours ago 

Forum to discuss Enterprise security using HPE Aruba Networking NAC solutions (ClearPass), Introspect, VIA, 360 Security Exchange, Extensions, and Policy Enforcement Firewall (PEF).
Expand all | Collapse all

Captive Portal After MAC Auth

This thread has been viewed 7 times
  • 1.  Captive Portal After MAC Auth

    MVP
    Posted Nov 07, 2014 02:30 PM

    So I have a school that wants to enforce personal device registration on the same SSID they will MAC auth to after the device is known.

     

    I configured a service in ClearPass for BYOD MAC Authentication that assigns them a BYOD role if device is known, or if not the default enforcement is "Device Registration". 

     

    On the controller Device-Registration role has captive portal assigned that directs the user to clearpass guest operator login to add their device, and once they reconnect, it should mac auth them again and put them in BYOD role. 

     

    Is this possible? I'm having trouble getting the captive portal redirect to work. It's also not working on my guest SSID, so I think it's something else, but just wanted to verify this would work.

     

    Thanks!



  • 2.  RE: Captive Portal After MAC Auth

    EMPLOYEE
    Posted Nov 07, 2014 02:34 PM
    Yes, this is a common solution. I would recommend against using "Known" as that attribute can be updated by multiple sources. Are you looking at using the MACTrac feature? Also, for the captive portal functionality, do you have an IP address in each VLAN on the controller?


  • 3.  RE: Captive Portal After MAC Auth

    MVP
    Posted Nov 07, 2014 02:39 PM

    Yes, we are attempting to use the Device Registration operator role for students/staff to login with their AD credentials and register their own devices before the devices have access to the internet. 

     

    The VLAN that the user is on has an IP address on the controller. The MAC auth succeeds because I am using the default profile if the device does not exist, the user connects to wireless, but when they launch browser the captive portal page just keeps spinning and never loads.



  • 4.  RE: Captive Portal After MAC Auth

    MVP
    Posted Nov 07, 2014 02:39 PM

    Correction, that VLAN does NOT have an IP address on the controller, but the Guest VLAN does. Both are not loading the captive portal. Guest is just captive portal with open SSID.



  • 5.  RE: Captive Portal After MAC Auth

    EMPLOYEE
    Posted Nov 07, 2014 02:46 PM

    You need an IP on every VLAN that you want a captive portal to run.

     

    You'll want to create an enforcement rule that checks for "Authentication:Source EQUALS [Guest Device Repository]" and "GuestUser:Sponsor EXISTS".

     

     



  • 6.  RE: Captive Portal After MAC Auth

    MVP
    Posted Nov 07, 2014 03:24 PM

    I made the changes for the role-mapping, but I'm still not sure why my captive portal won't load. We have an Ip address on the VLAN on the controller. We can manually browse to clearpass and clearpass guest, but it's not redirecting us automatically. We do not have a DNS entry for clearpass, but were pointing to https://10.1.2.184/guest/guest_registration.php and we also don't have a valid certificate installed yet, but that should still show us the cert error page. Any ideas?

     

    I also verified that no proxy configuration was present in the browser.



  • 7.  RE: Captive Portal After MAC Auth

    EMPLOYEE
    Posted Nov 07, 2014 03:28 PM

    Can you run "show rights <captive-portal-role?>"



  • 8.  RE: Captive Portal After MAC Auth

    MVP
    Posted Nov 07, 2014 03:43 PM

    [2014-11-07]-Image-001.png



  • 9.  RE: Captive Portal After MAC Auth

    MVP
    Posted Nov 07, 2014 03:54 PM

    They have a firewall between the VLAN3/4 and the controller, but http and https access is permitted between VLAN1 (controller and clearpass are on) and VLAN3/4.



  • 10.  RE: Captive Portal After MAC Auth
    Best Answer

    Posted Nov 08, 2014 07:42 AM

    Can you include the full output of show rights IC-Guest-Logon?    It does not appear that you have a Captive Portal profile set for that role.   Also, do you allow http/https to your ClearPass box (10.1.2.184) before your captive-portal redirects?

     

     



  • 11.  RE: Captive Portal After MAC Auth

    MVP
    Posted Nov 11, 2014 08:59 AM

    We resolved the issue. I did apply the captive portal profile to the role, but I may have never saved it because it was not set when I went back in. I also needed to re-order my firewall rules to allow for the captive portal and http/https to clearpass. 

     

    Finally on VLAN4 we needed to add an IP address to the interface. 

     

    Thanks for the help!