Skip to content

Instantly share code, notes, and snippets.

@shestakow1993
Created December 22, 2017 08:31
Show Gist options
  • Save shestakow1993/a29c62d51a3252002f0a6a283d51c040 to your computer and use it in GitHub Desktop.
Save shestakow1993/a29c62d51a3252002f0a6a283d51c040 to your computer and use it in GitHub Desktop.
accel conf
[modules]
log_file
ipoe
auth_mschap_v2
auth_mschap_v1
auth_chap_md5
auth_pap
vlan-mon
radius
ippool
pppd_compat
#shaper
#net-snmp
#logwtmp
#connlimit
[core]
log-error=/var/log/accel-ppp/core.log
thread-count=4
[ipoe]
verbose=5
username=ifname
password=55555
#noauth=1
lease-time=240
renew-time=240
max-lease-time=300
shared=0
ifcfg=1
mode=L2
start=dhcpv4
proto=100
proxy-arp=1
interface=eth1
#vlan-mon=eth1.801,801-805
#vlan-timeout=60
#vlan-name=%I.%N
#interface=eth1.801
gw-ip-address=192.168.255.1/24
attr-dhcp-client-ip=Framed-IP-Address
#ippool=ipoe
[dns]
dns1=днс1
dns2=днс2
[radius]
dictionary=/usr/local/share/accel-ppp/radius/dictionary
nas-identifier=accel-ppp
nas-ip-address=АЙпи адрес наса
server=Адрес сервера,secret_pass,auth-port=1812,acct-port=1813,req-limit=50,fail-timeout=0,max-fail=10,weight=1
dae-server=АЙпи адрес наса:1812,secret_pass
verbose=1
[client-ip-range]
#10.0.0.0/8
#192.168.0.0/16
[log]
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
color=1
level=5
[log-pgsql]
conninfo=user=log
log-table=log
[pppd-compat]
ip-up=/etc/ppp/ip-up
ip-down=/etc/ppp/ip-down
ip-change=/etc/ppp/ip-change
radattr-prefix=/var/run/radattr
verbose=1
[shaper]
#vendor=Cisco
#attr=Cisco-AVPair
#up-limiter=police
#down-limiter=tbf
#verbose=1
[cli]
verbose=1
telnet=127.0.0.1:2000
tcp=127.0.0.1:2001
[snmp]
master=0
agent-name=accel-ppp
[connlimit]
limit=10/min
burst=3
timeout=60
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment