OpenVPN with 2FA Fails...

Topics that doesn't fall into the categories above
Post Reply
bnicholas
Posts: 7
Joined: Wed Sep 25, 2019 9:21 pm

OpenVPN with 2FA Fails...

Post by bnicholas »

I have been able to get the OpenVPN client to work on a ubuntu machine with our VPN server and 2FA. The VPN server uses user-auth-pass. Once the username/password are verified it sends a prompt for the user to enter the 2FA code.

With WTWare I am getting an error that says "neither stdin nor stderr are a tty device and you have neither a controlling tty nor systemd - can't ask for 'CHALLENGE: <MESSAGE>...." Exiting due to fatal error.

I am able to get the VPN to connect without 2FA, but I need to get it to work with 2FA.
bnicholas
Posts: 7
Joined: Wed Sep 25, 2019 9:21 pm

Re: OpenVPN with 2FA Fails...

Post by bnicholas »

The screenshot was sent to the support email. The log command generates errors, so I took a literal picture of the screen per the directions on the webpage. This is on a Raspberry PI 4. The error message is in my original post. The only modification to the ubuntu config file was to add the "daemon" line. When I disable the 2FA WTWare will connect since it does not have to deal with the extra user prompt.
Post Reply