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 | |
parent | 49eba734d030deb3b06ff4a420888aec19721e0f (diff) | |
download | accel-ppp-xebd-3aecff0f1ab5096b646e7f6338624b660e71ed2e.tar.gz accel-ppp-xebd-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')
-rw-r--r-- | accel-pppd/accel-ppp.conf | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/accel-pppd/accel-ppp.conf b/accel-pppd/accel-ppp.conf index 25d7aa1..b7187f3 100644 --- a/accel-pppd/accel-ppp.conf +++ b/accel-pppd/accel-ppp.conf @@ -106,6 +106,7 @@ max-lease-time=3600 #l4-redirect-table=4 #l4-redirect-ipset=l4 #l4-redirect-on-reject=300 +#l4-redirect-ip-pool=pool1 shared=0 ifcfg=1 mode=L2 |