Hello,
I'm confused...
So far, reading Google has not helped me.
So I turn to the community for help.
We have VPN through the CISCO firewall and MFA (Multi-Factor Authentication) with Azure.
When I run vpn client from CISCO AnyConnect a Internet browser window opens where I can enter my username and password:
And then a window appears where I have to enter a 6-digit key.
This key generates for me Windows Authenticator on my Android Phone or ga-cmd
And if everything is correct, then the VPN tunnel opens.
The problem is that I can't figure out how to do this with security/openconnect
Does anyone know how to do the same with security/openconnect in CLI ?
Best regards,
PS
I found this link:
stackoverflow.com
But I still could not pass the password to openconnect stdin, i have error:
I'm confused...
So far, reading Google has not helped me.
So I turn to the community for help.
We have VPN through the CISCO firewall and MFA (Multi-Factor Authentication) with Azure.
When I run vpn client from CISCO AnyConnect a Internet browser window opens where I can enter my username and password:
And then a window appears where I have to enter a 6-digit key.
This key generates for me Windows Authenticator on my Android Phone or ga-cmd
And if everything is correct, then the VPN tunnel opens.
The problem is that I can't figure out how to do this with security/openconnect
Does anyone know how to do the same with security/openconnect in CLI ?
Best regards,
PS
I found this link:

How to use openconnect to connect to vpn with 2 factor authentication with Google Authenticator
I would like to connect to vpn using openconnect. Our company uses Google Authenticator codes.
Code:
fgets (stdin): Inappropriate ioctl for device