Backlog

Support for OpenConnect

avatar

I frequently use OpenConnect (http://www.infradead.org/openconnect/index.html) as an alternative to the Cisco AnyConnect client. Are there any plans to support it as an add on? If not, is there a way I could:
1. Open the command line client when I try to open the session
2. Automatically enter the password


I've figured out how to do #1 via a command line invocation of the executable. I'm not sure how to do number two since there is no functional way to enter the password at the command line. It would be great to be able to do so via typing macro or something like that, but I don't know how to do that as part of the VPN opening process. If anyone is aware of how to do it, I would appreciate suggestions.

All Comments (23)

avatar

Hi,
I will enter a feature request to officially support ths VPN.

Regards

David Hervieux

avatar

Great, thanks for doing that. In the meantime, is there any way I can set something up using a macro or something else? I'm new to RDM and would appreciate any pointers on how to do it, if it's possible.

avatar

Have you tried to use the After Connect - Macro in the VPN entry? You need to create a VPN entry and not configure it directly in your session.

Regards

David Hervieux

avatar

thanks, that worked.

avatar

One question on how I could tweak this if I may. I currently have a remote desktop session configured to open the VPN connection if it's unable to ping/scan the host. The sequence of events I'd like is:
1. I click on the session
2. RDM scans the host to see if it's available and sees it's not
3. RDM invokes the VPN executable
4. RDM runs the after connect macro to type the password
5. RDM waits for a few seconds while the VPN finishes connecting
6. RDM opens the Remote Desktop session to the host
I'm having trouble figuring out how to make #5 happen. This is causing #6 to occur immediately after number four, and the Remote Desktop connection times out because the VPN connection is not complete yet. Any thoughts on how I can make this work?

avatar

Also, is there an indicator of what VPN connections I have open?

avatar

You can go in Opened Sessions and select the VPN Groups list

David Hervieux

avatar

Great, thanks. It looks like I may have asked two questions in a row so let me copy paste the one from earlier here, I welcome your thoughts.
One question on how I could tweak this if I may. I currently have a remote desktop session configured to open the VPN connection if it's unable to ping/scan the host. The sequence of events I'd like is:
1. I click on the session
2. RDM scans the host to see if it's available and sees it's not
3. RDM invokes the VPN executable
4. RDM runs the after connect macro to type the password
5. RDM waits for a few seconds while the VPN finishes connecting
6. RDM opens the Remote Desktop session to the host
I'm having trouble figuring out how to make #5 happen. This is causing #6 to occur immediately after number four, and the Remote Desktop connection times out because the VPN connection is not complete yet. Any thoughts on how I can make this work?

avatar

Hello,

I'm not 100% sure how you configured the VPN but you can try to increase the Wait after VPN parameter.

Regards,
Min

avatar

Hello,

Could you post a small video and indicate us when you need to increase the VPN delay. Maybe this can help.

Best regards,

Jeff Dagenais

avatar

I'm struggling with the same

Trying to use OpenConnect as a replacement for Cisco Anyconnect, which has a problem when using over RDP connection to a virtual machine
(e.g. doesn't work).


When I use the OpenConnect GUI, I am able to connect to a customer succesfully.
However, I want to automate this process by using the command line parameters.
I have the same problem as TS has, namely that I need to manually enter the password to create the VPN connection.

1. Has there been progress to support OpenConnect as an add-in ?
2. Maybe TS can shed a light if he resolved it or someone else has found a solution ?

avatar

We haven't started the add-on yet.

Regards

David Hervieux

avatar

+1 on this feature!
We're now using OpenConnect instead of Cisco AnyConnect as Cisco's client is buggy.
We'd like to put this into RDM for all of our customers using Cisco AnyConnect so that our end-users can use this tool.

avatar

Hey guys, is there any update on this ?

We recently bought RDM and let me be honest, we are quite disappointed with the lack of VPN support. The whole point of buying RDM is to automatically connect to our client and the VPN support is truly lacking. Other than that, we love the product. Thank you.

Jonathan Pitre
ITI

avatar

Hello,

Thank you for contacting us on that matter!

The OpenVPN Connect entry type is now available in RDM. To create one, you would need to first enable it by going under Tools -> Add-on Manager -> Selecting "OpenVPN Connect" and clicking on Activate "Add-on":
forum image

Let me know if that helps!

Best regards,

James Lafleur

avatar

You are confusing OpenVPN Connect and OpenConnect, these are two different things.

OpenConnect VPN client. (infradead.org)

Jonathan Pitre
ITI

avatar

Hello Jonathan,

My apologies, in that case, I can confirm that this VPN is not supported yet.
Sorry for the inconvenience.

Best regards,

James Lafleur

avatar

Hello Jonathan,
Are you able to give us a test environment for OpenConnect?

Regards

David Hervieux

avatar

Have you been able to configure the Custom VPN to use it with the command line?

Regards

David Hervieux

avatar

Hey David,

I'm actually running some tests, I'll report back my findings.

Sadly, no I'm not able to provide a test environment as I'm connecting to a customer of mine who is using Palo Alto Global Protect VPN.

Jonathan Pitre
ITI

avatar

No problem, I understand. We will try to work with you.

Regards

David Hervieux

avatar


I know that Cisco AnyConnect is VPN client and the OpenConnect is the similar one. But Cisco AnyConnect is the whole package including Network Access Manager, which is able to manage connection over wifi network. I would like to know if I could use OpenConnect the same way.
The motivation is that I am not able to install current AnyConnect, but OpenConnect works fine - but only as a VPN client.

avatar

Hello,

Since there is no OpenConnect entry type at this time, you may want to use the "Command Line (External Application)" entry to launch it.
forum image

Best regards,

James Lafleur