diff options
author | Dmitry Kozlov <xeb@mail.ru> | 2014-10-28 22:28:04 +0300 |
---|---|---|
committer | Dmitry Kozlov <xeb@mail.ru> | 2014-10-28 22:37:01 +0300 |
commit | 3aecff0f1ab5096b646e7f6338624b660e71ed2e (patch) | |
tree | 0c8ca194094050fd0d5dc1b9d766622a612d1aad /accel-pppd/accel-ppp.conf.5 | |
parent | 49eba734d030deb3b06ff4a420888aec19721e0f (diff) | |
download | accel-ppp-3aecff0f1ab5096b646e7f6338624b660e71ed2e.tar.gz accel-ppp-3aecff0f1ab5096b646e7f6338624b660e71ed2e.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.5 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/accel-pppd/accel-ppp.conf.5 b/accel-pppd/accel-ppp.conf.5 index f350b7b2..27e8f3d0 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 |