summaryrefslogtreecommitdiff
path: root/data/templates/ocserv/radius_conf.j2
blob: b6612fee54a2d3dfae43cb307435385e52e83f59 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
### generated by vpn_openconnect.py ###
nas-identifier VyOS
{% for srv in server %}
{%     if not "disable" in server[srv] %}
{%         if "port" in server[srv] %}
authserver {{ srv }}:{{ server[srv]["port"] }}
{%         else %}
authserver {{ srv }}
{%         endif %}
{%     endif %}
{% endfor %}
radius_timeout {{ timeout }}
{% if source_address %}
bindaddr {{ source_address }}
{% else %}
bindaddr *
{% endif %}
servers /run/ocserv/radius_servers
dictionary /etc/radcli/dictionary
default_realm
radius_retries 3
#