143902Sbrian##################################################
243902Sbrian#
343902Sbrian#          Example of ppp.secret file
443902Sbrian#
543902Sbrian#  This file is used to authenticate incoming connections.
643902Sbrian#  You must ``enable'' either PAP or CHAP in your ppp.conf file.
743902Sbrian#  The peer may then use any of the Authname/Authkey pairs listed.
843902Sbrian#  Additionally, if ``passwdauth'' is enabled and an entry isn't
943902Sbrian#  found in this file, the passwd(5) database is used.
1043902Sbrian#
1143902Sbrian#  If the password is specified as "*", look it up in passwd(5).
1243902Sbrian#  This doesn't work for CHAP connections as ppp must have access
1343902Sbrian#  to the unencrypted password for CHAP.
1443902Sbrian#
1543902Sbrian#  If an IP address or address range is given as the third field, it
1643902Sbrian#  will be assigned to the peer.  A ``*'' or an empty field may be
1743902Sbrian#  used as a placeholder if you do not wish to override the IP
1843902Sbrian#  address, but wish to specify further fields.
1943902Sbrian#
2043902Sbrian#  If a label is given as the forth field, it is used when reading
2143902Sbrian#  the ppp.linkup and ppp.linkdown files.  A ``*'' or an empty field
2243902Sbrian#  can be used as a placeholder if you do not wish to override the
2343902Sbrian#  label, but wish to specify further fields.
2443902Sbrian#
2543902Sbrian#  If a phone number or list of phone numbers is given as the fifth
2643902Sbrian#  field, these numbers will be used to call back the client if
2743902Sbrian#  ``auth'' or ``cbcp'' callback is enabled (see ``set callback'').
2843902Sbrian#  A ``*'' specifies that the client must specify the number.
2943902Sbrian#  
3050476Speter# $FreeBSD: releng/10.3/share/examples/ppp/ppp.secret.sample 50476 1999-08-28 00:22:10Z peter $
3143902Sbrian#
3243902Sbrian##################################################
3343902Sbrian
3443902Sbrian# Authname Authkey      Peer's IP address        Label   Callback
3543902Sbrian
3643902Sbrianoscar      OurSecretKey 192.2.18.34
3743902SbrianBigBird    X4dWg9327    192.2.18.33/32
3843902Sbrianfred       *            *                        fred
3943902Sbriansubnet     *            192.2.18.35-192.2.18.70  subnet
4043902Sbrianadmin      *            *                        *       *
4143902Sbrianhomeworker *            *                        *       1234567
42