1RADTEST(1) FreeRADIUS Daemon RADTEST(1)
2
3
4
6 radtest - send packets to a RADIUS server, show reply
7
9 radtest [-d raddb_directory] user password radius-server nas-port-num‐
10 ber secret [ppphint] [nasname]
11
13 radtest is a frontend to radclient(1). It generates a list of
14 attribute/value pairs based on the command line arguments, and feeds
15 these into radclient. It's a fast and convenient way to test a radius
16 server.
17
18
20 -d raddb_directory
21 The directory that contains the RADIUS dictionary files.
22 Defaults to /etc/raddb.
23
24
25 user Username to send.
26
27
28 password
29 Password of the user.
30
31
32 radius-server
33 Hostname or IP address of the radius server. Optionally, you may
34 specify a port by appending :port
35
36
37 nas-port-number
38 The value of the NAS-Port attribute. Is an integer between 0 and
39 2^31, and it really doesn't matter what you put here. 10 will do
40 fine.
41
42
43 secret The shared secret for this client.
44
45
46 ppphint
47 If you put an integer > 0 here, radtest (or actually radclient)
48 will add the attribute Framed-Protocol = PPP to the request
49 packet.
50
51
52 nasname
53 If present, this will be resolved to an IP address and added to
54 the request packet as the NAS-IP-Address attribute. If you don't
55 specify it, the local hostname of the system will be used.
56
57
59 radiusd(8), radclient(1).
60
62 Miquel van Smoorenburg, miquels@cistron.nl.
63
64
65
66 24 February 2001 RADTEST(1)