Connections
On Demand Connections
To create a connection from one device to another which will reconnect on demand, you can use the Desktop Application or the CLI tool. This type of connection is Peer to Peer by default with a Proxy Failover.
Create a Proxy Connection
For http and https remote.it Services, the returned value for "proxy" will be a single string similar to the following. It does not need an explicit port value to be used. These are "reverse proxies". Reverse proxies are always public, which is why the randomized URL is generated at the time of creating the connection.
For all other types of remote.it Services, the returned value for "proxy" will include a hostname and a port value separated by a colon, as shown below. These are "port proxies".
Proxy Connection Modes
The following options apply only to "port proxies", namely all Service types except the http and https Service types, which use "reverse proxies". Reverse proxies are always public which is why the randomized URL is created.
hostIP Options
Public
0.0.0.0
Anyone who has the connection URL and port can connect to it until the connection expires or is closed. If you use the Public connection mode, make sure that your resources are properly password protected.
IP Restricted
Unique IP
Only connections coming from that public IP address will be allowed. Any other incoming connection will be blocked.
IP Latching
255.255.255.25
Whoever uses the connection URL and port first will "latch" the connection, blocking all other connection attempts regardless of where they originated.
Connect
serviceId
String
The id of the service you will make a connection to
hostIP
String
Used to restrict the range of IP addresses who can connect to the proxy.
Query response for reverse proxy connections (http/s services)
The value returned for "id" can be used with the Disconnect API endpoint to terminate the proxy connection to your target when you are done using it.
Query response for all other proxy requests where host + port is required to connect
Disconnect
serviceId
String
The id of the service you want to terminate the connection for
connectionId
String
This is the connect id in the query response from the connect call above
Query Response
Last updated