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
15       attribute/value pairs based on the command line  arguments,  and  feeds
16       these  into  radclient. It's a fast and convenient way to test a radius
17       server.
18
19

OPTIONS

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

SEE ALSO

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

AUTHOR

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