summaryrefslogtreecommitdiff
path: root/data/templates/ocserv/radius_conf.tmpl
blob: 1712d83efab05dd5195af50e7c6089bd34fc48a7 (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
#