summaryrefslogtreecommitdiff
path: root/data/templates/system-login/pam_radius_auth.conf.tmpl
blob: ad196fa3dd7e962a7d0f914792732acb51320f5a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Automatically generated by VyOS
# RADIUS configuration file
{%- if radius_server %}
# server[:port]         shared_secret                           timeout (s)     source_ip
{% for s in radius_server %}
{%- if not s.disabled -%}
{{ s.address }}:{{ s.port }} {{ s.key }} {{ s.timeout }} {% if radius_source_address -%}{{ radius_source_address }}{% endif %}
{% endif %}
{%- endfor %}

priv-lvl 15
mapped_priv_user radius_priv_user

{% if radius_vrf %}
vrf-name {{ radius_vrf }}
{% endif %}
{% endif %}