summaryrefslogtreecommitdiff
path: root/data/templates/accel-ppp/sstp.config.j2
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-12-28 13:15:50 +0100
committerGitHub <noreply@github.com>2023-12-28 13:15:50 +0100
commit8b646ed2c745a725aa22ad49e7e373c9f5fb2245 (patch)
treebd187f673f0c498e9288b972f361fb567dcf17ee /data/templates/accel-ppp/sstp.config.j2
parente9310778ddb0118278396017026cb6fc1daff0c9 (diff)
parent09e0a2ca035ee39a68a510b28cc74560669d0420 (diff)
downloadvyos-1x-8b646ed2c745a725aa22ad49e7e373c9f5fb2245.tar.gz
vyos-1x-8b646ed2c745a725aa22ad49e7e373c9f5fb2245.zip
Merge pull request #2658 from aapostoliuk/T5801-circinus
T5801: Rewritten L2TP to get_config_dict
Diffstat (limited to 'data/templates/accel-ppp/sstp.config.j2')
-rw-r--r--data/templates/accel-ppp/sstp.config.j21
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 }}