home recent topics recent posts search faq  

DEVOLUTIONS :: Forum

user:
psw:
| lost password | register
pages: 1 2 |
2/8/2010 12:34:34 AM

SoftChip
SoftChip
Posts: 8
Hi,

this AddOn seems not to use the Protocol I select in the configuration.
I select TCP but the AddOn tries to open the connection via UDP.

Can you add the ability to select one configuration-file out of the config-folder of OpenVPN?

Best regards,

Manuel Marhold
SoftChip EDV-Systeme GmbH
Gutenbergstr. 25
49479 Ibbenbueren GERMANY
Fon: +49 5451-54703-40
Fax: +49 5451-54703-22
Web: www.softchip-edv.de
edited by SoftChip on 2/8/2010
permalink • reply with quote
2/8/2010 6:59:00 AM

jskuby
jskuby
Posts: 75
I will be working on a rebuild of the user interface soon for the OpenVPN AddOn, and I will add the config file option back when I do that. I will take a look at the TCP/UDP issue later today and report what I find.
edited by jskuby on 2/8/2010

--
AddOns:
MS Telnet, MySQL GUI Tools, NX Client, OpenVPN, Shrew Soft VPN, TheGreenBow VPN

Need AddOn support?
permalink • reply with quote
2/8/2010 7:05:35 PM

jskuby
jskuby
Posts: 75
SoftChip,

Are you setting the protocol globally or in the host config dialog? Just wondering because it's writing the config fine, but I wonder if we're running into some default/overridden behavior of OpenVPN because of the connection tags the hosts are wrapped in.

--
AddOns:
MS Telnet, MySQL GUI Tools, NX Client, OpenVPN, Shrew Soft VPN, TheGreenBow VPN

Need AddOn support?
permalink • reply with quote
2/11/2010 7:34:15 PM

kirel
kirel
Posts: 2
jskuby wrote:
SoftChip,

Are you setting the protocol globally or in the host config dialog? Just wondering because it's writing the config fine, but I wonder if we're running into some default/overridden behavior of OpenVPN because of the connection tags the hosts are wrapped in.


Hi, jskuby.

I'm also having this problem, and interested in it being fixed. In my situation, I am importing an existing and working .opvn config file into the host configuration dialog. Everything looks correct, but when connecting, the displayed connection text shows it is attempting the link with UDP.

Thanks for your help/efforts. It is greatly appreciated.
permalink • reply with quote
2/11/2010 8:19:39 PM

jskuby
jskuby
Posts: 75
I believe I have fixed the protocol issue. Can you try this build? I'll be (re)adding the config selection this weekend.

OpenVPNAddOn 1.1.0.3

--
AddOns:
MS Telnet, MySQL GUI Tools, NX Client, OpenVPN, Shrew Soft VPN, TheGreenBow VPN

Need AddOn support?
permalink • reply with quote
2/12/2010 12:33:26 AM

SoftChip
SoftChip
Posts: 8
Hi jskuby,

sorry, I've been out of office.

First: This is a great AddOn, I already had the idea myself, but now I don't have to do this, you just did it! Thank you!

I don't know where I can set the protocol globally, i cannot find settings for you AddOn. But the new version works fine, now it uses TCP as protocol. Great work.

I have one connectionfile which uses a .p12 as "pkcs12" but this is written into "Additional Parameters". Is there any ability to use this files?

I have one more question: If I want to use more than one connection at one time, the open-vpn-gui doen't allow this. Is there the ability to user openvpn directly, without using the gui?

Manuel Marhold
SoftChip EDV-Systeme GmbH
Gutenbergstr. 25
49479 Ibbenbueren GERMANY
Fon: +49 5451-54703-40
Fax: +49 5451-54703-22
Web: www.softchip-edv.de
permalink • reply with quote
2/12/2010 7:06:59 AM

jskuby
jskuby
Posts: 75
When I said globally, I probably misspoke. I should have said in the main OpenVPN AddOn session config (not in the host), but it's good to know 1.1.0.3 fixed the issue. I should be able to add the pkcs12 support this weekend while I'm working on the other tweaks/features. I'll also look into opening multiple connections via the command line and possibly putting a tray icon while it's connected, so there's some indication other than in RDM that the connection is active.

