1RADTEST(1)                     FreeRADIUS Daemon                    RADTEST(1)
2
3
4

NAME

6       radtest - send packets to a RADIUS server, show reply
7

SYNOPSIS

9       radtest  [-d raddb_directory] [-P tcp/udp] [-t pap/chap/mschap/eap-md5]
10       [-x ] [-4 ] [-6 ] user password  radius-server  nas-port-number  secret
11       [ppphint] [nasname]
12

DESCRIPTION

14       radtest  is  a  frontend to radclient(1). It generates a list of attri‐
15       bute/value pairs based on the command line arguments, and  feeds  these
16       into radclient. It's a fast and convenient way to test a radius server.
17
18

OPTIONS

20       -d raddb_directory
21              The  directory  that  contains  the RADIUS dictionary files. De‐
22              faults to /etc/raddb.
23
24
25       -P proto
26              Use proto transport protocol ("tcp" or "udp").   Only  available
27              if FreeRADIUS is compiled with TCP transport support.
28
29
30       -t pap/chap/mschap/eap-md5
31              Choose  the  authentication  method  to use.  e.g. "-t pap", "-t
32              chap", "-t mschap", or "-t eap-md5",.  Defaults to "pap".  Using
33              EAP-MD5 requires that the "radeapclient" program is installed.
34
35
36       -x     Enables debugging output for the RADIUS client.
37
38
39       -4     Use NAS-IP-Address for the NAS address (default)
40
41
42       -6     Use NAS-IPv6-Address for the NAS address (default)
43
44
45       user   Username to send.
46
47
48       password
49              Password of the user.
50
51
52       radius-server
53              Hostname or IP address of the radius server. Optionally, you may
54              specify a port by appending :port
55
56
57       nas-port-number
58              The value of the NAS-Port attribute. Is an integer between 0 and
59              2^31, and it really doesn't matter what you put here. 10 will do
60              fine.
61
62
63       secret The shared secret for this client.
64
65
66       ppphint
67              If you put an integer > 0 here, radtest (or actually  radclient)
68              will  add  the  attribute  Framed-Protocol  = PPP to the request
69              packet.
70
71
72       nasname
73              If present, this will be resolved to an IP address and added  to
74              the request packet as the NAS-IP-Address attribute. If you don't
75              specify it, the local hostname of the system will be used.
76
77

SEE ALSO

79       radiusd(8), radclient(1).
80

AUTHOR

82       Miquel van Smoorenburg, miquels@cistron.nl.
83
84
85
86                                 5 April 2010                       RADTEST(1)
Impressum