Closed emailyc closed 2 years ago
Hi @emailyc. Yes, there is an option --xmlconfig in openconnect
I just updated the vpn.sh
script to handle this. I haven't tested it but you should be able to put your config file at ~/.vpn/profilename.xml
, source vpn.sh
, and then run openconnect profilename
. Replace "profilename" with whatever you want but the filename has to match what you pass to openconnect.
Hi! Thanks @ethack for this very nice package! I confirm that I could connect via the config file as you mentioned! Just wanted to add that
/opt/cisco/anyconnect/profile/PROFILENAME.xml
~/.vpn/PROFILENAME.xml
; on macOS, I also had to go in the Docker configuration and add, under Resources -> File Sharing, that also /opt
is sharedopenconnect PROFILENAME SERVERNAME
Otherwise, it works! (I.e., I think this issue can be closed?)
My organisation provides a .xml that contains all the configuration for running Cisco anyconnect client? Is there a way to read the .xml file?