USB Network Gate Product Page


Suppose, you need to connect to the remote computer via Remote Desktop Protocol (RDP) to perform some actions there. Or, say, your computer is a thin client with limited capabilities, so you connect to a more powerful server each time you need to work. And in this remote desktop session you need to use your USB device which is attached locally. The task becomes even more difficult when one needs an application, which is installed on the server, to access and process the data provided by the USB device.


The only solution is to redirect the USB device from your local machine to the server.

Currently, RDP clients permit to redirect certain USB devices like printers and USB flash drives, but the list of supported devices is limited (e.g. scanners are not supported). Electronic Team provides you with the solution to this problem!


USB Network Gate permits to access any USB device plugged into local machine while working in remote desktop session. In fact, you share USB port, to which you can attach any USB device. Moreover, you can unplug one device, and plug in another one, without any additional configurations.

All you need to do is install USB Network Gate on both machines which participate in connection:

  1. On the local machine (where the client for Microsoft RDP protocol is installed), USB Network Gate Server should be installed to share USB devices over Remote Desktop Protocol. The client for Microsoft RDP protocol will be Remote Desktop Connection.
  2. On the remote machine (where Terminal Server, the server component for Microsoft RDP protocol, is installed), USB Network Gate Client should be installed to access shared USB devices over RDP.


Note: Actually, Server and Client parts of USB Network Gate are conveniently united in a single application. Please pay attention that registration is required for the server part only. You do not need to register the client part. Clients will be able to access remote USB devices, which are shared on the server machine, via client module even when trial period expires without any additional configurations.

So, once you connect to the server via RDP and establish connection with the shared device, this USB device will appear in the server’s Device Manager and will be recognized by all applications as local one.


Note: Since USB Network Gate version 7.x, support for ICA protocol was added. USB devices plugged into a thin client appear in a remote session over ICA.


Now let’s see the process of accessing USB port/device in remote desktop session step by step:


If your machine is running Linux, execute the following command in Terminal:


xfreerdp /vc:usb4rdp /v:<remote address>


where <remote address> is the remote server’s IP address/domain name/computer name. This command launches RDP client xfreerdp together with Electronic’s plugin, which ensures full USB Network Gate functionality in remote desktop session.


Notes:

  1. You can also load other plugins for freeRDP, if needed. For example:
    xfreerdp +clipboard /vc:usb4rdp /v:xxx.xx.xx.xx
  2. This command launches RDP client xfreerdp together with Electronic’s plugin and cliprdr plugin, which ensures synchronization of client and server clipboard data.

    Refer to freeRDP documentation to find out about supported plugins and available user commands.

  3. To share audio USB device in RDP session, xfreerdp should be launched with additional options:
    xfreerdp /vc:usb4rdp /audio-mode:1 /v:server

    This would permit to redirect sound not by means of RDP client, but via USB Network Gate.

  4. Electronic’s plugin is compatible with xfreerdp version starting from 1.0. rdesktop and Remmina are not supported.

With the support of RemoteFX USB Redirection [MS-RDPEUSB] added to USB Network Gate for Linux, it is possible to redirect shared USB devices from a server machine running Linux OS (Terminal Client) to a Windows client machine (Terminal Server) even without installing USB Network Gate on the latter.


The client should be either Windows 8 (real or virtual machine) or Hyper-V running Windows 7 SP 1, with the RemoteFX GPU added, launched on Windows Server 2008 R2 SP 1 or Server 2012.

The command is the following:


xfreerdp /dvc:urbdrc,[shared-ports] xfreerdp-args


Arguments are the following:

  • shared-ports : comma-separated list of TCP ports for USB devices shared via USB Network Gate. If not specified, all shared USB devices will be redirected.
  • xfreerdp-args : arguments to pass to xfreerdp.

For example:

  • Redirect all shared USB devices:
    xfreerdp /dvc:urbdrc /u:User /p:Pass /v:192.168.0.123
  • Redirect USB devices shared on 1909 and 1910 TCP ports:
    xfreerdp /dvc:urbdrc,1909,1910 /u:User /p:Pass /v:192.168.0.123

If you get SSL_read: I/O error, add “/rfx” parameter without quotes prior to IP address.


Note: In case traffic encryption and/or authorization is enabled, and/or traffic compression is used, sharing of USB device in remote desktop session will be unavailable.