diff options
author | Daniil Baturin <daniil@vyos.io> | 2023-12-28 21:28:03 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-28 21:28:03 +0000 |
commit | 0e8799091f7e49c4810320a47dd19c554955d007 (patch) | |
tree | 297973a17ebbe238b4a707e17685f656530a0881 /data/templates/accel-ppp/sstp.config.j2 | |
parent | 35615152cae072af685f6475af1af5a070015a4d (diff) | |
parent | e0c7d8a8305925c26073098474ed230da05fae11 (diff) | |
download | vyos-1x-0e8799091f7e49c4810320a47dd19c554955d007.tar.gz vyos-1x-0e8799091f7e49c4810320a47dd19c554955d007.zip |
Merge pull request #2700 from vyos/mergify/bp/sagitta/pr-2501
accel-ppp: T5688: Standardized pool configuration in accel-ppp (backport #2501)
Diffstat (limited to 'data/templates/accel-ppp/sstp.config.j2')
-rw-r--r-- | data/templates/accel-ppp/sstp.config.j2 | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/data/templates/accel-ppp/sstp.config.j2 b/data/templates/accel-ppp/sstp.config.j2 index cf1d23f54..6117cea1b 100644 --- a/data/templates/accel-ppp/sstp.config.j2 +++ b/data/templates/accel-ppp/sstp.config.j2 @@ -36,6 +36,9 @@ accept=ssl ssl-ca-file=/run/accel-pppd/sstp-ca.pem ssl-pemfile=/run/accel-pppd/sstp-cert.pem ssl-keyfile=/run/accel-pppd/sstp-cert.key +{% if default_pool is vyos_defined %} +ip-pool={{ default_pool }} +{% endif %} {# Common IP pool definitions #} {% include 'accel-ppp/config_ip_pool.j2' %} @@ -56,7 +59,6 @@ check-ip=1 mtu={{ mtu }} 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 }} lcp-echo-interval={{ ppp_options.lcp_echo_interval }} lcp-echo-timeout={{ ppp_options.lcp_echo_timeout }} |