Advertisement
Guest User

Untitled

a guest
Dec 8th, 2017
319
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.92 KB | None | 0 0
  1. [modules]
  2. log_file
  3. #log_syslog
  4. #log_tcp
  5. #log_pgsql
  6.  
  7. #pptp
  8. #l2tp
  9. #pppoe
  10. ipoe
  11. vlan-mon
  12.  
  13. #auth_mschap_v2
  14. #auth_mschap_v1
  15. auth_chap_md5
  16. #auth_pap
  17.  
  18. radius
  19. #chap-secrets
  20.  
  21. ippool
  22.  
  23. #pppd_compat
  24.  
  25. #shaper
  26. #net-snmp
  27. #logwtmp
  28. #connlimit
  29.  
  30. ipv6_nd
  31. ipv6_dhcp
  32. ipv6pool
  33.  
  34. #net-accel-dp
  35.  
  36. [core]
  37. log-error=/var/log/accel-ppp/core.log
  38. thread-count=4
  39.  
  40. [common]
  41. #single-session=replace
  42. #sid-case=upper
  43. #sid-source=seq
  44. #max-sessions=1000
  45.  
  46. [ppp]
  47. verbose=1
  48. min-mtu=1280
  49. mtu=1400
  50. mru=1400
  51. #accomp=deny
  52. #pcomp=deny
  53. #ccp=0
  54. #check-ip=0
  55. #mppe=require
  56. ipv4=require
  57. ipv6=deny
  58. ipv6-intf-id=0:0:0:1
  59. ipv6-peer-intf-id=0:0:0:2
  60. ipv6-accept-peer-intf-id=1
  61. lcp-echo-interval=20
  62. #lcp-echo-failure=3
  63. lcp-echo-timeout=120
  64. unit-cache=1
  65. #unit-preallocate=1
  66.  
  67. [auth]
  68. #any-login=0
  69. #noauth=0
  70.  
  71. [pptp]
  72. verbose=1
  73. #echo-interval=30
  74.  
  75. [pppoe]
  76. verbose=1
  77. #ac-name=xxx
  78. #service-name=yyy
  79. #pado-delay=0
  80. #pado-delay=0,100:100,200:200,-1:500
  81. called-sid=mac
  82. #tr101=1
  83. #padi-limit=0
  84. #ip-pool=pppoe
  85. #sid-uppercase=0
  86. #vlan-mon=eth0,10-200
  87. #vlan-timeout=60
  88. #vlan-name=%I.%N
  89. #interface=eth1,padi-limit=1000,net=accel-dp
  90. interface=eth0
  91.  
  92. [l2tp]
  93. verbose=1
  94. #dictionary=/usr/local/share/accel-ppp/l2tp/dictionary
  95. #hello-interval=60
  96. #timeout=60
  97. #rtimeout=1
  98. #rtimeout-cap=16
  99. #retransmit=5
  100. #recv-window=16
  101. #host-name=accel-ppp
  102. #dir300_quirk=0
  103. #secret=
  104. #dataseq=allow
  105. #reorder-timeout=0
  106. #ip-pool=l2tp
  107.  
  108. [ipoe]
  109. verbose=5
  110. check-mac-change=0
  111. username=lua:username
  112. lua-file=/etc/accel-ppp.lua
  113. lease-time=120
  114. max-lease-time=120
  115. unit-cache=0
  116. proxy-arp=1
  117. attr-dhcp-client-ip=Framed-IP-Address
  118. gw-ip-address=100.100.0.1/24
  119. interface=re:eth0\.668\.([1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-4][0-9][0-9][0-9]),mode=L2,shared=0,start=dhcpv4,ifcfg=1,ipv6=1
  120. vlan-mon=eth0.668,1-4095
  121. vlan-timeout=60
  122.  
  123. [dns]
  124. dns1=191.243.120.165
  125. dns2=8.8.8.8
  126.  
  127. [wins]
  128. #wins1=172.16.0.1
  129. #wins2=172.16.1.1
  130.  
  131. [radius]
  132. dictionary=/usr/local/share/accel-ppp/radius/dictionary
  133. nas-identifier=IPoE01
  134. nas-ip-address=138.219.152.39
  135. gw-ip-address=172.30.0.1
  136. server=191.243.120.220,rapadura,auth-port=1812,acct-port=1813,req-limit=50,fail-timeout=0,max-fail=10,weight=1
  137. dae-server=138.219.152.39:3799,rapadura
  138. verbose=1
  139. timeout=160
  140. acct-on=1
  141.  
  142. [client-ip-range]
  143. 10.0.0.0/8
  144.  
  145. [ip-pool]
  146. gw-ip-address=172.30.0.1
  147. #vendor=Cisco
  148. #attr=Cisco-AVPair
  149. attr=Framed-Pool
  150. 172.30.0.2-255
  151. #192.168.1.1-255,name=pool1
  152. #192.168.2.1-255,name=pool2
  153. #192.168.3.1-255,name=pool3
  154. #192.168.4.0/24
  155.  
  156. [log]
  157. log-file=/var/log/accel-ppp/accel-ppp.log
  158. log-emerg=/var/log/accel-ppp/emerg.log
  159. log-fail-file=/var/log/accel-ppp/auth-fail.log
  160. log-debug=/dev/stdout
  161. #syslog=accel-pppd,daemon
  162. #log-tcp=127.0.0.1:3000
  163. copy=1
  164. #color=1
  165. #per-user-dir=per_user
  166. #per-session-dir=per_session
  167. #per-session=1
  168. level=3
  169.  
  170. [log-pgsql]
  171. conninfo=user=log
  172. log-table=log
  173.  
  174. [pppd-compat]
  175. #ip-pre-up=/etc/ppp/ip-pre-up
  176. ip-up=/etc/ppp/ip-up
  177. ip-down=/etc/ppp/ip-down
  178. ip-change=/etc/ppp/ip-change
  179. radattr-prefix=/var/run/radattr
  180. verbose=1
  181.  
  182. [chap-secrets]
  183. gw-ip-address=192.168.100.1
  184. #chap-secrets=/etc/ppp/chap-secrets
  185. #encrypted=0
  186. #username-hash=md5
  187.  
  188. [shaper]
  189. #attr=Filter-Id
  190. #down-burst-factor=0.1
  191. #up-burst-factor=1.0
  192. #latency=50
  193. #mpu=0
  194. #mtu=0
  195. #r2q=10
  196. #quantum=1500
  197. #moderate-quantum=1
  198. #cburst=1534
  199. #ifb=ifb0
  200. up-limiter=police
  201. down-limiter=tbf
  202. #leaf-qdisc=sfq perturb 10
  203. #leaf-qdisc=fq_codel [limit PACKETS] [flows NUMBER] [target TIME] [interval TIME] [quantum BYTES] [[no]ecn]
  204. #rate-multiplier=1
  205. #fwmark=1
  206. verbose=1
  207.  
  208. [cli]
  209. verbose=1
  210. telnet=127.0.0.1:2000
  211. tcp=127.0.0.1:2001
  212. #password=123
  213.  
  214. [snmp]
  215. master=0
  216. agent-name=accel-ppp
  217.  
  218. [connlimit]
  219. limit=10/min
  220. burst=3
  221. timeout=60
  222.  
  223. [ipv6-pool]
  224. 2804:1054:DEAD:9000::/52,64
  225. delegate=2804:1054:DEAD:A000::/52,64
  226.  
  227. [ipv6-dns]
  228. #fc00:1::1
  229. #fc00:1::2
  230. #fc00:1::3
  231. #dnssl=suffix1.local.net
  232. #dnssl=suffix2.local.net.
  233.  
  234. [ipv6-dhcp]
  235. verbose=5
  236. pref-lifetime=300
  237. valid-lifetime=300
  238. route-via-gw=1
  239.  
  240. [accel-dp]
  241. socket=/var/run/accel-dp.sock
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement