summaryrefslogtreecommitdiff
path: root/data/templates/accel-ppp/sstp.config.j2
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-02-15 16:18:29 +0100
committerGitHub <noreply@github.com>2024-02-15 16:18:29 +0100
commiteb079e4a49150934dec082861176f5a5213c1206 (patch)
tree4d74c32d40d8d25522aeb54600a154517df41c53 /data/templates/accel-ppp/sstp.config.j2
parent697ce8c51c2ae9667a699b3d95e0ffa6b1984328 (diff)
parent8eec0b5b062b5f98a865949ac0f2a49d61b81199 (diff)
downloadvyos-1x-eb079e4a49150934dec082861176f5a5213c1206.tar.gz
vyos-1x-eb079e4a49150934dec082861176f5a5213c1206.zip
Merge pull request #3013 from vyos/mergify/bp/sagitta/pr-3004
T6029: Rewritten Accel-PPP services to an identical feature set (backport #3004)
Diffstat (limited to 'data/templates/accel-ppp/sstp.config.j2')
-rw-r--r--data/templates/accel-ppp/sstp.config.j220
1 files changed, 19 insertions, 1 deletions
diff --git a/data/templates/accel-ppp/sstp.config.j2 b/data/templates/accel-ppp/sstp.config.j2
index c0bc62d9f..b624f83a3 100644
--- a/data/templates/accel-ppp/sstp.config.j2
+++ b/data/templates/accel-ppp/sstp.config.j2
@@ -10,6 +10,12 @@ ippool
{% include 'accel-ppp/config_modules_ipv6.j2' %}
{# Common authentication protocols (pap, chap ...) #}
{% include 'accel-ppp/config_modules_auth_protocols.j2' %}
+{% if snmp is vyos_defined %}
+net-snmp
+{% endif %}
+{% if limits is vyos_defined %}
+connlimit
+{% endif %}
[core]
thread-count={{ thread_count }}
@@ -26,7 +32,7 @@ copy=1
level=5
[client-ip-range]
-disable
+0.0.0.0/0
[sstp]
verbose=1
@@ -53,6 +59,9 @@ ipv6-pool-delegate={{ default_ipv6_pool }}
{# Common DNS name-server definition #}
{% include 'accel-ppp/config_name_server.j2' %}
+{# Common wins-server definition #}
+{% include 'accel-ppp/config_wins_server.j2' %}
+
{# Common chap-secrets and RADIUS server/option definitions #}
{% include 'accel-ppp/config_chap_secrets_radius.j2' %}
@@ -62,5 +71,14 @@ ipv6-pool-delegate={{ default_ipv6_pool }}
{# Common RADIUS shaper configuration #}
{% include 'accel-ppp/config_shaper_radius.j2' %}
+{# Common Extended scripts configuration #}
+{% include 'accel-ppp/config_extended_scripts.j2' %}
+
+{# Common Limits configuration #}
+{% include 'accel-ppp/config_limits.j2' %}
+
+{# Common SNMP definitions #}
+{% include 'accel-ppp/config_snmp.j2' %}
+
[cli]
tcp=127.0.0.1:2005