Advertisement
Guest User

Untitled

a guest
Jan 15th, 2019
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.37 KB | None | 0 0
  1. [root@noc-db-load build]# cat /etc/accel-ppp.conf
  2. [modules]
  3. log_file
  4. #log_syslog
  5. #log_tcp
  6. #log_pgsql
  7.  
  8. #pptp
  9. #l2tp
  10. #sstp
  11. #pppoe
  12. ipoe
  13.  
  14. auth_mschap_v2
  15. auth_mschap_v1
  16. auth_chap_md5
  17. auth_pap
  18.  
  19. radius
  20. #chap-secrets
  21.  
  22. ippool
  23.  
  24. pppd_compat
  25.  
  26. #shaper
  27. #net-snmp
  28. #logwtmp
  29. #connlimit
  30.  
  31. #ipv6_nd
  32. #ipv6_dhcp
  33. #ipv6pool
  34.  
  35. [core]
  36. log-error=/var/log/accel-ppp/core.log
  37. thread-count=1
  38.  
  39. [common]
  40. #single-session=replace
  41. #sid-case=upper
  42. #sid-source=seq
  43. #max-sessions=1000
  44.  
  45. [ppp]
  46. verbose=1
  47. min-mtu=1280
  48. mtu=1400
  49. mru=1400
  50. #accomp=deny
  51. #pcomp=deny
  52. #ccp=0
  53. #check-ip=0
  54. #mppe=require
  55. ipv4=require
  56. ipv6=deny
  57. #ipv6-intf-id=0:0:0:1
  58. #ipv6-peer-intf-id=0:0:0:2
  59. #ipv6-accept-peer-intf-id=1
  60. lcp-echo-interval=20
  61. #lcp-echo-failure=3
  62. lcp-echo-timeout=120
  63. unit-cache=1
  64. #unit-preallocate=1
  65.  
  66. [auth]
  67. #any-login=0
  68. #noauth=0
  69.  
  70. [pptp]
  71. verbose=1
  72. #echo-interval=30
  73. #ifname=pptp%d
  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. #ifname=pppoe%d
  86. #sid-uppercase=0
  87. #vlan-mon=eth0,10-200
  88. #vlan-timeout=60
  89. #vlan-name=%I.%N
  90. #interface=eth1,padi-limit=1000
  91. #interface=eth0
  92.  
  93. [l2tp]
  94. verbose=1
  95. #dictionary=/usr/local/share/accel-ppp/l2tp/dictionary
  96. #hello-interval=60
  97. #timeout=60
  98. #rtimeout=1
  99. #rtimeout-cap=16
  100. #retransmit=5
  101. #recv-window=16
  102. #host-name=accel-ppp
  103. #dir300_quirk=0
  104. #secret=
  105. #dataseq=allow
  106. #reorder-timeout=0
  107. #ip-pool=l2tp
  108. #ifname=l2tp%d
  109.  
  110. [sstp]
  111. verbose=1
  112. #cert-hash-proto=sha1,sha256
  113. #cert-hash-sha1=
  114. #cert-hash-sha256=
  115. #accept=ssl,proxy
  116. #ssl-dhparam=/etc/ssl/dhparam.pem
  117. #ssl-ecdh-curve=prime256v1
  118. #ssl-ciphers=DEFAULT
  119. #ssl-prefer-server-ciphers=0
  120. #ssl-ca-file=/etc/ssl/sstp-ca.crt
  121. #ssl-pemfile=/etc/ssl/sstp-cert.pem
  122. #ssl-keyfile=/etc/ssl/sstp-key.pem
  123. #host-name=domain.tld
  124. #http-error=allow
  125. #timeout=60
  126. #hello-interval=60
  127. #ip-pool=sstp
  128. #ifname=sstp%d
  129.  
  130. [ipoe]
  131. verbose=1
  132. username=lua:username
  133. #password=username
  134. lease-time=600
  135. renew-time=300
  136. max-lease-time=3600
  137. #unit-cache=1000
  138. #l4-redirect-table=4
  139. #l4-redirect-ipset=l4
  140. #l4-redirect-on-reject=300
  141. #l4-redirect-ip-pool=pool1
  142. shared=1
  143. ifcfg=1
  144. mode=L3
  145. start=dhcpv4
  146. #start=UP
  147. #ip-unnumbered=1
  148. #proxy-arp=0
  149. #nat=0
  150. #proto=100
  151. #relay=10.10.10.10
  152. #vendor=Custom
  153. #weight=0
  154. #attr-dhcp-client-ip=DHCP-Client-IP-Address
  155. #attr-dhcp-router-ip=DHCP-Router-IP-Address
  156. #attr-dhcp-mask=DHCP-Mask
  157. #attr-dhcp-lease-time=DHCP-Lease-Time
  158. attr-dhcp-opt82=DHCP-Option82
  159. #attr-dhcp-opt82-remote-id=DHCP-Agent-Remote-Id
  160. #attr-dhcp-opt82-circuit-id=DHCP-Agent-Circuit-Id
  161. #attr-l4-redirect=L4-Redirect
  162. #attr-l4-redirect-table=4
  163. #attr-l4-redirect-ipset=l4-redirect
  164. lua-file=/etc/accel-ppp.lua
  165. #offer-delay=0,100:100,200:200,-1:1000
  166. #vlan-mon=eth0,10-200
  167. #vlan-timeout=60
  168. #vlan-name=%I.%N
  169. #ip-pool=ipoe
  170. #idle-timeout=0
  171. #session-timeout=0
  172. #soft-terminate=0
  173. #check-mac-change=1
  174. calling-sid=mac
  175. #local-net=192.168.0.0/16
  176. interface=eth0
  177.  
  178.  
  179. [dns]
  180. #dns1=172.16.0.1
  181. #dns2=172.16.1.1
  182.  
  183. [wins]
  184. #wins1=172.16.0.1
  185. #wins2=172.16.1.1
  186.  
  187. [radius]
  188. #dictionary=/usr/local/share/accel-ppp/radius/dictionary
  189. nas-identifier=accel-ppp
  190. nas-ip-address=127.0.0.1
  191. gw-ip-address=192.168.100.1
  192. server=127.0.0.1,testing123,auth-port=1812,acct-port=1813,req-limit=50,fail-timeout=0,max-fail=10,weight=1
  193. dae-server=127.0.0.1:3799,testing123
  194. verbose=1
  195. #timeout=3
  196. #max-try=3
  197. #acct-timeout=120
  198. #acct-delay-time=0
  199. #acct-on=0
  200. #attr-tunnel-type=My-Tunnel-Type
  201.  
  202. [client-ip-range]
  203. 10.0.0.0/8
  204.  
  205. [ip-pool]
  206. gw-ip-address=192.168.0.1
  207. #vendor=Cisco
  208. #attr=Cisco-AVPair
  209. attr=Framed-Pool
  210. 192.168.0.2-255
  211. 192.168.1.1-255,name=pool1
  212. 192.168.2.1-255,name=pool2
  213. 192.168.3.1-255,name=pool3
  214. 192.168.4.1-255,name=pool4,next=pool1
  215. 192.168.4.0/24
  216.  
  217. [log]
  218. log-file=/var/log/accel-ppp/accel-ppp.log
  219. log-emerg=/var/log/accel-ppp/emerg.log
  220. log-fail-file=/var/log/accel-ppp/auth-fail.log
  221. #log-debug=/var/log/accel-ppp/debug.log
  222. #syslog=accel-pppd,daemon
  223. #log-tcp=127.0.0.1:3000
  224. copy=1
  225. #color=1
  226. #per-user-dir=per_user
  227. #per-session-dir=per_session
  228. #per-session=1
  229. level=5
  230.  
  231. [log-pgsql]
  232. conninfo=user=log
  233. log-table=log
  234.  
  235. [pppd-compat]
  236. verbose=1
  237. #ip-pre-up=/etc/ppp/ip-pre-up
  238. ip-up=/etc/ppp/ip-up
  239. ip-down=/etc/ppp/ip-down
  240. #ip-change=/etc/ppp/ip-change
  241. radattr-prefix=/var/run/radattr
  242. #fork-limit=16
  243.  
  244. [chap-secrets]
  245. gw-ip-address=192.168.100.1
  246. #chap-secrets=/etc/ppp/chap-secrets
  247. #encrypted=0
  248. #username-hash=md5
  249.  
  250. [shaper]
  251. #attr=Filter-Id
  252. #down-burst-factor=0.1
  253. #up-burst-factor=1.0
  254. #latency=50
  255. #mpu=0
  256. #mtu=0
  257. #r2q=10
  258. #quantum=1500
  259. #moderate-quantum=1
  260. #cburst=1534
  261. #ifb=ifb0
  262. up-limiter=police
  263. down-limiter=tbf
  264. #leaf-qdisc=sfq perturb 10
  265. #leaf-qdisc=fq_codel [limit PACKETS] [flows NUMBER] [target TIME] [interval TIME] [quantum BYTES] [[no]ecn]
  266. #rate-multiplier=1
  267. #fwmark=1
  268. verbose=1
  269.  
  270. [cli]
  271. verbose=1
  272. telnet=127.0.0.1:2000
  273. tcp=127.0.0.1:2001
  274. #password=123
  275. #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
  276.  
  277. [snmp]
  278. master=0
  279. agent-name=accel-ppp
  280.  
  281. [connlimit]
  282. limit=10/min
  283. burst=3
  284. timeout=60
  285.  
  286. [ipv6-pool]
  287. #gw-ip6-address=fc00:0:1::1
  288. fc00:0:1::/48,64
  289. delegate=fc00:1::/36,48
  290.  
  291. [ipv6-dns]
  292. #fc00:1::1
  293. #fc00:1::2
  294. #fc00:1::3
  295. #dnssl=suffix1.local.net
  296. #dnssl=suffix2.local.net.
  297.  
  298. [ipv6-dhcp]
  299. verbose=1
  300. pref-lifetime=604800
  301. valid-lifetime=2592000
  302. route-via-gw=1
  303. [root@noc-db-load build]#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement