summaryrefslogtreecommitdiff
path: root/accel-pppd/accel-ppp.conf
diff options
context:
space:
mode:
authorDmitry Kozlov <xeb@mail.ru>2013-10-03 11:08:45 +0400
committerDmitry Kozlov <xeb@mail.ru>2013-10-03 11:08:45 +0400
commit8c608ea9a5b6b73520c11e3974bb8cad3b7da914 (patch)
treed6ebed20aa2225da869983807dc655e8788b2ca2 /accel-pppd/accel-ppp.conf
parenta5f293d16c8b4a333fac31e187e0b5e55fd38335 (diff)
downloadaccel-ppp-8c608ea9a5b6b73520c11e3974bb8cad3b7da914.tar.gz
accel-ppp-8c608ea9a5b6b73520c11e3974bb8cad3b7da914.zip
Introduce per-ctrl 'ip-pool' option to be used as default IP pool name which may be overrided by radius
Signed-off-by: Dmitry Kozlov <xeb@mail.ru>
Diffstat (limited to 'accel-pppd/accel-ppp.conf')
-rw-r--r--accel-pppd/accel-ppp.conf76
1 files changed, 41 insertions, 35 deletions
diff --git a/accel-pppd/accel-ppp.conf b/accel-pppd/accel-ppp.conf
index 69f33b32..707287f3 100644
--- a/accel-pppd/accel-ppp.conf
+++ b/accel-pppd/accel-ppp.conf
@@ -33,35 +33,10 @@ pppd_compat
log-error=/var/log/accel-ppp/core.log
thread-count=4
-[ipoe]
-verbose=1
-username=ifname
-#password=username
-lease-time=600
-max-lease-time=3600
-#unit-cache=1000
-#l4-redirect-table=4
-#l4-redirect-ipset=l4
-#l4-redirect-on-reject=300
-shared=0
-ifcfg=1
-mode=L2
-start=dhcpv4
-#proxy-arp=0
-#nat=0
-#proto=100
-#relay=10.10.10.10
-#attr-dhcp-client-ip=DHCP-Client-IP-Address
-#attr-dhcp-router-ip=DHCP-Router-IP-Address
-#attr-dhcp-mask=DHCP-Mask
-#attr-l4-redirect=L4-Redirect
-#local-net=192.168.0.0/16
-#lua-file=/etc/accel-ppp.lua
-#offer-delay=0,100:100,200:200,-1:1000
-#vlan-mon=eth0,10-200
-#vlan-timeout=60
-interface=eth0
-
+[common]
+#single-session=replace
+#sid-case=upper
+#sid-source=seq
[ppp]
verbose=1
@@ -69,9 +44,7 @@ min-mtu=1280
mtu=1400
mru=1400
#ccp=0
-#sid-case=upper
#check-ip=0
-#single-session=replace
#mppe=require
ipv4=require
ipv6=deny
@@ -88,12 +61,11 @@ lcp-echo-timeout=120
#noauth=0
[pptp]
-#echo-interval=30
verbose=1
+#echo-interval=30
[pppoe]
-interface=eth0
-#interface=eth1,padi-limit=1000
+verbose=1
#ac-name=xxx
#service-name=yyy
#pado-delay=0
@@ -101,9 +73,12 @@ interface=eth0
#ifname-in-sid=called-sid
#tr101=1
#padi-limit=0
-verbose=1
+#ip-pool=pppoe
+#interface=eth1,padi-limit=1000
+interface=eth0
[l2tp]
+verbose=1
#dictionary=/usr/local/share/accel-ppp/l2tp/dictionary
#hello-interval=60
#timeout=60
@@ -114,7 +89,38 @@ verbose=1
#secret=
#dataseq=allow
#reorder-timeout=0
+#ip-pool=l2tp
+
+[ipoe]
verbose=1
+username=ifname
+#password=username
+lease-time=600
+max-lease-time=3600
+#unit-cache=1000
+#l4-redirect-table=4
+#l4-redirect-ipset=l4
+#l4-redirect-on-reject=300
+shared=0
+ifcfg=1
+mode=L2
+start=dhcpv4
+#proxy-arp=0
+#nat=0
+#proto=100
+#relay=10.10.10.10
+#attr-dhcp-client-ip=DHCP-Client-IP-Address
+#attr-dhcp-router-ip=DHCP-Router-IP-Address
+#attr-dhcp-mask=DHCP-Mask
+#attr-l4-redirect=L4-Redirect
+#local-net=192.168.0.0/16
+#lua-file=/etc/accel-ppp.lua
+#offer-delay=0,100:100,200:200,-1:1000
+#vlan-mon=eth0,10-200
+#vlan-timeout=60
+#ip-pool=ipoe
+interface=eth0
+
[dns]
#dns1=172.16.0.1