summaryrefslogtreecommitdiff
path: root/accel-pppd/accel-ppp.conf.5
diff options
context:
space:
mode:
authorDmitry Kozlov <xeb@mail.ru>2014-10-28 22:28:04 +0300
committerDmitry Kozlov <xeb@mail.ru>2014-10-28 22:28:08 +0300
commitc801c643d40908765bab059fc6bc32fa0b5b0d6b (patch)
treea502361657228e5a5c5d2e74cdf4654b8de48d7f /accel-pppd/accel-ppp.conf.5
parent49eba734d030deb3b06ff4a420888aec19721e0f (diff)
downloadaccel-ppp-xebd-c801c643d40908765bab059fc6bc32fa0b5b0d6b.tar.gz
accel-ppp-xebd-c801c643d40908765bab059fc6bc32fa0b5b0d6b.zip
ipoe: implemented "L4 redirect on reject" for DHCP sessions
If authentication rejects session, but l4-redirect-on-reject is specified in config then temporary session will be created and l4 redirect rule will be applied to IP of that session. Session will be terminated after specified number of seconds. Also if l4-redirect-ip-pool option is specified then IP will be allocated from that special pool.
Diffstat (limited to 'accel-pppd/accel-ppp.conf.5')
-rw-r--r--accel-pppd/accel-ppp.conf.53
1 files changed, 3 insertions, 0 deletions
diff --git a/accel-pppd/accel-ppp.conf.5 b/accel-pppd/accel-ppp.conf.5
index f350b7b..27e8f3d 100644
--- a/accel-pppd/accel-ppp.conf.5
+++ b/accel-pppd/accel-ppp.conf.5
@@ -249,6 +249,9 @@ If specified then if radius rejects access 'ip rule add from ip_addr table l4-re
.B n
seconds.
.TP
+.BI "l4-redirect-ip-pool=" name
+If specified then if radius rejects access and session is DHCP then ip will be allocated from specified pool name.
+.TP
.BI "gw-ip-address="x.x.x.x/mask
Specifies address to be used as server ip address if radius can assign only client address. In such case if client address is matched network and mask then specified address and mask will be used. You can specify multiple such options.
.TP