Tunnels and port forwarding

Reach a service on the server from your phone, or the other way round, through the SSH connection.

← All documentation

A tunnel carries a port through the SSH connection, encrypted, without opening anything in the firewall.

Local

The usual case: a service that only listens inside the server, such as a database or a web panel on localhost:8080. A local tunnel brings it to a port on your device, and another app — a browser, a database client — connects to it as if it were here.

Remote

The reverse: something on your device becomes available on a port of the server.

Create one

From the session menu, at the top right, Port forwarding → New tunnel. Choose the type, the port on each side and a name. The tunnel uses the same connection as the terminal and the files, and is saved for next time.