Skip to main content

Reach an on-premises installation through the Rational AI Tunnel

An on-premises Rational AI installation runs on a machine inside your network and is reachable only from that network. Settings → Tunnel gives it a public endpoint under rational.is (https://control-room.<yourcompany>.rational.is), with a browser-trusted certificate, and lets you choose how the traffic gets there: through the Rational AI Tunnel, which works behind any router with nothing to configure, or directly, which is faster and needs a couple of port-forwarding rules on your router.

On-premises only

The Tunnel page exists only on installations connected to Rational AI. On the managed cloud the platform handles addresses and certificates for you and the page is not shown.

The Tunnel page in Settings, with the installation's endpoint and the tunnel switch on

How it works​

PieceWhat it does
EndpointYour installation is named <yourcompany>.rational.is; the application answers at control-room.<yourcompany>.rational.is. Rational AI manages the DNS records.
CertificateIssued by Rational AI for the name and its subdomains (Let's Encrypt, renewed automatically). Browsers trust it out of the box: nothing to install on any client.
TunnelWith the tunnel on, your endpoint points at vpn.rational.is, which forwards each connection, still encrypted, through a private tunnel to your machine. Rational AI only reads the name the browser asked for; it never sees the content.
DirectWith the tunnel off, your endpoint points at your public IP and your router forwards the ports below to the machine.
LicenseThe check-in uses the identity the installation receives when its license is activated, so nothing reaches the endpoint before activation. The license status is on Settings → Licence.

The machine checks in with Rational AI once a minute. That is when a change to the tunnel setting takes effect, a renewed certificate is installed, and a changed public IP is followed. What an installation sends to Rational AI lists what the check-in carries.

Prerequisites​

  • Administrative access. The page is admin-gated.
  • An installation connected to Rational AI. Rational AI connects it, activates the license and sets its subdomain (acme names it acme.rational.is) when it installs the machine. An installation served on a domain of your own does not show the page.
  • Outbound internet access from the machine to control-room.rational.is (HTTPS) and, for the tunnel, to vpn.rational.is on UDP port 51820. No inbound rule is needed for the tunnel.

Choose the connection path​

Open Settings → Tunnel. The Endpoint section shows the installation's public endpoint with a copy button, the time of the last check-in and the certificate's expiry.

Rational AI Tunnel (the default)​

Leave Rational AI Tunnel on and select Save if you changed anything. Within a minute the endpoint resolves to vpn.rational.is and the installation is reachable from anywhere.

Choose the tunnel when:

  • you cannot, or would rather not, change the router's configuration;
  • the machine sits behind a carrier-grade NAT, a 4G/5G router or a network you do not control;

The cost is latency: every byte makes a round trip through the tunnel, so pages and generations feel somewhat slower than on the local network. Users on the local network are not affected in either mode: the application is always reachable at the same endpoint from inside too.

Direct connection​

Turn off Rational AI Tunnel. The page shows a Configure your router box with the rules to add:

External portProtocolForward to
443TCP<the machine's LAN address>:443
80TCP<the machine's LAN address>:80

The page also lists the machine's LAN address (This machine) and Your public IP. Add the two rules on your router (the feature is usually called port forwarding, NAT or virtual server), then select Save. Within a minute the endpoint resolves to your public IP; if your provider changes it, the installation notices at the next check-in and the endpoint follows.

A direct connection needs a reachable public IP

If your provider puts you behind a shared address (carrier-grade NAT, common on mobile and some fiber connections), forwarded ports never reach you and the installation becomes unreachable from outside as soon as the tunnel is off. If in doubt, keep the tunnel on, or ask your provider for a public IP first. Switching the tunnel back on restores access within a minute.

Port 80 only redirects browsers to HTTPS; forwarding it is convenient, not required.

Check that it works​

  • From outside your network (a phone off Wi-Fi is the quickest test), open the endpoint shown on the page. The login page should load with a valid certificate and no warning.
  • On the page, Last sync should be within the last minute or two. An older time means the machine cannot reach control-room.rational.is: check its internet access.
  • Certificate should read valid until a date a few weeks or months ahead. Right after installation it reads not issued yet, which is normal; the certificate appears within a couple of minutes.

Troubleshooting​

SymptomWhat to check
The endpoint does not resolve, or resolves to an old IPDNS changes take up to a minute to apply and a few more to propagate to your resolver. The page's Last sync confirms the installation reported the change.
Reachable on the local network, not from outside, tunnel onThe tunnel needs UDP 51820 out to vpn.rational.is. A firewall that blocks it keeps the traffic from reaching the machine.
Reachable on the local network, not from outside, tunnel offThe router rules (443 and 80, TCP, to the LAN address shown) and the public IP: see the caution above about shared addresses.
Certificate warning in the browserThe certificate has not been issued yet, or the machine has not checked in since it was renewed. Wait a couple of minutes.
The endpoint never appears, Last sync stays neverThe installation has no identity on the platform yet: activate the license (Settings → Licence), then wait a minute. If it still says never, contact Rational AI.