Hi,
At the moment I have OpenVPN connect running separately in macOS Monterey. However, I would like RDM to handle this as well. Is this already possible? Most handy would be I if I could just have it connect when ram starts, But I can live with starting it myself. I don't want to define seperate vpn connections to the same access server per ssh session I start .
Regards.
Hi,
At the moment, we do not support OpenVPN Client (I'm guessing this is what you are using?) in RDM Mac as a connection. If you are sufficiently familiar with it and you know how to launch it with command lines, you could configure and VPN entry of type Custom:
Here's what it would look like:
If you wanted this session to launch automatically when launching RDM, you could export this entry to a .rdm file (right click -> Export -> Export Selection (.rdm)...). You could then configure the data source you are using to start the VPN from this session. Like so:

Please, do tell me if anything is unclear.
Best regards,
Xavier Fortin
DataSourceVPNSettings.png
DataSourceConfig.png
CustomVPNSettings.png
CustomVPN.png
Hi,
Thnx for taking time to answer my question.
I do use OpenVPN Connect indeed.
One of the issues I have is that my openvpn connection requires authentication with a fixed password to which I add an OTP.
Now I have about a 150 servers I need to connect to via Openvpn AND via jumphost (The jumphost can only be reached via vpn).
Hence I usually first start the vpn and then start rdm sessions which al have this jumphost configured in their settings.
If I add such and rim file to my connections, How is this going to work? Can I make it ask for the password? And if the first session connected to the vpn, do the other sessions attempt to do the same?
Cheers
I might have misunderstood your original point. I thought you needed a single VPN connection since you said you wanted it to launch at the start of RDM. Have I misunderstood?
If I add such and rim file to my connections, How is this going to work? Can I make it ask for the password?
This would depend on how OpenVPN Connect works. You can probably just not pass the password in the .rdm file, and it might prompt you for it. But I am not familiar with the client myself, so I can't give you a definitive answer. You can probably just experiment with it to see how it behaves? Admittedly, I do not know if it supports command line arguments. If not, maybe it supports AppleScript or some other means of communication with it.
Best regards,
Xavier Fortin
Nonono ... You understood quite well. Would be great to start ik once, when firing up rdm.
Well then, the solution described in my first answer should in theory work. You'll have to figure out the proper command lines, this might provide you with the needed information: https://openvpn.net/vpn-server-resources/command-line-functionality-for-openvpn-connect/
Best regards,
Xavier Fortin