1 |
slords |
1.1 |
################################################################################ |
2 |
|
|
# |
3 |
|
|
# Sample PoPToP configuration file |
4 |
|
|
# |
5 |
|
|
# for PoPToP version 1.0.1 |
6 |
|
|
# |
7 |
|
|
################################################################################ |
8 |
|
|
|
9 |
|
|
# TAG: speed |
10 |
|
|
# |
11 |
|
|
# Specifies the speed for the PPP daemon to talk at. |
12 |
|
|
# Some PPP daemons will ignore this value. |
13 |
|
|
# |
14 |
|
|
speed 115200 |
15 |
|
|
|
16 |
|
|
# TAG: option |
17 |
|
|
# |
18 |
|
|
# Specifies the location of the PPP options file. |
19 |
|
|
# By default PPP looks in '/etc/ppp/options' |
20 |
|
|
# |
21 |
|
|
option /etc/ppp/options.pptpd |
22 |
|
|
|
23 |
|
|
# TAG: debug |
24 |
|
|
# |
25 |
|
|
# Turns on (more) debugging to syslog. |
26 |
|
|
# |
27 |
|
|
#debug |
28 |
|
|
|
29 |
|
|
# TAG: localip |
30 |
|
|
# TAG: remoteip |
31 |
|
|
# |
32 |
|
|
# Specifies the local and remote IP address ranges. |
33 |
|
|
# |
34 |
|
|
# You can specify single IP addresses seperated by commas or you can |
35 |
|
|
# specify ranges, or both. For example: |
36 |
|
|
# |
37 |
|
|
# 192.168.0.234,192.168.0.245-249,192.168.0.254 |
38 |
|
|
# |
39 |
|
|
# IMPORTANT RESTRICTIONS: |
40 |
|
|
# |
41 |
|
|
# 1. No spaces are permitted between commas or within addresses. |
42 |
|
|
# |
43 |
|
|
# 2. If you give more IP addresses than MAX_CONNECTIONS, it will |
44 |
|
|
# start at the beginning of the list and go until it gets |
45 |
|
|
# MAX_CONNECTIONS IPs. Others will be ignored. |
46 |
|
|
# |
47 |
|
|
# 3. No shortcuts in ranges! ie. 234-8 does not mean 234 to 238, |
48 |
|
|
# you must type 234-238 if you mean this. |
49 |
|
|
# |
50 |
|
|
# 4. If you give a single localIP, that's ok - all local IPs will |
51 |
|
|
# be set to the given one. You MUST still give at least one remote |
52 |
|
|
# IP for each simultaneous client. |
53 |
|
|
# |
54 |
|
|
localip 192.168.1.80-89 |
55 |
|
|
remoteip 192.168.1.90-99 |
56 |
|
|
|
57 |
|
|
# TAG: ipxnets |
58 |
|
|
# |
59 |
|
|
# This gives the range of IPX networks to allocate to clients. By |
60 |
|
|
# default IPX network number allocation is not handled internally. |
61 |
|
|
# By putting a low and high network number here a pool of IPX networks |
62 |
|
|
# can be defined. If this is done then there must be one IPX network |
63 |
|
|
# per client. |
64 |
|
|
# |
65 |
|
|
# The format is a pair of hex numbers without any 0x prefix separated |
66 |
|
|
# by a hyphen. |
67 |
|
|
# |
68 |
|
|
#ipxnets 00001000-00001FFF |
69 |
|
|
|
70 |
|
|
# TAG: listen |
71 |
|
|
# |
72 |
|
|
# Defines the IP address of the local interface on which pptpd |
73 |
|
|
# should listen for connections. The default is to listen on all |
74 |
|
|
# local interfaces (even ones brought up by pptp connections, thus |
75 |
|
|
# permitting pptp tunnels inside the pptp tunnels). |
76 |
|
|
# |
77 |
|
|
#listen 192.168.0.1 |
78 |
|
|
|
79 |
|
|
# TAG: pidfile |
80 |
|
|
# |
81 |
|
|
# This defines the file name in which pptpd should store its process |
82 |
|
|
# ID (or pid). The default is /var/run/pptpd.pid. |
83 |
|
|
# |
84 |
|
|
#pidfile /var/run/pptpd.pid |