diff options
author | Kim Hagen <kim@sentrium.io> | 2021-09-17 05:16:07 -0500 |
---|---|---|
committer | Kim Hagen <kim@sentrium.io> | 2021-09-17 05:16:07 -0500 |
commit | 024839cb1588964da46f198976053b7d78b8e9a0 (patch) | |
tree | d1e11aada6c9a58dd4bcf5a019936f80aeccf1aa /data/templates/openvpn | |
parent | 5366f9c9ce9850cdf3fddbf0c2947994a0c7eef6 (diff) | |
download | vyos-1x-024839cb1588964da46f198976053b7d78b8e9a0.tar.gz vyos-1x-024839cb1588964da46f198976053b7d78b8e9a0.zip |
update the location of the openvpn-otp.so plugin
Diffstat (limited to 'data/templates/openvpn')
-rw-r--r-- | data/templates/openvpn/server.conf.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/templates/openvpn/server.conf.tmpl b/data/templates/openvpn/server.conf.tmpl index d97ff7717..b53361710 100644 --- a/data/templates/openvpn/server.conf.tmpl +++ b/data/templates/openvpn/server.conf.tmpl @@ -129,7 +129,7 @@ push "dhcp-option DOMAIN {{ server.domain_name }}" {% endif %} {% if server['2fa'] is defined and server['2fa'] is not none %} {% if server['2fa']['totp'] is defined and server['2fa']['totp'] is not none %} -plugin "/usr/lib/x86_64-linux-gnu/openvpn/plugins/openvpn-otp.so" "otp_secrets=/config/auth/openvpn/{{ ifname }}-otp-secrets otp_slop= +plugin "/usr/lib/openvpn/openvpn-otp.so" "otp_secrets=/config/auth/openvpn/{{ ifname }}-otp-secrets otp_slop= {{- server['2fa']['totp']['slop']|default(180) }} totp_t0= {{- server['2fa']['totp']['drift']|default(0) }} totp_step= {{- server['2fa']['totp']['step']|default(30) }} totp_digits= |