summaryrefslogtreecommitdiff
path: root/etc/ppp/ppp.secret.sample
blob: 73f7e35ad9e51186d81fe36a2a08c552a7dc9e63 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
##################################################
#
#          Example of ppp.secret file
#
#  This file is used to authenticate incoming connections.
#  You must ``enable'' either PAP or CHAP in your ppp.conf file.
#  The peer may then use any of the Authname/Authkey pairs listed.
#  Additionally, if ``passwdauth'' is enabled and an entry isn't
#  found in this file, the passwd(5) database is used.
#
#  If the password is specified as "*", look it up in passwd(5).
#  This doesn't work for CHAP connections as ppp must have access
#  to the unencrypted password for CHAP.
#
#  If an IP address or address range is given as the third field, it
#  will be assigned to the peer.  A ``*'' or an empty field may be
#  used as a placeholder if you do not wish to override the IP
#  address, but wish to specify further fields.
#
#  If a label is given as the forth field, it is used when reading
#  the ppp.linkup and ppp.linkdown files.  A ``*'' or an empty field
#  can be used as a placeholder if you do not wish to override the
#  label, but wish to specify further fields.
#
#  If a phone number or list of phone numbers is given as the fifth
#  field, these numbers will be used to call back the client if
#  ``auth'' or ``cbcp'' callback is enabled (see ``set callback'').
#  A ``*'' specifies that the client must specify the number.
#  
# $OpenBSD: ppp.secret.sample,v 1.3 1998/09/23 07:30:58 todd Exp $
#
##################################################

# Authname Authkey      Peer's IP address        Label   Callback

oscar      OurSecretKey 192.2.18.34
BigBird    X4dWg9327    192.2.18.33/32
fred       *            *                        fred
subnet     *            192.2.18.35-192.2.18.70  subnet
admin      *            *                        *       *
homeworker *            *                        *       1234567