forked from syapik96/aws
-
Notifications
You must be signed in to change notification settings - Fork 0
/
accel.conf
107 lines (93 loc) · 1.73 KB
/
accel.conf
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
[modules]
log_file
log_syslog
#pptp
#l2tp
sstp
chap-secrets
auth_mschap_v2
auth_mschap_v1
auth_chap_md5
auth_pap
ippool
pppd_compat
[core]
#thread-count=4
[common]
[chap-secrets]
chap-secrets=/home/sstp/sstp_account
[ppp]
min-mtu=1280
mtu=1400
mru=1400
mppe=prefer
ipv4=require
lcp-echo-interval=20
lcp-echo-timeout=120
#[pptp]
#verbose=1
#ip-pool=pptp
#ifname=pptp%d
#[l2tp]
#verbose=1
#mppe=deny
#host-name=accel-ppp
#secret=
#ip-pool=l2tp
#ifname=l2tp%d
[sstp]
#cert-hash-proto=sha1,sha256
#cert-hash-sha1=
#cert-hash-sha256=
#ssl-ecdh-curve=prime256v1
#ssl-prefer-server-ciphers=0
#ssl-dhparam=/home/sstp/dh.pem
#host-name=domain.tld
#http-error=allow
#timeout=60
port=5555
accept=ssl
ssl-ciphers=DEFAULT
ssl-protocol=tls1,tls1.1,tls1.2,tls1.3
ssl-ca-file=/home/sstp/ca.crt
ssl-pemfile=/home/sstp/server.crt
ssl-keyfile=/home/sstp/server.key
ip-pool=sstp
ifname=sstp%d
[dns]
dns1=1.1.1.1
dns2=1.0.0.1
[client-ip-range]
0.0.0.0/0
[ip-pool]
gw-ip-address=xxxxxxxxx
attr=Framed-Pool
172.63.11.3-254,name=sstp
172.63.12.3-254,name=l2tp,next=sstp
172.63.13.3-254,name=pptp,next=l2tp
[pppd-compat]
ip-up=/etc/ppp/ip-up
ip-down=/etc/ppp/ip-down
radattr-prefix=/var/run/radattr
[log]
#log-debug=/dev/stdout
#syslog=accel-pppd,daemon
#log-tcp=127.0.0.1:3000
#color=1
#per-user-dir=per_user
#per-session-dir=per_session
#per-session=1
log-file=/var/log/accel-ppp/accel-ppp.log
log-emerg=/var/log/accel-ppp/emerg.log
log-fail-file=/var/log/accel-ppp/auth-fail.log
copy=1
level=3
[log-pgsql]
conninfo=user=log
log-table=log
[cli]
#password=123
#sessions-columns=ifname,username,ip,ip6,ip6-dp,type,state,uptime,uptime-raw,calling-sid,called-sid,sid,comp,rx-bytes,tx-bytes,rx-bytes-raw,tx-bytes-raw,rx-pkts,tx-pkts
verbose=1
telnet=127.0.0.1:2000
tcp=127.0.0.1:2001