Public endpoints
Publish a local or private service on a public address while the upstream stays behind an outbound-only tunnel.
Publish services to the internet and connect applications, machines and AI agents to private systems through outbound tunnels, with access control at the edge.
rstream forward 8080 version:1.38.2update:-status:onlineplan:proprovider:awsregion:eu-west-3tunnel ID:e4048c9938688e58f859d931forwarding:https://rc895bce2-bbc44f81.t.aws-global-1.c.rstream.ioforwarded:http://localhost:8080 (http/1.1) waiting for connections...Get started
sudo /bin/bash -i -c "$(curl -fsSL https://rstream.io/scripts/install-debian.sh)"On Debian or Ubuntu, install the CLI through APT on the machine that hosts your service.
rstream loginrstream project use prod-euAuthenticate once, then select the project that will own your endpoints and credentials.
rstream forward 8080Forward a local port and get a secure public address ready to share.
rstream is compatible with Linux, macOS and Windows. Get rstream now.
How it works
Clients
GET /image.svg · 200 OK
image.svg
rstream edge network
accepting connection...
checking IP reputation...
checking geo policy...
verifying token...
routing upstream...
streaming response...
writing connection log...
Upstream
$ rstream forward 8080
forwarding: https://d76659d1.t.aws-global-1.c.rstream.io
waiting for connections...
new connection
$ python -m http.server 8080
Serving HTTP on 127.0.0.1:8080
GET /image.svg HTTP/1.1" 200 -
Go deeper into tunnel types, protocols, and how traffic is forwarded. Explore tunnels.
Use cases
Publish previews and receive webhooks at a stable public address. Across private environments, the same rstream edge connects applications to the internal APIs and databases they depend on.
rstream WebTTY gives teams secure terminal access to machines in the field. Operators share a live session to commission new equipment, investigate a fault or verify an update as it rolls out.
What one robot sees can change where another goes. rstream carries live video and telemetry between robots and delivers fleet commands over the protocols their onboard systems already use.
rstream connects AI agents to private models and the machines where their decisions take effect. Through MCP, agents discover authorized tools, run code remotely and verify the outcome before acting again.

Connect robots to one another and equip AI agents to orchestrate work across fleets and industrial sites. Explore physical AI.
Explore practical examples for WebRTC video, computer vision, private AI infrastructure, database access, and remote operations. Browse the guides.
Core workflows
Publish a local or private service on a public address while the upstream stays behind an outbound-only tunnel.
Let authenticated CLI and SDK clients dial named services without publishing them or creating a managed Layer 3 network.
Keep origins off the public Internet. Agents establish the connection from inside the environment, so no inbound firewall rule is required.
Verify people and machines at the edge, apply scoped access policy, then relay approved traffic to the private side.
Use one runtime for HTTP, WebSocket, TCP, TLS, QUIC, DTLS, WebTransport, and private stream or datagram workloads.
Inspect routing and policy decisions in connection logs, follow live events, and track operational trends through metrics and webhooks.
Learn the core building blocks behind tunnels, agents, and edge routing. Explore the docs.
Security




