1 | ############################################################################### |
---|
2 | # $Id: pptpd.conf,v 1.8 2004/04/28 11:36:07 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 | # |
---|
18 | option /home/system/pptpd/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 | # |
---|
39 | logwtmp |
---|
40 | |
---|
41 | # TAG: bcrelay <if> |
---|
42 | # Turns on broadcast relay to clients from interface <if> |
---|
43 | # |
---|
44 | #bcrelay eth0 |
---|
45 | |
---|
46 | # TAG: localip |
---|
47 | # TAG: remoteip |
---|
48 | # Specifies the local and remote IP address ranges. |
---|
49 | # |
---|
50 | # Any addresses work as long as the local machine takes care of the |
---|
51 | # routing. But if you want to use MS-Windows networking, you should |
---|
52 | # use IP addresses out of the LAN address space and use the proxyarp |
---|
53 | # option in the pppd options file, or run bcrelay. |
---|
54 | # |
---|
55 | # You can specify single IP addresses seperated by commas or you can |
---|
56 | # specify ranges, or both. For example: |
---|
57 | # |
---|
58 | # 192.168.0.234,192.168.0.245-249,192.168.0.254 |
---|
59 | # |
---|
60 | # IMPORTANT RESTRICTIONS: |
---|
61 | # |
---|
62 | # 1. No spaces are permitted between commas or within addresses. |
---|
63 | # |
---|
64 | # 2. If you give more IP addresses than MAX_CONNECTIONS, it will |
---|
65 | # start at the beginning of the list and go until it gets |
---|
66 | # MAX_CONNECTIONS IPs. Others will be ignored. |
---|
67 | # |
---|
68 | # 3. No shortcuts in ranges! ie. 234-8 does not mean 234 to 238, |
---|
69 | # you must type 234-238 if you mean this. |
---|
70 | # |
---|
71 | # 4. If you give a single localIP, that's ok - all local IPs will |
---|
72 | # be set to the given one. You MUST still give at least one remote |
---|
73 | # IP for each simultaneous client. |
---|
74 | # |
---|
75 | # (Recommended) |
---|
76 | #localip 192.168.0.1 |
---|
77 | #remoteip 192.168.0.234-238,192.168.0.245 |
---|
78 | # or |
---|
79 | localip 172.16.13.1 |
---|
80 | remoteip 172.16.13.2-100 |
---|