Hello,
I am not seeing any connections I maken in the Forticlient in RDM
I am using Forticlient version 5.4.0 with sslvpn connections
I have attached the screenshot of the dropdown menu but it's empty even though there are connection entries present.
can someone help me with this issue
2016-03-24_10h09_14.png
Hello,
FortiClient tunnels are fetched from the registry: HKEY_LOCAL_MACHINE\SOFTWARE\Fortinet\FortiClient\IPSec\Tunnels
You could check and see if they are indeed saved there. If they are not, if you find us the registry location where they are saved, we could update the add-on to include fetching from there.
It's the same if you use the FortiSSL option, the registry the session names are fetched from is: HKEY_CURRENT_USER\SOFTWARE\Fortinet\SslvpnClient\Tunnels as well as HKEY_LOCAL_MACHINE\SOFTWARE\Fortinet\SslvpnClient\Tunnels
Regards,
Hubert Mireault
Hello Hubert,
The path in the registry is HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Fortinet\FortiClient\Sslvpn\Tunnels could that be why they are not in the RDM list?
Ahh yes, that would be the case. We'll be sure to check inside the WOW6432Node directory too. I'll work on this next week and I'll send you a new version of the add-on so you can test if it works. Thank you for helping out! :)
Regards,
Hubert Mireault
I actually had some free time to work on it just now, so I made the changes and attached a new version to this post. You can put the DLL in %localappdata%\Devolutions\RemoteDesktopManager
Can you tell us if the change works? If so I'll push the new version to our website.
Regards,
Hubert Mireault
VPN3.0.23.0.zip
Hello and thanks for the quick help.
I have done as you suggested and now when i add a new Fortigate connection I ger this error:
ArgumentNullException - Value cannot be null.
Parameter name: source
at System.Linq.Enumerable.Any[TSource](IEnumerable`1 source)
at RemoteDesktopManager.AddOn.VPNAddOn.FortiClientEditor.RefreshVPNList()
at Devolutions.RemoteDesktopManager.Frames.VPN.FreAddOnVPNSettings.RefreshVPNList()
at Devolutions.RemoteDesktopManager.Frames.ConnectionSettings.FreVPNConnectionSettings.cd4c707724f5a5fbffd840d20ba9ef063()
at Devolutions.RemoteDesktopManager.Frames.ConnectionSettings.FreVPNConnectionSettings.LoadConnectionInControls(Connection connection, FrmConnection parent)
at Devolutions.RemoteDesktopManager.Forms.FrmConnection.c7e9911698d4a5e79a26cd09891d405d0(ConnectionType c952f72772ed1d356675de5262ec64125, String c0d2a8152be474b6bf050c99156826208, FreConnectionTypeSelection ce4d0073fc82d4e5c2698d48801e01a01)
at Devolutions.RemoteDesktopManager.Forms.FrmConnection.LoadConnectionInControls(Connection connectionToLoad)
at Devolutions.RemoteDesktopManager.Forms.FrmConnection.cd010602130da8ffa095e72f712cf3d19(Object c19f185fd70cefc696ba148af1c4faf54, EventArgs cf1018bb83ec7debd818319fd3cb4844e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at Devolutions.RemoteDesktopManager.Forms.FrmBase.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
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)
Thanks for the logs. Can you try this version? Made a small mistake in the previous one, this one doesn't crash for me.
Regards,
Hubert Mireault
VPN3.0.23.0[1].zip
Hello Bubert,
I does't crash anymore but the tunnel dropdown is still empty
Alright, thanks for the feedback. I'll look into this more in-depth Monday and keep you updated.
Regards,
Hubert Mireault
Hello Bubert,
Great thanks for the help so far..have a good Easter weekend!
Hello,
Just to make sure, do you use forticlient or fortissl? The registry seems to hint at FortiClient but I just want to make sure.
If it is indeed FortiClient, I attached a new version to this post and it should fetch from the registry properly and stick the result in the FortiClient combo box. Could you try this out? I tested it by creating fake registry keys in the key path you provided, so something along the lines of:
HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Fortinet\FortiClient\Sslvpn\Tunnels\Tunnel1
HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Fortinet\FortiClient\Sslvpn\Tunnels\Tunnel2
And so on. Tunnel1 and Tunnel2 would appear in the box for you to select provided it follows that structure in the registry (it should also work if they aren't in Wow6432Node)
Thank you,
Hubert Mireault
VPN3.0.23.0[2].zip
Hello Hubert,
thanks that did the trick
That's great! We'll push this to our website since it works then. Thanks for the feedback :)
Regards,
Hubert Mireault