diff options
author | Christian Breunig <christian@breunig.cc> | 2023-04-13 08:54:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-13 08:54:18 +0200 |
commit | 65278fa76c07674b63e170c9ec1f85722aced16f (patch) | |
tree | 4cecd2e705de9ba35efdc4697f6cc17980e09dd0 /data/templates | |
parent | 94a6fb73d248e9e9e2c3d4a4ac023228473c9f48 (diff) | |
parent | b897f00a008bab31264020948242cf76833ad3b8 (diff) | |
download | vyos-1x-65278fa76c07674b63e170c9ec1f85722aced16f.tar.gz vyos-1x-65278fa76c07674b63e170c9ec1f85722aced16f.zip |
Merge pull request #1952 from sever-sever/T4727
T4727: Add RADIUS rate-limit attribute for vpn pptp
Diffstat (limited to 'data/templates')
-rw-r--r-- | data/templates/accel-ppp/pptp.config.tmpl | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/data/templates/accel-ppp/pptp.config.tmpl b/data/templates/accel-ppp/pptp.config.tmpl index 3cfc4a906..dcb1ddf08 100644 --- a/data/templates/accel-ppp/pptp.config.tmpl +++ b/data/templates/accel-ppp/pptp.config.tmpl @@ -93,6 +93,20 @@ bind={{ radius_source_address }} gw-ip-address={{ gw_ip }} {% endif %} +{% 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 %} +{% endif %} + [cli] tcp=127.0.0.1:2003 |