summaryrefslogtreecommitdiff
path: root/data/templates
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-06-28 14:46:39 +0200
committerGitHub <noreply@github.com>2024-06-28 14:46:39 +0200
commit12fcf6c5ef2e5678b0b88c34d6c031435d85ec68 (patch)
tree3385ca742d5f327452553f0c3e6469e1d48cb471 /data/templates
parent57c24a8fd22929a7e38c3ada1d1db8863d6c38f6 (diff)
parentc86909d39e2c3a1ca74372bc377adde63953c76a (diff)
downloadvyos-1x-12fcf6c5ef2e5678b0b88c34d6c031435d85ec68.tar.gz
vyos-1x-12fcf6c5ef2e5678b0b88c34d6c031435d85ec68.zip
Merge pull request #3730 from natali-rs1985/T5710-current
pppoe-server: T5710: Add option permit any-login
Diffstat (limited to 'data/templates')
-rw-r--r--data/templates/accel-ppp/pppoe.config.j25
1 files changed, 4 insertions, 1 deletions
diff --git a/data/templates/accel-ppp/pppoe.config.j2 b/data/templates/accel-ppp/pppoe.config.j2
index 6711f2ec9..73ffe0963 100644
--- a/data/templates/accel-ppp/pppoe.config.j2
+++ b/data/templates/accel-ppp/pppoe.config.j2
@@ -31,10 +31,13 @@ copy=1
level={{ log.level }}
{% endif %}
-{% if authentication.mode is vyos_defined("noauth") %}
[auth]
+{% if authentication.mode is vyos_defined("noauth") %}
noauth=1
{% endif %}
+{% if authentication.any_login is vyos_defined %}
+any-login=1
+{% endif %}
[client-ip-range]
0.0.0.0/0