Time for action – activating the NULL realm

Follow these steps to activate the NULL realm:

  1. Edit the proxy.conf file under the FreeRADIUS configuration directory and change the following part from:
    #realm NULL {
    #       authhost        = radius.company.com:1600
    #       accthost        = radius.company.com:1601
    #       secret          = testing123
    #}

    to:

    realm NULL {
    #       authhost        = radius.company.com:1600
    #       accthost        = radius.company.com:1601
    #       secret          = testing123
    }
  2. Restart the FreeRADIUS server in debug mode and authenticate as alice. Observe the output of the FreeRADIUS server. The following should be part of the output:
    [suffix] No '@' in User-Name = "alice", looking up realm NULL
    [suffix] Found realm "NULL"
    [suffix] Adding Stripped-User-Name = "alice"
    [suffix] Adding Realm = "NULL"
    [suffix] ...

Get FreeRADIUS Beginner's Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.