Page MenuHomeVyOS Platform

No OneTemporary

Size
1 KB
Referenced Files
None
Subscribers
None
diff --git a/data/templates/ocserv/radius_conf.j2 b/data/templates/ocserv/radius_conf.j2
index 1ab322f69..c86929e47 100644
--- a/data/templates/ocserv/radius_conf.j2
+++ b/data/templates/ocserv/radius_conf.j2
@@ -1,36 +1,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 source_address %}
+{% 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
#
\ No newline at end of file

File Metadata

Mime Type
text/x-diff
Expires
Thu, Nov 26, 8:20 PM (1 d, 2 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4985418
Default Alt Text
(1 KB)

Event Timeline