OpenVPN 2FA disconnects
-
I have a OpenVPN setup using user certificates + radius authenticaiton.
I am testing adding 2FA into the mix so following the guide posted by netgate here - https://www.netgate.com/blog/freeradius-on-pfsense-for-2faEverything works initially but after about a minute of inactivity [testing on the phone] im kicked out. I have to keep auth every few seconds/minutes.
This is on the iOS client if it matters.
-
@michmoor
Hey there, just a quick guess..what are your settings under openvpn server > ping settings? -
@the-other set to keep alive
Interval 10
Timeout 60 -
@michmoor
and which value in the "inactive" field? I was just guessing, maybe your connection closes after just a short time period...probably false thinking on my end...
oh, and do you have a reneg-sec 0 under openVPNserver's advanced field? AFAIK if not set to 0 it will demand a new auth every 3600 seconds... -
-
B bingo600 referenced this topic on