diff options
author | aapostoliuk <a.apostoliuk@vyos.io> | 2023-12-19 10:55:04 +0200 |
---|---|---|
committer | aapostoliuk <a.apostoliuk@vyos.io> | 2023-12-20 17:40:29 +0200 |
commit | 09e0a2ca035ee39a68a510b28cc74560669d0420 (patch) | |
tree | 420cc84c5c4a4d58625dd7a2d5df845fddb8d674 /data/templates/accel-ppp/sstp.config.j2 | |
parent | 259a3d637081fad9f86a8edb39814d8f0fbf7b95 (diff) | |
download | vyos-1x-09e0a2ca035ee39a68a510b28cc74560669d0420.tar.gz vyos-1x-09e0a2ca035ee39a68a510b28cc74560669d0420.zip |
T5801: Rewritten L2TP to get_config_dict
Rewritten L2TP to get_config_dict
Rewritten L2TP xml to accel-ppp patterns
Migrated 'idle' to 'ppp-options.lcp-echo-timeout'
Migrated 'authentication.mppe' to 'ppp-options.mppe'
Migrated 'authentication.radius.dae-server' to
'authentication.radius.dynamic-author'
Migrated 'authentication.require' to 'authentication.protocol'
Added 'authentication.radius.acct-interim-jitter'
Added 'authentication.radius.preallocate-vif'
Added 'authentication.radius.server.<IP>.acct-port'
Added 'ppp-options.ipv4'
Added smoke-tests
Fixed 'preallocate-vif' in SSTP
Diffstat (limited to 'data/templates/accel-ppp/sstp.config.j2')
-rw-r--r-- | data/templates/accel-ppp/sstp.config.j2 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/data/templates/accel-ppp/sstp.config.j2 b/data/templates/accel-ppp/sstp.config.j2 index 6117cea1b..014ae1235 100644 --- a/data/templates/accel-ppp/sstp.config.j2 +++ b/data/templates/accel-ppp/sstp.config.j2 @@ -57,6 +57,7 @@ verbose=1 check-ip=1 {# MTU #} mtu={{ mtu }} +unit-preallocate={{ "1" if authentication.radius.preallocate_vif is vyos_defined else "0" }} ipv6={{ 'allow' if ppp_options.ipv6 is vyos_defined("deny") and client_ipv6_pool is vyos_defined else ppp_options.ipv6 }} ipv4={{ ppp_options.ipv4 }} mppe={{ ppp_options.mppe }} |