diff options
author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2023-05-10 09:19:11 +0000 |
---|---|---|
committer | Viacheslav Hletenko <v.gletenko@vyos.io> | 2023-05-10 09:19:11 +0000 |
commit | 153f3579d703e16bbd0f82b1ac243f42c25af6bd (patch) | |
tree | 1df5e2b1f39f67fef289a0cd439ae3182215fac7 /data/templates | |
parent | 70e476760a9c5b42a5d3f8647e3b4ac361472871 (diff) | |
download | vyos-1x-153f3579d703e16bbd0f82b1ac243f42c25af6bd.tar.gz vyos-1x-153f3579d703e16bbd0f82b1ac243f42c25af6bd.zip |
T5213: Add accounting-interim-interval option for L2TP-server
Add RADIUS accounting-interim-interval option for L2TP-server
Specifies interval in seconds to send accounting information
(may be overridden by radius Acct-Interim-Interval attribute)
set vpn l2tp remote-access authentication radius accounting-interim-interval '120'
Diffstat (limited to 'data/templates')
-rw-r--r-- | data/templates/accel-ppp/l2tp.config.j2 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/data/templates/accel-ppp/l2tp.config.j2 b/data/templates/accel-ppp/l2tp.config.j2 index 5914fd375..a2f9c9fc7 100644 --- a/data/templates/accel-ppp/l2tp.config.j2 +++ b/data/templates/accel-ppp/l2tp.config.j2 @@ -91,6 +91,9 @@ server={{ r.server }},{{ r.key }},auth-port={{ r.port }},acct-port={{ r.acct_por {% if radius_dynamic_author.server is vyos_defined %} dae-server={{ radius_dynamic_author.server }}:{{ radius_dynamic_author.port }},{{ radius_dynamic_author.key }} {% endif %} +{% if radius_acct_interim_interval is vyos_defined %} +acct-interim-interval={{ radius_acct_interim_interval }} +{% endif %} {% if radius_acct_inter_jitter %} acct-interim-jitter={{ radius_acct_inter_jitter }} {% endif %} |