blob: c86929e47242ad4f68cfd02db5f8a4bd02adf2fe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
### generated by vpn_openconnect.py ###
nas-identifier VyOS
#### Accounting
{% if accounting.mode.radius is vyos_defined %}
{% for acctsrv, srv_conf in accounting.radius.server.items() if 'disable' not in srv_conf %}
{% if srv_conf.port is vyos_defined %}
acctserver {{ acctsrv }}:{{ srv_conf.port }}
{% else %}
acctserver {{ acctsrv }}
{% endif %}
{% endfor %}
{% endif %}
#### Authentication
{% if authentication.mode.radius is vyos_defined %}
{% for authsrv, srv_conf in authentication.radius.server.items() if 'disable' not in srv_conf %}
{% if srv_conf.port is vyos_defined %}
authserver {{ authsrv }}:{{ srv_conf.port }}
{% else %}
authserver {{ authsrv }}
{% endif %}
{% endfor %}
radius_timeout {{ authentication['radius']['timeout'] }}
{% if authentication.radius.source_address is vyos_defined %}
bindaddr {{ authentication['radius']['source_address'] }}
{% else %}
bindaddr *
{% endif %}
{% endif %}
servers /run/ocserv/radius_servers
dictionary /etc/radcli/dictionary
default_realm
radius_retries 3
#
|