--
AddOns:
MS Telnet, MySQL GUI Tools, NX Client, OpenVPN, Shrew Soft VPN, TheGreenBow VPN

Need AddOn support?
permalink • reply with quote
2/12/2010 7:14:37 AM

kirel
kirel
Posts: 2
Version 1.1.0.3 worked perfectly for me. Both my tcp and udp connections work correctly now. Thank you!
edited by kirel on 2/12/2010
permalink • reply with quote
2/14/2010 11:51:55 PM

SoftChip
SoftChip
Posts: 8
Hi jskuby,

thar would be great.
I also tried to use the gui to open more than one connection but I always get the errormesasge that the gui has already been started. So I think you have to use openvpn directly without the gui.

But have a try
permalink • reply with quote
3/16/2010 8:04:05 PM

rkentish
rkentish
Posts: 5
Hi,

I've been trying to get this addon to work as I currently use OpenVPN to connect to most of my clients before I RDP to server etc. I cannot seen to get the config to work though I keep getting the following error trace

ArgumentNullException - Value cannot be null.
Parameter name: fileName

at System.IO.FileInfo..ctor(String fileName)
at RemoteDesktopManager.AddOn.OpenVPNAddOn.OpenVPNAddOn.Open(String aParams)
at Devolutions.RemoteDesktopManager.Business.VPNOpeners.VPNAddOnOpener.Open(VPNConnection aVPN)
at Devolutions.RemoteDesktopManager.Managers.VPNManager.OpenVPN(Connection aConnection)
at Devolutions.RemoteDesktopManager.Managers.ConnectionManager.OpenConnection(Connection aConnection, OpenConnectionMode aOpenConnectionMode)
at Devolutions.RemoteDesktopManager.Managers.ConnectionManager.OpenConnections(Connection[] aConnections, OpenConnectionMode aOpenConnectionMode)
at Devolutions.RemoteDesktopManager.Forms.FrmMain.OpenConnection(Connection[] aCurrentConnections, OpenConnectionMode aOpenConnectionMode)
at Devolutions.RemoteDesktopManager.Frames.ConnectionViews.FreBaseConnectionView.OpenConnection(Connection[] aCurrentConnections, OpenConnectionMode aOpenConnectionMode)
at Devolutions.RemoteDesktopManager.Frames.ConnectionViews.FreConnectionTreeView.tvList_NodeMouseDoubleClick(Object sender, TreeNodeMouseClickEventArgs e)
at System.Windows.Forms.TreeView.OnNodeMouseDoubleClick(TreeNodeMouseClickEventArgs e)
at System.Windows.Forms.TreeView.WndProc(Message& m)
at Devolutions.Private.Controls.TreeViewXP.WndProc(Message& message)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

I'm using RDM 5.7.1.0 Enterprise with the OpenVPN AddOn 1.1.02
permalink • reply with quote
3/16/2010 8:13:01 PM

jskuby
jskuby
Posts: 75
Hello rkentish,

I'm sorry to hear you're having issues. At what point are you getting the error? Are you manually entering a connection or using the import option? Could you try the latest version, which is 1.1.0.4, and let me know if you still have the issue?

You can get the latest version at my site:
http://www.pocketemu.com/rdmaddons/openvpn-for-rdm/

--
AddOns:
MS Telnet, MySQL GUI Tools, NX Client, OpenVPN, Shrew Soft VPN, TheGreenBow VPN

Need AddOn support?
permalink • reply with quote
3/16/2010 8:20:36 PM

rkentish
rkentish
Posts: 5
Have just updated to 1.1.0.4 and I'm still having the same problem.

The error occurs when I actually try and to connect the session. I have been creating the OpenVPN config manually. Does the addon create the config and cert files on the fly (from the database options) and if so is there somewhere I can check to see if they are being created properly?

