### generated by vpn_openconnect.py ### nas-identifier VyOS #### Accounting {% if "radius" in accounting['mode'] %} {% for acctsrv in accounting['radius']['server'] %} {% if not "disable" in accounting['radius']['server'][acctsrv] %} {% if "port" in accounting['radius']['server'][acctsrv] %} acctserver {{ acctsrv }}:{{ accounting['radius']['server'][acctsrv]['port'] }} {% else %} acctserver {{ acctsrv }} {% endif %} {% endif %} {% endfor %} {% endif %} #### Authentication {% if "radius" in authentication['mode'] %} {% for authsrv in authentication['radius']['server'] %} {% if not "disable" in authentication['radius']['server'][authsrv] %} {% if "port" in authentication['radius']['server'][authsrv] %} authserver {{ authsrv }}:{{ authentication['radius']['server'][authsrv]['port'] }} {% else %} authserver {{ authsrv }} {% endif %} {% endif %} {% endfor %} radius_timeout {{ authentication['radius']['timeout'] }} {% if source_address %} bindaddr {{ authentication['radius']['source_address'] }} {% else %} bindaddr * {% endif %} {% endif %} servers /run/ocserv/radius_servers dictionary /etc/radcli/dictionary default_realm radius_retries 3 #