From 50f26c54d095420907a1d31168c162ad3c27ee36 Mon Sep 17 00:00:00 2001 From: Daniil Baturin Date: Thu, 6 Oct 2022 07:43:24 +0100 Subject: T4727: add support for RADIUS rate limiting to PPTP (#1570) --- data/templates/accel-ppp/pptp.config.j2 | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'data') diff --git a/data/templates/accel-ppp/pptp.config.j2 b/data/templates/accel-ppp/pptp.config.j2 index cc1a45d6b..442830b6b 100644 --- a/data/templates/accel-ppp/pptp.config.j2 +++ b/data/templates/accel-ppp/pptp.config.j2 @@ -93,6 +93,15 @@ bind={{ radius_source_address }} gw-ip-address={{ gw_ip }} {% endif %} +{% if radius_shaper_attr %} +[shaper] +verbose=1 +attr={{ radius_shaper_attr }} +{% if radius_shaper_vendor %} +vendor={{ radius_shaper_vendor }} +{% endif %} +{% endif %} + [cli] tcp=127.0.0.1:2003 -- cgit v1.2.3