Time for action – setting up the AP with FreeRADIUS-WPE

Follow these instructions to get started:

  1. Connect one of the LAN ports of the access point to the Ethernet port on your machine running Kali. In our case, the interface is eth0. Bring up the interface and get an IP address by running DHCP, as shown in the following screenshot:
    Time for action – setting up the AP with FreeRADIUS-WPE
  2. Log in to the access point and set the security mode to WPA/WPA2-Enterprise, set Version to WPA2, Encryption to AES. Then, under the EAP (802.1x) section, enter the Radius Server IP address as your Kali build's IP address. The Radius Password will be test, as shown in the following screenshot:
    Time for action – setting up the AP with FreeRADIUS-WPE
  3. Let's now open a new terminal and go to the directory /etc/freeradius-wpe/3.0. This is where all the FreeRADIUS-WPE configuration files are.
    Time for action – setting up the AP with FreeRADIUS-WPE
  4. Let's open /mods-available/eap. You will find that the default_eap_type command is set to md5.
    Time for action – setting up the AP with FreeRADIUS-WPE
  5. Let's change this to peap:
    Time for action – setting up the AP with FreeRADIUS-WPE
  6. Let's open clients.conf. This is where we define the allowed list of clients that can connect to our RADIUS server. Interestingly, if you browse right to the bottom, ignoring the example settings, the secret for clients defaults to testing123. We want to change this to test to match step 2:
    Time for action – setting up the AP with FreeRADIUS-WPE
  7. We are now all set to start the RADIUS server with the freeradius-wpe –s –X command:
    Time for action – setting up the AP with FreeRADIUS-WPE
  8. Once you run this, you will see a lot of debug messages on the screen, but eventually the server will settle down to listen for requests. Awesome! We are all set now to start our lab sessions in this chapter.

What just happened?

We have successfully set up FreeRADIUS-WPE. We will use this in the rest of the experiments that we will do in this chapter.

Have a go hero – playing with RADIUS

FreeRADIUS-WPE has tons of options. It may be a good idea to familiarize yourself with them. Most importantly, take time to check out the different configuration files and how they all work together.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.147.238.70