Time for action – creating two virtual servers

In this exercise we will create two very simple virtual servers. The one will accept all authentication requests while the other will reject all authentication requests.

  1. Under the sites-available directory inside the FreeRADIUS configuration directory, create a file called always_accept with the following content:
    server always_accept {
        authorize {
            update control {
                Auth-Type := "Accept"
            }
        }
    }
  2. Under the sites-available directory inside the FreeRADIUS configuration directory, create a file called always_reject with the following content:
    server always_reject {
        authorize {
            update control {
                            Auth-Type := "Reject"
            }
        }
    }
  3. Ensure you are in the FreeRADIUS configuration directory. Enable these virtual servers by ...

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.