Remote control connection

Why remote connection show as Relay?
How to do peer-to-peer?

Which connection will be safe?

hi @onyx.it.license

Please find the There are 3 types of connections that can be used by CRC:

1. Direct connection

Direct connection is used when both devices (CRC host and target device) are located in the same physical network.
In such cases, at least 4 UDP ports from range 49152 - 65535 (for Win7+/MacOS devices) or 1025-5000 (for WinXP/2003 devices) should be opened on CRC side and target side. You can specify these ports in profile settings. Ports should be opened for inbound and outbound connections. Also, access to xmpp servers (host-names and/or IPs are different for EU and US instances ) on 443 port should be allowed from CRC side and target side.

2. Peer-to-peer connection.

Peer-to-peer connection is used when devices (CRC host and target device) are located in different physical networks but a there is a general NAT which allows to establish P2P connection between the two networks.
In such cases, at least 4 UDP ports from range 49152 - 65535 (for Win7+/MacOS devices) or 1025-5000 (for WinXP/2003 devices) should be opened on CRC side and target side. In addition, access to our TURN servers: 18.196.107.208, 52.29.123.206, 34.232.133.48, 18.208.23.45 on UDP port 3478 and access to STUN server: stun.l.google.com on UDP port 19302 should be opened for both sides. Access to xmpp servers (host-names and/or IPs are different for EU and US instances ) on 443 port is mandatory as well.

  1. Relay connection

Relay connection is used when devices (CRC host and target device) are located in different physical networks and a number of intermediate NATs is used, so it is not possible to establish P2P connections.
In such cases, on both CRC host and target, outbound and inbound traffic should be allowed for the hosts/ports listed below:

Note:

  • ITSM service should be constantly connected to TCP 443 our XMPP servers on target device. Otherwise target device will be offline in CRC.
  • RControl.exe should be constantly connected to TCP 443 our XMPP servers on host device. Otherwise all devices will have offline status within CRC.
  • During the connection through CRC, the host side informs target side through XMPP server (TCP 443) about its (host side) local IP address:
    – If the obtained local IP address can be routed from target side, then direct connection will be established. In this case RViewer.exe allocates UDP ports on host side and RHost.exe allocates UDP ports on target side.
    – If the obtained local IP address can’t be routed from target side, then the host side (RViewer.exe) defines its external IP via our STUN servers (UDP 3478). After the address is defined, the host side informs the target side about it via XMPP server. The target side (RHost.exe) allocates UDP ports on host side and RHost.exe allocates UDP ports on target side and they begin data translation.

Between peer-to-peer vs relay, which one better and faster for clients in Thailand

hi @onyx.it.license

Peer-to-peer is better usually but there can be a cases with better route for relay connection.
Connection scenario is the same for all cases. RC tries to connect with different methods by priority:

  1. Direct

  2. P2P

  3. Relay