Forum / Remote Desktop Manager - Support

Remote tools on VPN sessions

  • Create an Issue
  • Cancel

When I connect to a RDP session using VPN (SSH tunnel), I am unable to use any of the Remote Tools (Events, services, etc).
It shows a RPC error for these
I am also unable to Load from Inventory, which I assume is for the same reason?
The Profiler debug for that is:
Retrieving System Information with for hostname.domain.com.au with the user
BatchRemoteCommand (LOCAL): Mode=Local Username=
\\hostname.domain.com.au\root\CIMV2


If I connect to a session that is direct rather than through VPN, all of this works without error. It captures the username in profiler which is different to above where it is blank.
Retrieving System Information with for 10.1.1.1 with the user chad.user
BatchRemoteCommand (LOCAL): Mode=Local Username=chad.user
\\10.1.1.1\root\CIMV2
\\10.1.1.1\root\CIMV2
Loading user info chad
user.UserSecurity.IsAdministrator: True


Is this because RDM initiates the remote tools using WMI on port 135 and can't push through my tunnel?

rdm-rpcerror.png
Clock3 yrs

Hello,

A quick search on the interwebs show a great number of hits for "VMI over VPN".

Could you do a quick test using WMIC? This will prove if the issue lies with RDM or with your server/network. In the latter case we will still try to help wink

Please consult https://help.remotedesktopmanager.com/troubleshooting_wmi.htm

There are two commands at the bottom that you can try.

Best regards,



Maurice Côté

signaturesignature

Clock3 yrs

It seems that WMI doesn't work using NAT since DCOM responds with the real IP address which is then used for the WMI call.


wmic /NODE:"hostname.com.au" bios get serialnumber
Node - hostname.com.au
At line:1 char:1
+ wmic /NODE:"hostname.com.au" bios get serialnumber
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo: NotSpecified: (Node - hostname.com.au:String) [], RemoteException

At line:1 char:1
+ wmic /NODE:"hostname.com.au" bios get serialnumber
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo: NotSpecified: (smile [], RemoteException
ERROR: Description = The RPC server is unavailable.
At line:1 char:1
+ wmic /NODE:"hostname.com.au" bios get serialnumber
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo: NotSpecified: (smile [], RemoteException


I did try to workaround this by adding the machine to my hosts file (127.0.0.1 hostname.com.au)
However it now says access denied, although I know this account is correct and does have access because it works within the customer environment for that same server with the exact same command. I'm not sure why it gives the access denied error here though.


wmic /NODE:"hostname.com.au" /user:"domain\username" /password:"password" bios get serialnumber
Node - hostname.com.au
At line:1 char:1
+ wmic /NODE:"hostname.com.au" /user:"domain\username" / ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo: NotSpecified: (Node - hostname.com.au:String) [], RemoteException

At line:1 char:1
+ wmic /NODE:"hostname.com.au" /user:"domain\usernamel" / ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo: NotSpecified: (smile [], RemoteException
ERROR: Description = Access is denied.
At line:1 char:1
+ wmic /NODE:"hostname.com.au" /user:"domain\username" / ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo: NotSpecified: (smile [], RemoteException

Clock3 yrs

If you have changed a board, and also not all BIOS codes are actually pre-entered. In that case it is necessary to boot into the BIOS of a machine with that issue, and enter it manually (from reading it off of the hardware itself.) In other words, if the machine is not very old, the response you are getting is the default response when no value is set (null).

Clock3 mths