Check out openconnect to connect to anyconnect VPNs
I did, doesn't work with our company setup with 2FA.
What kind of prompt does your company 2FA provide? Using openconnect with networkmangler, I get a pop up to input my pin+totp. I haven't done the script way in the last few years, but the connection script is plain shell and I was able to handle the 2FA from there too
It's some time ago I dug deeper on what was happening, but openconnect was getting a different response from the server than it expected and it just failed because of that.
Check out openconnect to connect to anyconnect VPNs
I did, doesn't work with our company setup with 2FA.
What kind of prompt does your company 2FA provide? Using openconnect with networkmangler, I get a pop up to input my pin+totp. I haven't done the script way in the last few years, but the connection script is plain shell and I was able to handle the 2FA from there too
It's some time ago I dug deeper on what was happening, but openconnect was getting a different response from the server than it expected and it just failed because of that.