diff options
author | Eshenko Dmitriy <dmitriy.eshenko@vyos.io> | 2020-08-19 00:37:00 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-18 23:37:00 +0200 |
commit | 865cba395223afaa263ff7581fb53ee509f36266 (patch) | |
tree | 833fded2c0993b5557f1e8f708f3565904ab4b63 /data/templates/ocserv/radius_conf.tmpl | |
parent | 3282250a9a7c7a1df5c32e76fdc0024fd1ce9d9f (diff) | |
download | vyos-1x-865cba395223afaa263ff7581fb53ee509f36266.tar.gz vyos-1x-865cba395223afaa263ff7581fb53ee509f36266.zip |
anyconnect: T2036: add anyconnect VPN support
Diffstat (limited to 'data/templates/ocserv/radius_conf.tmpl')
-rw-r--r-- | data/templates/ocserv/radius_conf.tmpl | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/data/templates/ocserv/radius_conf.tmpl b/data/templates/ocserv/radius_conf.tmpl new file mode 100644 index 000000000..2d19306a0 --- /dev/null +++ b/data/templates/ocserv/radius_conf.tmpl @@ -0,0 +1,22 @@ +### generated by cpn_anyconnect.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 +#
\ No newline at end of file |