diff options
author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2024-02-02 10:14:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-02 10:14:35 +0200 |
commit | f2de4378b5048fb4fc3a493aa2a214a320dd8d48 (patch) | |
tree | c4c389afdc2c14a515bffadfdecf3b691625b928 /data/templates/accel-ppp/pptp.config.j2 | |
parent | 0307801b8928bbaaa20caf5bd10b928bae459490 (diff) | |
parent | d9e57fe65dd538c6ea80637f4f6f23cf11dc583d (diff) | |
download | vyos-1x-f2de4378b5048fb4fc3a493aa2a214a320dd8d48.tar.gz vyos-1x-f2de4378b5048fb4fc3a493aa2a214a320dd8d48.zip |
Merge pull request #2891 from aapostoliuk/T5971-circinus
T5971: Rewritten ppp options in accel-ppp services
Diffstat (limited to 'data/templates/accel-ppp/pptp.config.j2')
-rw-r--r-- | data/templates/accel-ppp/pptp.config.j2 | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/data/templates/accel-ppp/pptp.config.j2 b/data/templates/accel-ppp/pptp.config.j2 index daafd6e92..7fe4b17bf 100644 --- a/data/templates/accel-ppp/pptp.config.j2 +++ b/data/templates/accel-ppp/pptp.config.j2 @@ -6,6 +6,8 @@ shaper {# Common authentication backend definitions #} {% include 'accel-ppp/config_modules_auth_mode.j2' %} ippool +{# Common IPv6 definitions #} +{% include 'accel-ppp/config_modules_ipv6.j2' %} {# Common authentication protocols (pap, chap ...) #} {% if authentication.require is vyos_defined %} {% if authentication.require == 'chap' %} @@ -40,7 +42,6 @@ wins{{ loop.index }}={{ server }} {% endfor %} {% endif %} - [pptp] ifname=pptp%d {% if outside_address is vyos_defined %} @@ -54,6 +55,10 @@ echo-failure=3 {% if default_pool is vyos_defined %} ip-pool={{ default_pool }} {% endif %} +{% if default_ipv6_pool is vyos_defined %} +ipv6-pool={{ default_ipv6_pool }} +ipv6-pool-delegate={{ default_ipv6_pool }} +{% endif %} [client-ip-range] 0.0.0.0/0 @@ -61,10 +66,11 @@ ip-pool={{ default_pool }} {# Common IP pool definitions #} {% include 'accel-ppp/config_ip_pool.j2' %} -[ppp] -verbose=5 -check-ip=1 -single-session=replace +{# Common IPv6 pool definitions #} +{% include 'accel-ppp/config_ipv6_pool.j2' %} + +{# Common ppp-options definitions #} +{% include 'accel-ppp/ppp-options.j2' %} {# Common chap-secrets and RADIUS server/option definitions #} {% include 'accel-ppp/config_chap_secrets_radius.j2' %} |