Merge branch 'vendor/FLEX'
[dragonfly.git] / share / examples / ppp / ppp.secret.sample
1 ##################################################
2 #
3 #          Example of ppp.secret file
4 #
5 #  This file is used to authenticate incoming connections.
6 #  You must ``enable'' either PAP or CHAP in your ppp.conf file.
7 #  The peer may then use any of the Authname/Authkey pairs listed.
8 #  Additionally, if ``passwdauth'' is enabled and an entry isn't
9 #  found in this file, the passwd(5) database is used.
10 #
11 #  If the password is specified as "*", look it up in passwd(5).
12 #  This doesn't work for CHAP connections as ppp must have access
13 #  to the unencrypted password for CHAP.
14 #
15 #  If an IP address or address range is given as the third field, it
16 #  will be assigned to the peer.  A ``*'' or an empty field may be
17 #  used as a placeholder if you do not wish to override the IP
18 #  address, but wish to specify further fields.
19 #
20 #  If a label is given as the forth field, it is used when reading
21 #  the ppp.linkup and ppp.linkdown files.  A ``*'' or an empty field
22 #  can be used as a placeholder if you do not wish to override the
23 #  label, but wish to specify further fields.
24 #
25 #  If a phone number or list of phone numbers is given as the fifth
26 #  field, these numbers will be used to call back the client if
27 #  ``auth'' or ``cbcp'' callback is enabled (see ``set callback'').
28 #  A ``*'' specifies that the client must specify the number.
29 #  
30 # $FreeBSD: src/share/examples/ppp/ppp.secret.sample,v 1.2 1999/08/28 00:19:32 peter Exp $
31 # $DragonFly: src/share/examples/ppp/ppp.secret.sample,v 1.2 2003/06/17 04:36:57 dillon Exp $
32 #
33 ##################################################
34
35 # Authname Authkey      Peer's IP address        Label   Callback
36
37 oscar      OurSecretKey 192.2.18.34
38 BigBird    X4dWg9327    192.2.18.33/32
39 fred       *            *                        fred
40 subnet     *            192.2.18.35-192.2.18.70  subnet
41 admin      *            *                        *       *
42 homeworker *            *                        *       1234567