summaryrefslogtreecommitdiffstats
path: root/cpukit/pppd/example/ppp.conf
blob: 094b1946a80e5e3dabade14423ec431eed351c4f (plain) (blame)
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

#
# Example configuration file for setting up a ppp server
#   using a null-modem serial cable:
#
#   Tested using ppp on OpenBSD 2.9
#     - just follow instructions in man page for accepting
#       ppp connections over the serial port
#     - if pap and/or chap is enabled, you must have a ppp.secret
#       file which will be used for user authentication
#     - found useful to turn on syslog for ppp
#

default:
 set log Phase Chat LQM LCP IPCP CCP command
 set device /dev/cua00
 set speed 57600
 set ctsrts on
 set dial ""

openbsd-server:
 set timeout 0
 set ifaddr 192.168.2.100 192.168.2.123
 enable dns
 allow users
 enable chap
 enable pap