Explanation
How tunnels work
Follow a request from a public HTTPS address to a service on your network.
A tunnel gives a service on your machine or private network a public HTTPS address. The Femtoport agent runs where it can reach that service and opens an outbound connection to Femtoport. A visitor connects to the public address; Femtoport routes the connection to the agent, which serves or connects it to the configured target.
Visitor → public HTTPS address → Femtoport router → agent → local service
The router selects the tunnel using the hostname supplied in the visitor's TLS handshake (SNI). A tunnel has a Femtoport-assigned hostname; you can also attach a custom domain after setting up and verifying its DNS and certificate. The agent must be running and able to reach the target for the service to answer. The target can be on the agent's machine or elsewhere that the agent can reach, depending on the tunnel configuration.
The dashboard manages the tunnel configuration. The agent token identifies the agent to Femtoport and must be kept private; it is different from a visitor's password. The agent establishes its connection outward, so visitors do not need to connect directly to an inbound port on your private network.
A configured address alone does not guarantee availability. The tunnel must be enabled, an agent must be connected, the target must be working, and the workspace must have usable traffic allowance and active service access. A custom domain also needs working DNS and a ready certificate. If one of these conditions changes, the address can remain the same while the service is unavailable.
For a practical walkthrough, start with your first tunnel. For specific tasks, see the how-to guides.