xref: /freebsd/share/examples/ppp/ppp.secret.sample (revision d0b2dbfa0ecf2bbc9709efc5e20baf8e4b44bbbf)
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#
31##################################################
32
33# Authname Authkey      Peer's IP address        Label   Callback
34
35oscar      OurSecretKey 192.2.18.34
36BigBird    X4dWg9327    192.2.18.33/32
37fred       *            *                        fred
38subnet     *            192.2.18.35-192.2.18.70  subnet
39admin      *            *                        *       *
40homeworker *            *                        *       1234567
41