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] [-t pap/chap/mschap] [-x ] [-4 ] [-6 ]
10 user password radius-server nas-port-number 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 -t pap/chap/mschap/eap-md5
26 Choose the authentiction method to use. e.g. "-t pap", "-t
27 chap", "-t mschap", or "-t eap-md5",. Defaults to "pap". Using
28 EAP-MD5 requires that the "radeapclient" program is installed.
29
30
31 -x Enables debugging output for the RADIUS client.
32
33
34 -4 Use NAS-IP-Address for the NAS address (default)
35
36
37 -6 Use NAS-IPv6-Address for the NAS address (default)
38
39
40 user Username to send.
41
42
43 password
44 Password of the user.
45
46
47 radius-server
48 Hostname or IP address of the radius server. Optionally, you may
49 specify a port by appending :port
50
51
52 nas-port-number
53 The value of the NAS-Port attribute. Is an integer between 0 and
54 2^31, and it really doesn't matter what you put here. 10 will do
55 fine.
56
57
58 secret The shared secret for this client.
59
60
61 ppphint
62 If you put an integer > 0 here, radtest (or actually radclient)
63 will add the attribute Framed-Protocol = PPP to the request
64 packet.
65
66
67 nasname
68 If present, this will be resolved to an IP address and added to
69 the request packet as the NAS-IP-Address attribute. If you don't
70 specify it, the local hostname of the system will be used.
71
72
74 radiusd(8), radclient(1).
75
77 Miquel van Smoorenburg, miquels@cistron.nl.
78
79
80
81 5 April 2010 RADTEST(1)