Free Radius Conf



  • Hi there..

    My query is about FreeRadius 2 and its configuration.
    I am also sending the screenshots of my problem.

    Scenario

    My lan Ip address is 192.168.0.1 (Pfsense Lan Ip)
    Client ip is 192.168.0.2

    How to configure radius with above given ip settings.
    What IP should I set in Client IP Address field?
    In the Interface IP address field i have entered the LAn Ip i.e 192.168.0.1  !!

    Although i configured free radius but when i tested it displays the content as shown in figure of syslog

    i don't understand where i am doing mistake.
    kindly help



    ![radius test.png](/public/imported_attachments/1/radius test.png)
    ![radius test.png_thumb](/public/imported_attachments/1/radius test.png_thumb)


  • Rebel Alliance Developer Netgate

    1. Remove the FreeRADIUS 2.x package
    2. Upgrade to pfSense 2.3.4-p1 immediately
    3. Install the FreeRADIUS 3.x package
    4. Follow https://doc.pfsense.org/index.php/FreeRADIUS_2.x_package to set it up (the page title says 2.x but the 3.x GUI works the same way)



  • jimp i have configured it on a multiple NICs machine. I tried  to configure it with the Captive portal but when the captive portal is on the page does not resolve instead i have to give the ip of particular site then it only works otherwise it does not open page



  • i configured it waith captive portal as follows

    Interface IP address  192.168.0.1
    NAS/client IP            192.168.0.1

    but now i get the following error



  • Rebel Alliance Developer Netgate

    @agri:

    jimp i have configured it on a multiple NICs machine. I tried  to configure it with the Captive portal but when the captive portal is on the page does not resolve instead i have to give the ip of particular site then it only works otherwise it does not open page

    That has nothing to do with FreeRADIUS, most likely your DNS setup isn't correct for Captive Portal. For example, if your clients do not use the firewall for DNS, you must add a bypass entry for the external DNS servers they use inside Captive Portal on the "Allowed IP Address" tab.

    @agri:

    but now i get the following error

    That probably means FreeRADIUS is not actually running, probably because of a problem in your configuration. Check the system logs to see what errors show up from radiusd when you try to start it.



  • you mean i should enter 192.168.0.1 Ip which is the DNS server IP same as Pfsense LAN Ip in (Allowed Ip Address field) but how this can become an external DNS server as it is configured in the pfsense



  • jimp this is the test for free radius i did when i get the above failed radius message. i am also sending the test result.

    user:  shaheedullah
    Password: school
    sgared secret : cmc

    ![radius test.png](/public/imported_attachments/1/radius test.png)
    ![radius test.png_thumb](/public/imported_attachments/1/radius test.png_thumb)


Log in to reply