Keep upstreams behind outbound agent connections and protect the agent-to-edge path with encrypted transport.
Authenticate browser users with rstream Auth and machines with scoped tokens or mutual TLS before traffic is routed.
Limit discovery, creation, and access permissions to specific tunnels, labels, and operations.
Restrict supported entrypoints by trusted IP ranges and geographic rules before they reach upstream services.
Use client certificates for agent control-channel authentication and for published tunnel access policies.
Record enforcement decisions, then rotate or revoke credentials as access requirements change.
Dive deeper into zero-trust access, rstream Auth, tokens, and enforcement rules at the edge. Read security docs.
Declarative tunnels
Define tunnels as configuration that stays in sync with deployments. rstream reconciles desired state and applies updates as services change, using YAML, Docker labels, and Kubernetes custom resources. Protocols, upstream targets, publishing, identity, and access policy live in versioned configuration.
Declare protocol, upstream target, publishing, and access policy in a versioned specification.
Attach tunnel configuration to services through labels so tunnel state follows the runtime stack.
Expose Services with RstreamConnection and RstreamTunnel resources while the operator manages agents and status.
Keep tunnel state aligned as services change, avoiding drift and ad-hoc tunnel sprawl.
version: 1
tunnels:
- name: "http-server"
forward: "127.0.0.1:8080"
tunnel:
publish: true
protocol: "http"
labels:
app: "http-server"
http:
version: "http/1.1"
auth:
token: true
rstream: true
#!/usr/bin/env sh
set -eu
rstream -v run --apply tunnels.yaml --watch
Move from ad-hoc setup to reconciled connectivity that stays aligned over time. Learn declarative tunnels.
rstream WebTTY
rstream WebTTY provides secure, collaborative terminal access to remote machines and fleets, with support for end-to-end encryption. Operators can open sessions through the web dashboard, the CLI or an SDK integration. AI agents use native MCP tools to run code directly on those machines with permissions set by the organization.
Open remote terminal sessions directly from a browser, without requiring local SSH setup.
Use a consistent access path for machines and devices across environments, with identity and policy applied at the entrypoint.
Keep inbound ports closed. The WebTTY server establishes connectivity outbound.
Open sessions from the dashboard, from the CLI, or embed access paths into tooling through SDK integration.
root@a11c63224a2b:/# /bin/bash -i -c "$(curl -fsSL https://rstream.io/scripts/install-debian.sh)"
- detected curl
- installing gnupg for gpg verification...
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
adduser dirmngr gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpgconf gpgsm keyboxd libksba8 libreadline8t64 libsqlite3-0 pinentry-curses readline-common
Suggested packages:
liblocale-gettext-perl perl cron quota ecryptfs-utils dbus-user-session libpam-systemd pinentry-gnome3 tor parcimonie xloadimage gpg-wks-server scdaemon pinentry-doc
readline-doc
The following NEW packages will be installed:
adduser dirmngr gnupg gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpgconf gpgsm keyboxd libksba8 libreadline8t64 libsqlite3-0 pinentry-curses readline-common
0 upgraded, 16 newly installed, 0 to remove and 4 not upgraded.
Need to get 3260 kB of archives.
After this operation, 8989 kB of additional disk space will be used.
Get:1 http://ports.ubuntu.com/ubuntu-ports noble/main arm64 adduser all 3.137ubuntu1 [101 kB]
Get:2 http://ports.ubuntu.com/ubuntu-ports noble/main arm64 readline-common all 8.2-4build1 [56.5 kB]
Get:3 http://ports.ubuntu.com/ubuntu-ports noble/main arm64 libreadline8t64 arm64 8.2-4build1 [153 kB]
Get:4 http://ports.ubuntu.com/ubuntu-ports noble-updates/main arm64 libsqlite3-0 arm64 3.45.1-1ubuntu2.5 [704 kB]
Get:5 http://ports.ubuntu.com/ubuntu-ports noble-updates/main arm64 gpgconf arm64 2.4.4-2ubuntu17.4 [103 kB]
Get:6 http://ports.ubuntu.com/ubuntu-ports noble/main arm64 libksba8 arm64 1.6.6-1build1 [119 kB]
Get:7 http://ports.ubuntu.com/ubuntu-ports noble-updates/main arm64 dirmngr arm64 2.4.4-2ubuntu17.4 [316 kB]
Get:8 http://ports.ubuntu.com/ubuntu-ports noble-updates/main arm64 gnupg-utils arm64 2.4.4-2ubuntu17.4 [106 kB]
Get:9 http://ports.ubuntu.com/ubuntu-ports noble-updates/main arm64 gpg arm64 2.4.4-2ubuntu17.4 [549 kB]
Get:10 http://ports.ubuntu.com/ubuntu-ports noble/main arm64 pinentry-curses arm64 1.2.1-3ubuntu5 [34.3 kB]
Get:11 http://ports.ubuntu.com/ubuntu-ports noble-updates/main arm64 gpg-agent arm64 2.4.4-2ubuntu17.4 [221 kB]
Get:12 http://ports.ubuntu.com/ubuntu-ports noble-updates/main arm64 gpgsm arm64 2.4.4-2ubuntu17.4 [225 kB]
Get:13 http://ports.ubuntu.com/ubuntu-ports noble-updates/main arm64 keyboxd arm64 2.4.4-2ubuntu17.4 [75.9 kB]
Get:14 http://ports.ubuntu.com/ubuntu-ports noble-updates/main arm64 gnupg all 2.4.4-2ubuntu17.4 [359 kB]
Get:15 http://ports.ubuntu.com/ubuntu-ports noble-updates/main arm64 gnupg-l10n all 2.4.4-2ubuntu17.4 [66.4 kB]
Get:16 http://ports.ubuntu.com/ubuntu-ports noble-updates/main arm64 gpg-wks-client arm64 2.4.4-2ubuntu17.4 [69.7 kB]
Fetched 3260 kB in 0s (7357 kB/s)
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package adduser.
(Reading database ... 5082 files and directories currently installed.)
Preparing to unpack .../adduser_3.137ubuntu1_all.deb ...
Unpacking adduser (3.137ubuntu1) ...
Setting up adduser (3.137ubuntu1) ...
Selecting previously unselected package readline-common.
(Reading database ... 5130 files and directories currently installed.)
Preparing to unpack .../00-readline-common_8.2-4build1_all.deb ...
Unpacking readline-common (8.2-4build1) ...
Selecting previously unselected package libreadline8t64:arm64.
Preparing to unpack .../01-libreadline8t64_8.2-4build1_arm64.deb ...
Adding 'diversion of /lib/aarch64-linux-gnu/libhistory.so.8 to /lib/aarch64-linux-gnu/libhistory.so.8.usr-is-merged by libreadline8t64'
Adding 'diversion of /lib/aarch64-linux-gnu/libhistory.so.8.2 to /lib/aarch64-linux-gnu/libhistory.so.8.2.usr-is-merged by libreadline8t64'
Adding 'diversion of /lib/aarch64-linux-gnu/libreadline.so.8 to /lib/aarch64-linux-gnu/libreadline.so.8.usr-is-merged by libreadline8t64'
Adding 'diversion of /lib/aarch64-linux-gnu/libreadline.so.8.2 to /lib/aarch64-linux-gnu/libreadline.so.8.2.usr-is-merged by libreadline8t64'
Unpacking libreadline8t64:arm64 (8.2-4build1) ...
Selecting previously unselected package libsqlite3-0:arm64.
Preparing to unpack .../02-libsqlite3-0_3.45.1-1ubuntu2.5_arm64.deb ...
Unpacking libsqlite3-0:arm64 (3.45.1-1ubuntu2.5) ...
Selecting previously unselected package gpgconf.
Preparing to unpack .../03-gpgconf_2.4.4-2ubuntu17.4_arm64.deb ...
Unpacking gpgconf (2.4.4-2ubuntu17.4) ...
Selecting previously unselected package libksba8:arm64.
Preparing to unpack .../04-libksba8_1.6.6-1build1_arm64.deb ...
Unpacking libksba8:arm64 (1.6.6-1build1) ...
Selecting previously unselected package dirmngr.
Preparing to unpack .../05-dirmngr_2.4.4-2ubuntu17.4_arm64.deb ...
Unpacking dirmngr (2.4.4-2ubuntu17.4) ...
Selecting previously unselected package gnupg-utils.
Preparing to unpack .../06-gnupg-utils_2.4.4-2ubuntu17.4_arm64.deb ...
Unpacking gnupg-utils (2.4.4-2ubuntu17.4) ...
Selecting previously unselected package gpg.
Preparing to unpack .../07-gpg_2.4.4-2ubuntu17.4_arm64.deb ...
Unpacking gpg (2.4.4-2ubuntu17.4) ...
Selecting previously unselected package pinentry-curses.
Preparing to unpack .../08-pinentry-curses_1.2.1-3ubuntu5_arm64.deb ...
Unpacking pinentry-curses (1.2.1-3ubuntu5) ...
Selecting previously unselected package gpg-agent.
Preparing to unpack .../09-gpg-agent_2.4.4-2ubuntu17.4_arm64.deb ...
Unpacking gpg-agent (2.4.4-2ubuntu17.4) ...
Selecting previously unselected package gpgsm.
Preparing to unpack .../10-gpgsm_2.4.4-2ubuntu17.4_arm64.deb ...
Unpacking gpgsm (2.4.4-2ubuntu17.4) ...
Selecting previously unselected package keyboxd.
Preparing to unpack .../11-keyboxd_2.4.4-2ubuntu17.4_arm64.deb ...
Unpacking keyboxd (2.4.4-2ubuntu17.4) ...
Selecting previously unselected package gnupg.
Preparing to unpack .../12-gnupg_2.4.4-2ubuntu17.4_all.deb ...
Unpacking gnupg (2.4.4-2ubuntu17.4) ...
Selecting previously unselected package gnupg-l10n.
Preparing to unpack .../13-gnupg-l10n_2.4.4-2ubuntu17.4_all.deb ...
Unpacking gnupg-l10n (2.4.4-2ubuntu17.4) ...
Selecting previously unselected package gpg-wks-client.
Preparing to unpack .../14-gpg-wks-client_2.4.4-2ubuntu17.4_arm64.deb ...
Unpacking gpg-wks-client (2.4.4-2ubuntu17.4) ...
Setting up libksba8:arm64 (1.6.6-1build1) ...
Setting up pinentry-curses (1.2.1-3ubuntu5) ...
Setting up libsqlite3-0:arm64 (3.45.1-1ubuntu2.5) ...
Setting up gnupg-l10n (2.4.4-2ubuntu17.4) ...
Setting up readline-common (8.2-4build1) ...
Setting up gnupg-utils (2.4.4-2ubuntu17.4) ...
Setting up libreadline8t64:arm64 (8.2-4build1) ...
Setting up gpgconf (2.4.4-2ubuntu17.4) ...
Setting up gpg (2.4.4-2ubuntu17.4) ...
Setting up gpg-agent (2.4.4-2ubuntu17.4) ...
Setting up gpgsm (2.4.4-2ubuntu17.4) ...
Setting up dirmngr (2.4.4-2ubuntu17.4) ...
Setting up keyboxd (2.4.4-2ubuntu17.4) ...
Setting up gnupg (2.4.4-2ubuntu17.4) ...
Setting up gpg-wks-client (2.4.4-2ubuntu17.4) ...
Processing triggers for libc-bin (2.39-0ubuntu8.7) ...
- installation summary:
- package name : rstream
- package channel : stable
- package version : latest
- os : ubuntu
- dist : noble
- arch : arm64
- installing apt-transport-https...
- apt-get update
Hit:1 http://ports.ubuntu.com/ubuntu-ports noble InRelease
Hit:2 http://ports.ubuntu.com/ubuntu-ports noble-updates InRelease
Hit:3 http://ports.ubuntu.com/ubuntu-ports noble-backports InRelease
Hit:4 http://ports.ubuntu.com/ubuntu-ports noble-security InRelease
Reading package lists... Done
- apt-get install -y -q apt-transport-https
Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
apt-transport-https
0 upgraded, 1 newly installed, 0 to remove and 4 not upgraded.
Need to get 3970 B of archives.
After this operation, 36.9 kB of additional disk space will be used.
Get:1 http://ports.ubuntu.com/ubuntu-ports noble-updates/universe arm64 apt-transport-https all 2.8.3 [3970 B]
Fetched 3970 B in 0s (50.5 kB/s)
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package apt-transport-https.
(Reading database ... 5360 files and directories currently installed.)
Preparing to unpack .../apt-transport-https_2.8.3_all.deb ...
Unpacking apt-transport-https (2.8.3) ...
Setting up apt-transport-https (2.8.3) ...
- importing rstream gpg key...
- install -m 0755 -d /etc/apt/keyrings
- chmod a+r /etc/apt/keyrings/rstream.gpg
- rstream gpg key imported to '/etc/apt/keyrings/rstream.gpg'
- installing '/etc/apt/sources.list.d/rstream.list' source file ...
- installing rstream...
- apt-get update
Get:1 https://debian.rstream.io/linux linux InRelease [66.3 kB]
Hit:2 http://ports.ubuntu.com/ubuntu-ports noble InRelease
Hit:3 http://ports.ubuntu.com/ubuntu-ports noble-updates InRelease
Hit:4 http://ports.ubuntu.com/ubuntu-ports noble-backports InRelease
Get:5 https://debian.rstream.io/linux linux/stable arm64 Packages [2424 B]
Hit:6 http://ports.ubuntu.com/ubuntu-ports noble-security InRelease
Fetched 68.7 kB in 0s (305 kB/s)
Reading package lists... Done
- apt-get install -y rstream
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
rstream
0 upgraded, 1 newly installed, 0 to remove and 4 not upgraded.
Need to get 8265 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 https://debian.rstream.io/linux linux/stable arm64 rstream arm64 1.5.1 [8265 kB]
Fetched 8265 kB in 0s (30.4 MB/s)
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package rstream.
(Reading database ... 5364 files and directories currently installed.)
Preparing to unpack .../rstream_1.5.1_arm64.deb ...
Unpacking rstream (1.5.1) ...
Setting up rstream (1.5.1) ...
- installation successful!
- further documentation :
https://rstream.io/docs
root@a11c63224a2b:/#For a live walkthrough, open the Web Remote Terminal demo.
Platform depth
Protocol coverage
Publish or privately dial web, stream, and datagram workloads through one access model, with managed STUN and TURN for real-time systems.
Web
Streams
Realtime
Security & observability
Authenticate people and machines, enforce edge policy, then trace connection decisions through logs, metrics, events, and signed webhooks.
Connection logs · Metrics · Signed webhooks
Remote operations
Reach WebTTY servers behind NAT from the browser, CLI, or an SDK while the remote machine keeps an outbound-only connection.
› rstream webtty client \
--url rstrm://edge-node
connected to edge-node
identity verified · session ready
› _
Optional E2E
No inbound port
Agent-native workflows
Give Codex, Claude Code, and other MCP clients scoped access to local services, remote machines, and device-local tools, with task cleanup attached.
Codex
Claude Code
rstream
MCP · Skills · SDKs
Local service
Remote machine
Device-local MCP
Bring rstream into the stack you already run through the CLI, Kubernetes Operator, run/watch controllers, or native SDKs. Every client runtime is open source and available for inspection. Explore the SDKs. Review the source. Read the specification.
Pricing
Ideal for individuals and small projects that need hosted access, WebTTY, and 24-hour logs.
Free
Designed for small teams requiring full protocol support, strong security controls, and support.
$49 / month
Limited launch offer — locked forever for early users
For organizations requiring dedicated capacity, workspace-level billing, protected data, audit, and source review.
Custom
Prices are listed in US dollars. Applicable taxes may be added. Invoices are provided in the dashboard after purchase. Delete a paid project from the dashboard to stop its future billing.
Compare managed plans, limits, and feature availability. View pricing.
Need to run entirely inside your own perimeter? The free Community Edition is available as a separate self-hosted runtime.
FAQ
For more detailed information, refer to the documentation.
CLI installation · View all methods
sudo /bin/bash -i -c "$(curl -fsSL https://rstream.io/scripts/install-debian.sh)"brew install rstreamlabs/rstream/rstreamwinget install --id rstream.rstream --exact --source winget