summaryrefslogtreecommitdiff
path: root/data/templates/system-login
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-04-25 14:00:26 +0200
committerChristian Poessinger <christian@poessinger.com>2020-04-25 14:01:58 +0200
commit7765d528ce304275350f87c748fa7988ffb4bc26 (patch)
tree16d23f4d58453d04f7e3d92a372d4bd32796cb3d /data/templates/system-login
parent35dc9d35c5d97e1c7d4fc0602ad437f1eb373b94 (diff)
downloadvyos-1x-7765d528ce304275350f87c748fa7988ffb4bc26.tar.gz
vyos-1x-7765d528ce304275350f87c748fa7988ffb4bc26.zip
login: radius: T2304: add VRF support
This allows the radius client to work when a management VRF is in use.
Diffstat (limited to 'data/templates/system-login')
-rw-r--r--data/templates/system-login/pam_radius_auth.conf.tmpl4
1 files changed, 4 insertions, 0 deletions
diff --git a/data/templates/system-login/pam_radius_auth.conf.tmpl b/data/templates/system-login/pam_radius_auth.conf.tmpl
index 6cff67867..ad196fa3d 100644
--- a/data/templates/system-login/pam_radius_auth.conf.tmpl
+++ b/data/templates/system-login/pam_radius_auth.conf.tmpl
@@ -10,4 +10,8 @@
priv-lvl 15
mapped_priv_user radius_priv_user
+
+{% if radius_vrf %}
+vrf-name {{ radius_vrf }}
+{% endif %}
{% endif %}