Time for action – testing authentication on the inner-tunnel virtual server

The inner-tunnel virtual server has a listen section by default that listens on IP address 127.0.0.1 and port 18120 for authentication requests. This can be used to test how the virtual server will react to authentication requests.

  1. Confirm that the inner-tunnel virtual server is enabled (listed under the sites-enabled directory) and that it contains the following listen section. This should be included by default.
    listen {
        ipaddr = 127.0.0.1
        port = 18120
        type = auth
    }
  2. Restart FreeRADIUS in debug mode.
  3. Test the authentication on the inner-tunnel virtual server by using the following command:
    radtest alice passme 127.0.0.1:18120 100 testing123
    
  4. You should see that the inner-tunnel ...

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.