BTW Thanks for the quick reply
edited by rkentish on 3/16/2010
permalink • reply with quote
3/16/2010 8:39:00 PM

jskuby
jskuby
Posts: 75
Yes the connection is created in the RDM user data folder, which should be:
Vista/Win7 - C:\Users\<username>\AppData\Local\Devolutions\RemoteDesktopManager\OpenVPN
XP - C:\Documents and Settings\<username>\Local Settings\Application Data\Devolutions\RemoteDesktopManager\OpenVPN

There should be a folder in there with the config files that are generated when launching the connection. There are only a few spots in the addon where I use FileInfo, so this shouldn't be too difficult to track down.

--
AddOns:
MS Telnet, MySQL GUI Tools, NX Client, OpenVPN, Shrew Soft VPN, TheGreenBow VPN

Need AddOn support?
permalink • reply with quote
3/16/2010 9:07:50 PM

jskuby
jskuby
Posts: 75
I may have tracked the issue down. Can you please try this build and let me know your results?

http://www.pocketemu.com/downloads/OpenVPNAddOn_1.1.0.5.zip

--
AddOns:
MS Telnet, MySQL GUI Tools, NX Client, OpenVPN, Shrew Soft VPN, TheGreenBow VPN

Need AddOn support?
permalink • reply with quote
3/16/2010 9:23:42 PM

rkentish
rkentish
Posts: 5
That build worked great!! Thanks for you're help and excellent response times.

I just have one last question, is there any way to specify a delay before trying to connect the session (or can it wait for a success response from OpenVPN). The RDP session that runs over the VPN is attempting to connect before the VPN is established and then timing out as the VPN takes a couple of seconds to establish.
permalink • reply with quote
3/16/2010 9:38:23 PM

jskuby
jskuby
Posts: 75
Glad to hear that worked for you. I'll release that version tonight because that's a pretty major issue you found. Thanks for reporting it.

I will be implementing a wait time soon, but in the meantime there is a way to have it work. Set up the OpenVPN connection as it's own session in RDM, then in your RDP session's VPN tab select "Existing Session" and point it at the OpenVPN session. The "Existing Session" option has a wait time implemented and it works well with the OpenVPN AddOn.

--
AddOns:
MS Telnet, MySQL GUI Tools, NX Client, OpenVPN, Shrew Soft VPN, TheGreenBow VPN

Need AddOn support?
permalink • reply with quote
3/16/2010 10:02:40 PM

rkentish
rkentish
Posts: 5
Sweet, that will actually work better for me as I have 3 - 4 different internal machines that I need to get through via the same VPN connection.

Do you know if the VPN session will be held open as long as one of the sessions is using it (if I set the auto disconnect option)?
permalink • reply with quote
3/17/2010 9:35:55 AM

jskuby
jskuby
Posts: 75
If you use the the "connect if unable to ping" option, and the machine you're trying to hit (or just testing for ping) is pingable via the OpenVPN connection, things should work just fine because in order to ping the machine the tunnel has to be up and running.
edited by jskuby on 3/17/2010

--
AddOns:
MS Telnet, MySQL GUI Tools, NX Client, OpenVPN, Shrew Soft VPN, TheGreenBow VPN

Need AddOn support?
permalink • reply with quote
3/17/2010 11:59:40 PM

SoftChip
SoftChip
Posts: 8
Hi,

I think rkentish wants to know if the OpenVPn-Connection is left open if mote than one Remotesessions are using it.

As far as I know this is not possible, but in planning.
permalink • reply with quote
3/18/2010 4:49:40 AM

dhervieux
dhervieux
Administrator
Posts: 1349
Exactly, this is something I want to add in the next major update and maybe before. I really think that it's an important feature but it's not simple (not too complex too) to implements. For the next minor update, I could add an option to "ask confirmation before closing VPN". At least you will be able cancel the close.



What do you think ?
edited by dhervieux on 3/18/2010

--
David Hervieux
Devolutions inc.
permalink • reply with quote
pages: 1 2 |




Powered by AspNetForum v.6.1.6.0 © 2006-2009 Jitbit Software