RADTEST(1)

RADTEST(1) β€” FreeRADIUS Daemon ✨

okay so bestie, you wanna poke a RADIUS server and see what it says back? iconic. This is radtest, from the FreeRADIUS Daemon manual page, and it is literally a tiny frontend that makes testing feel easy. πŸ’…


πŸ’– NAME πŸ’–

radtest β€” send packets to a RADIUS server, show reply

✨ SYNOPSIS ✨

radtest [-d raddb_directory] [-P tcp/udp] [-t pap/chap/mschap/eap-md5]
[-x ] [-4 ] [-6 ] user password radius-server nas-port-number secret
[ppphint] [nasname]
bestie, that is the whole shape of the command β€” copy it exactly if you are following along. 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

radtest is a frontend to radclient(1). It generates a list of attribute/value pairs based on the command line arguments, and feeds these into radclient. It's a fast and convenient way to test a radius server. no cap, that is the whole vibe: quick little test, real RADIUS replies. πŸ’–

πŸŽ€ OPTIONS πŸŽ€

  • -d raddb_directory β€” the directory that contains the RADIUS dictionary files. Defaults to /etc/raddb.
  • -P proto β€” use proto transport protocol ("tcp" or "udp"). Only available if FreeRADIUS is compiled with TCP transport support.
  • -t pap/chap/mschap/eap-md5 β€” choose the authentication method to use. e.g. "-t pap", "-t chap", "-t mschap", or "-t eap-md5",. Defaults to "pap". Using EAP-MD5 requires that the "radeapclient" program is installed.
  • -x β€” enables debugging output for the RADIUS client.
  • -4 β€” use NAS-IP-Address for the NAS address (default).
  • -6 β€” use NAS-IPv6-Address for the NAS address (default).
  • user β€” username to send.
  • password β€” password of the user.
  • radius-server β€” hostname or IP address of the radius server. Optionally, you may specify a port by appending :port.
  • nas-port-number β€” the value of the NAS-Port attribute. Is an integer between 0 and 2^31, and it really doesn't matter what you put here. 10 will do fine.
  • secret β€” the shared secret for this client.
  • ppphint β€” if you put an integer > 0 here, radtest (or actually radclient) will add the attribute Framed-Protocol = PPP to the request packet.
  • nasname β€” if present, this will be resolved to an IP address and added to the request packet as the NAS-IP-Address attribute. If you don't specify it, the local hostname of the system will be used.

🌸 SEE ALSO 🌸

πŸ‘‘ AUTHOR πŸ‘‘

Miquel van Smoorenburg, miquels@cistron.nl.


🫢 that’s the page, bestie β€” brought to you by the FreeRADIUS Daemon, dated 5 April 2010. RADTEST(1) out. πŸ’…

πŸ“¦ where this page comes from