Ability to pick resourcename parameters when connecting
Mike Hicks
nooneofconsequence at gmail.com
Wed Jul 1 10:19:56 PDT 2026
Recently our F5 admins added additional profile choices in our VPN setup so that when using the F5 GUI to connect, after authentication I am prompted with the options in a "Network Access" section.
I can still connect with the openconnect client, but it defaults to the first option in this list which is not what I usually want to use.
I don't see a way to choose or override this behavior. My read of the F5 web page code is that they are listed alphabetically and the first one is the default choice which is not the one I'd like to use.
In the windows client they allow choosing this via the `-start` parameter with the `/n` flag to pick your "favorite" by name which you can get via the `-info` command after authentication.
https://my.f5.com/manage/s/article/K16418
In my client side logs I see that it receives this choice via
Got profile parameters 'resourcename=/Common/<default choice here>
And then uses that when connecting for the actual VPN establishment via
GET https://<our hostname>/vdesk/vpn/connect.php3?resourcename=/Common/<default choice here>&outform=xml&client_version=2.0
So clearly openconnect is getting this information and using it, so hopefully theres some way to control it.
Thanks,
Michael Hicks
More information about the openconnect-devel
mailing list