1
|
pptps:
|
2
|
load pt0
|
3
|
load pt1
|
4
|
load pt2
|
5
|
load pt3
|
6
|
load pt4
|
7
|
load pt5
|
8
|
load pt6
|
9
|
load pt7
|
10
|
load pt8
|
11
|
load pt9
|
12
|
load pt10
|
13
|
load pt11
|
14
|
load pt12
|
15
|
load pt13
|
16
|
load pt14
|
17
|
load pt15
|
18
|
|
19
|
pt0:
|
20
|
new -i pptpd0 pt0 pt0
|
21
|
set ipcp ranges 192.168.3.254/32 192.168.3.1/32
|
22
|
load pts
|
23
|
|
24
|
pt1:
|
25
|
new -i pptpd1 pt1 pt1
|
26
|
set ipcp ranges 192.168.3.254/32 192.168.3.2/32
|
27
|
load pts
|
28
|
|
29
|
pt2:
|
30
|
new -i pptpd2 pt2 pt2
|
31
|
set ipcp ranges 192.168.3.254/32 192.168.3.3/32
|
32
|
load pts
|
33
|
|
34
|
pt3:
|
35
|
new -i pptpd3 pt3 pt3
|
36
|
set ipcp ranges 192.168.3.254/32 192.168.3.4/32
|
37
|
load pts
|
38
|
|
39
|
pt4:
|
40
|
new -i pptpd4 pt4 pt4
|
41
|
set ipcp ranges 192.168.3.254/32 192.168.3.5/32
|
42
|
load pts
|
43
|
|
44
|
pt5:
|
45
|
new -i pptpd5 pt5 pt5
|
46
|
set ipcp ranges 192.168.3.254/32 192.168.3.6/32
|
47
|
load pts
|
48
|
|
49
|
pt6:
|
50
|
new -i pptpd6 pt6 pt6
|
51
|
set ipcp ranges 192.168.3.254/32 192.168.3.7/32
|
52
|
load pts
|
53
|
|
54
|
pt7:
|
55
|
new -i pptpd7 pt7 pt7
|
56
|
set ipcp ranges 192.168.3.254/32 192.168.3.8/32
|
57
|
load pts
|
58
|
|
59
|
pt8:
|
60
|
new -i pptpd8 pt8 pt8
|
61
|
set ipcp ranges 192.168.3.254/32 192.168.3.9/32
|
62
|
load pts
|
63
|
|
64
|
pt9:
|
65
|
new -i pptpd9 pt9 pt9
|
66
|
set ipcp ranges 192.168.3.254/32 192.168.3.10/32
|
67
|
load pts
|
68
|
|
69
|
pt10:
|
70
|
new -i pptpd10 pt10 pt10
|
71
|
set ipcp ranges 192.168.3.254/32 192.168.3.11/32
|
72
|
load pts
|
73
|
|
74
|
pt11:
|
75
|
new -i pptpd11 pt11 pt11
|
76
|
set ipcp ranges 192.168.3.254/32 192.168.3.12/32
|
77
|
load pts
|
78
|
|
79
|
pt12:
|
80
|
new -i pptpd12 pt12 pt12
|
81
|
set ipcp ranges 192.168.3.254/32 192.168.3.13/32
|
82
|
load pts
|
83
|
|
84
|
pt13:
|
85
|
new -i pptpd13 pt13 pt13
|
86
|
set ipcp ranges 192.168.3.254/32 192.168.3.14/32
|
87
|
load pts
|
88
|
|
89
|
pt14:
|
90
|
new -i pptpd14 pt14 pt14
|
91
|
set ipcp ranges 192.168.3.254/32 192.168.3.15/32
|
92
|
load pts
|
93
|
|
94
|
pt15:
|
95
|
new -i pptpd15 pt15 pt15
|
96
|
set ipcp ranges 192.168.3.254/32 192.168.3.16/32
|
97
|
load pts
|
98
|
|
99
|
pts:
|
100
|
set iface disable on-demand
|
101
|
set iface enable proxy-arp
|
102
|
set iface enable tcpmssfix
|
103
|
set iface idle 1800
|
104
|
set iface up-script /usr/local/sbin/vpn-linkup
|
105
|
set iface down-script /usr/local/sbin/vpn-linkdown
|
106
|
set bundle enable multilink
|
107
|
set bundle enable crypt-reqd
|
108
|
set link yes acfcomp protocomp
|
109
|
set link no pap chap
|
110
|
set link enable chap-msv2
|
111
|
set link mtu 1460
|
112
|
set link keep-alive 10 60
|
113
|
set ipcp yes vjcomp
|
114
|
set bundle enable compression
|
115
|
set ccp yes mppc
|
116
|
set ccp yes mpp-e128
|
117
|
set ccp yes mpp-stateless
|
118
|
set ipcp dns 192.168.2.1 8.8.8.8
|
119
|
set radius server 95.35.40.29 "testing123" 1812 1813
|
120
|
set radius retries 3
|
121
|
set radius timeout 10
|
122
|
set auth enable radius-auth
|
123
|
set auth enable radius-acct
|
124
|
set radius acct-update 300
|