Why remote connection show as Relay?
How to do peer-to-peer?
Which connection will be safe?
Why remote connection show as Relay?
How to do peer-to-peer?
Which connection will be safe?
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.
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:
Between peer-to-peer vs relay, which one better and faster for clients in Thailand
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:
Direct
P2P
Relay