diff options
| author | Giga Murphy <giga1699@gmail.com> | 2026-05-21 23:15:49 +0000 |
|---|---|---|
| committer | Giga Murphy <giga1699@gmail.com> | 2026-05-21 23:15:49 +0000 |
| commit | 81ad0d10ad1df093cb19f715d39696e50f75411a (patch) | |
| tree | cd2e57ed74a523ab2355e181b2cd15eaefe241fc /data | |
| parent | 6fa4967f49e988e4979c611ee9199bb14bef8536 (diff) | |
| download | vyos-1x-81ad0d10ad1df093cb19f715d39696e50f75411a.tar.gz vyos-1x-81ad0d10ad1df093cb19f715d39696e50f75411a.zip | |
openconnect: T7654: OpenConnect Script Execution
Diffstat (limited to 'data')
| -rw-r--r-- | data/templates/ocserv/ocserv_config.j2 | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/data/templates/ocserv/ocserv_config.j2 b/data/templates/ocserv/ocserv_config.j2 index 76d3e6e4e..e8549b1bb 100644 --- a/data/templates/ocserv/ocserv_config.j2 +++ b/data/templates/ocserv/ocserv_config.j2 @@ -50,6 +50,14 @@ default-user-config = {{ authentication.identity_based_config.default_config }} {% endif %} {% endif %} +{% if script.connect is vyos_defined %} +connect-script = {{ script.connect }} +{% endif %} + +{% if script.disconnect is vyos_defined %} +disconnect-script = {{ script.disconnect }} +{% endif %} + {% if ssl.certificate is vyos_defined %} server-cert = /run/ocserv/cert.pem server-key = /run/ocserv/cert.key |
