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

    Radtest to localhost OK but not to IP?

    Scheduled Pinned Locked Moved General pfSense Questions
    3 Posts 3 Posters 973 Views
    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
      PRNOHFT
      last edited by

      Hi all,

      Apologies to bring in the trouble but I've installed FreeRadius onto Pfsense. If you did a radtest to localhost, there will be an accepted response. But if you were to do a radtest to the IP that Pfsense is in (in this case 192.168.30.1), it does not work. Any ideas on this phenomena?

      Also apologies if this is in the wrong thread.

      1 Reply Last reply Reply Quote 0
      • jimpJ Offline
        jimp Rebel Alliance Developer Netgate
        last edited by

        Check the logs, most likely it's not matching a configured NAS/Client when you test by IP address. The source is likely not an IP Address you have configured as a NAS/Client.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • M Offline
          muswellhillbilly
          last edited by

          Specifically, check the /etc/raddb/clients.conf file. There should be an entry with the client address of the radtest source address and shared secret, similar to the following:

          client 23.34.12.90 {
                  secret          = shared-secret-pw
                  shortname  = nas-name
                  nastype      = other
          }

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