OTP and OpenVPN disconnects
-
[edit] - this is on an iPhone.
I have OTP configured on the pfsense side. Radius for authentication. Through radius I have set up OTP. I have added the extra step of putting in 'reneg-sec 0' within the server settings to prevent reneg ever hour.
I am able to successfully authenticate using PIN + authcode but after about a minute I am disconnected with an authentication failure. VPN logs are indicating the failure reason which is great but I still do not know why its seeking a new pin + authcode every minute or so.Mar 30 10:44:25 openvpn 45698 x.x.x.x11758 SIGTERM[soft,delayed-exit] received, client-instance exiting
Mar 30 10:44:19 openvpn 45698 x.x.x.x:11758 SENT CONTROL [michmoor]: 'AUTH_FAILED' (status=1) -
@michmoor Ok i think i figured it out. I think..
When the phone or any device goes idle, and authentication happens again it fails obviously because the authcode changed as well.Is there an option that will pick up where you left off ' resume the connection again.
On more corporate environments I have worked in, that is a feature with a hard time out of 24hrs so there is a user convenience factor to all of this.