• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/accel-pptpd/pptpd-1.3.3/samples/
1###############################################################################
2# $Id: pptpd.conf,v 1.10 2006/09/04 23:30:57 quozl Exp $
3#
4# Sample Poptop configuration file /etc/pptpd.conf
5#
6# Changes are effective when pptpd is restarted.
7###############################################################################
8
9# TAG: ppp
10#	Path to the pppd program, default '/usr/sbin/pppd' on Linux
11#
12#ppp /usr/sbin/pppd
13
14# TAG: option
15#	Specifies the location of the PPP options file.
16#	By default PPP looks in '/etc/ppp/options'
17#
18option /etc/ppp/options.pptpd
19
20# TAG: debug
21#	Turns on (more) debugging to syslog
22#
23#debug
24
25# TAG: stimeout
26#	Specifies timeout (in seconds) on starting ctrl connection
27#
28# stimeout 10
29
30# TAG: noipparam
31#       Suppress the passing of the client's IP address to PPP, which is
32#       done by default otherwise.
33#
34#noipparam
35
36# TAG: logwtmp
37#	Use wtmp(5) to record client connections and disconnections.
38#
39logwtmp
40
41# TAG: bcrelay <if>
42#	Turns on broadcast relay to clients from interface <if>
43#
44#bcrelay eth1
45
46# TAG: delegate
47#	Delegates the allocation of client IP addresses to pppd.
48#
49#       Without this option, which is the default, pptpd manages the list of
50#       IP addresses for clients and passes the next free address to pppd.
51#       With this option, pptpd does not pass an address, and so pppd may use
52#       radius or chap-secrets to allocate an address.
53#
54#delegate
55
56# TAG: connections
57#       Limits the number of client connections that may be accepted.
58#
59#       If pptpd is allocating IP addresses (e.g. delegate is not
60#       used) then the number of connections is also limited by the
61#       remoteip option.  The default is 100.
62#connections 100
63
64# TAG: localip
65# TAG: remoteip
66#	Specifies the local and remote IP address ranges.
67#
68#	These options are ignored if delegate option is set.
69#
70#       Any addresses work as long as the local machine takes care of the
71#       routing.  But if you want to use MS-Windows networking, you should
72#       use IP addresses out of the LAN address space and use the proxyarp
73#       option in the pppd options file, or run bcrelay.
74#
75#	You can specify single IP addresses seperated by commas or you can
76#	specify ranges, or both. For example:
77#
78#		192.168.0.234,192.168.0.245-249,192.168.0.254
79#
80#	IMPORTANT RESTRICTIONS:
81#
82#	1. No spaces are permitted between commas or within addresses.
83#
84#	2. If you give more IP addresses than the value of connections,
85#	   it will start at the beginning of the list and go until it
86#	   gets connections IPs.  Others will be ignored.
87#
88#	3. No shortcuts in ranges! ie. 234-8 does not mean 234 to 238,
89#	   you must type 234-238 if you mean this.
90#
91#	4. If you give a single localIP, that's ok - all local IPs will
92#	   be set to the given one. You MUST still give at least one remote
93#	   IP for each simultaneous client.
94#
95# (Recommended)
96#localip 192.168.0.1
97#remoteip 192.168.0.234-238,192.168.0.245
98# or
99#localip 192.168.0.234-238,192.168.0.245
100#remoteip 192.168.1.234-238,192.168.1.245
101