diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-07-03 10:57:57 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-03 10:57:57 +0200 |
commit | 3d0cae6c7636d82f0089562fb8bd84beefedc277 (patch) | |
tree | eab3b73b677d86100482b1c881ddc5b262471aef /data/templates | |
parent | b89183284f2638a4cfe8ee5e3996206c87970728 (diff) | |
parent | 173f02d0936ab48e15a16ee57557b759d96b5a27 (diff) | |
download | vyos-1x-3d0cae6c7636d82f0089562fb8bd84beefedc277.tar.gz vyos-1x-3d0cae6c7636d82f0089562fb8bd84beefedc277.zip |
Merge pull request #1387 from sever-sever/T4507
ipoe: T4507: Add option rate-limit for RADIUS authentication
Diffstat (limited to 'data/templates')
-rw-r--r-- | data/templates/accel-ppp/ipoe.config.j2 | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/data/templates/accel-ppp/ipoe.config.j2 b/data/templates/accel-ppp/ipoe.config.j2 index 3c0d47b27..6df12db2c 100644 --- a/data/templates/accel-ppp/ipoe.config.j2 +++ b/data/templates/accel-ppp/ipoe.config.j2 @@ -128,10 +128,16 @@ bind={{ radius_source_address }} {% if radius_dynamic_author %} dae-server={{ radius_dynamic_author.server }}:{{ radius_dynamic_author.port }},{{ radius_dynamic_author.key }} {% endif %} -{% if radius_shaper_attr %} + +{% if radius_shaper_enable %} [shaper] verbose=1 +{% if radius_shaper_attr %} attr={{ radius_shaper_attr }} +{% endif %} +{% if radius_shaper_multiplier %} +rate-multiplier={{ radius_shaper_multiplier }} +{% endif %} {% if radius_shaper_vendor %} vendor={{ radius_shaper_vendor }} {% endif %} |