Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Freeradius wont authenticate at all

    Scheduled Pinned Locked Moved General pfSense Questions
    3 Posts 3 Posters 596 Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P Offline
      paulqsource
      last edited by

      Good day.
      I am running 2.5.2-RELEASE (amd64) with freeradius3 version 0.15.7_32
      and openvpn

      but even before i can try to get openvpn to work i need to authenticate with free radius.
      Gone through multiple tutorialals, deleting and starting over. i keep on getting : Error during RADIUS authentication : No valid RADIUS responses received.

      /usr/local/etc/raddb/clients.conf

      client "acrapfsense" {
      ipaddr = 127.0.0.1
      proto = udp
      secret = 'acra' /* not real password*/
      require_message_authenticator = no
      nas_type = other
      ### login = !root ###
      ### password = someadminpass ###
      limit {
      max_connections = 16
      lifetime = 0
      idle_timeout = 30
      }
      }
      and a authentication server set up as
      type - radius
      protocol - ms-chapv2
      shared secret - acra exactly the same- tripple tripple checked
      and services offered - auth
      auth port 1812

      radius nas ip attribute is set to - wan - 197.234..

      But wgen i go to diagnostics/auth and authenticate i get error.

      The following input errors were detected:

      Authentication failed..

      /diag_authentication.php: Error during RADIUS authentication : No valid RADIUS responses received

      I have no idea what to do next

      regards

      GertjanG 1 Reply Last reply Reply Quote 0
      • stephenw10S Offline
        stephenw10 Netgate Administrator
        last edited by

        Hmm, I've tested that a few times recently and it's worked fine.

        Does it respond to radtest at the cli?

        Is the Freeradius service actually running?

        Steve

        1 Reply Last reply Reply Quote 0
        • GertjanG Offline
          Gertjan @paulqsource
          last edited by

          @paulqsource

          Try this :

          On the dashboard, the 'radiusd' process should be 'green' :

          ae61402f-a40d-44aa-b384-ce82a38a7df4-image.png

          Stop it :

          a0eebd41-9efe-419d-8a25-80aa0d6d6100-image.png

          Open a console connection, menu option 8.

          Type

          radiusd -X
          

          Now the FreeRadius process starts, and logs over the console.
          If you use a ssh client like Putty, warning messages will be yellow, errors will be red.
          Your mission : find the red lines, and make them go away.

          When I start radiusd, I only see these :

          2dea9d74-9c6e-4e22-bcf4-2eca10e4cb6d-image.png

          Then, it idles, waiting for 'things to do'.

          No "help me" PM's please. Use the forum, the community will thank you.
          Edit : and where are the logs ??

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.