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β useprototransport 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β useNAS-IP-Addressfor the NAS address (default).-6β useNAS-IPv6-Addressfor 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 theNAS-Portattribute. Is an integer between0and2^31, and it really doesn't matter what you put here.10will do fine.secretβ the shared secret for this client.ppphintβ if you put an integer> 0here,radtest(or actuallyradclient) will add the attributeFramed-Protocol = PPPto the request packet.nasnameβ if present, this will be resolved to an IP address and added to the request packet as theNAS-IP-Addressattribute. 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
- arch rolling: freeradius 3.2.10-4 Β· GPL-2.0-or-later
- centos-stream 10: freeradius-utils 3.2.8-2.el10 Β· GPL-2.0-or-later AND LGPL-2.0-or-later
- fedora 43: freeradius-utils 3.2.7-6.fc43 Β· GPL-2.0-or-later AND LGPL-2.0-or-later
- fedora 43: freeradius-utils 3.2.8-2.fc43 Β· GPL-2.0-or-later AND LGPL-2.0-or-later
- fedora 44: freeradius-utils 3.2.8-3.fc44 Β· GPL-2.0-or-later AND LGPL-2.0-or-later
- opensuse-leap 16.0: freeradius-server-utils 3.2.5-160000.2.2 Β· GPL-2.0-only AND LGPL-2.1-only
- opensuse-leap 16.0: freeradius-server-utils 3.2.5-160000.2.2 Β· GPL-2.0-only AND LGPL-2.1-only
- opensuse-leap 16.0: freeradius-server-utils 3.2.5-160000.2.2 Β· GPL-2.0-only AND LGPL-2.1-only
- opensuse-leap 16.0: freeradius-server-utils 3.2.5-160000.2.2 Β· GPL-2.0-only AND LGPL-2.1-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms