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.
Just from the top of my head.
It seems to exist: https://www.gimp.org/tutorials/Basic_Batch/
There are many things you can do in the GIMP gui that can’t be done programmatically :(
For anyconnect: openconnect works perfectly, either as standalone script or via networkmangler.
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.