Description
otunnel is a single-file peer-to-peer tunnel tool that connects a port on one machine to a port on another, even when one is behind a private network. The README describes it as a bidirectional secure tunnel with a simple command line. You can expose a local SSH or HTTP service to a team on the public internet, debug a remote internal service from your own machine, or open several tunnels at once. The server side runs as listen and the client side runs as connect, using the same syntax. Each mapping is written as a -t option: reverse mappings publish a local port on the server, and forward mappings make a remote port reachable locally. The README gives examples for each case, and shows how to combine a reverse and a forward mapping in one connection. The project provides binaries for Linux, macOS and Windows on its GitHub Releases page, and you can build all supported platforms from source. The repository includes a CI workflow that runs tests and builds on push and pull request. Example systemd unit files and a Docker setup are also in the README. The documentation is on the project's wiki, and the source is public on GitHub under the ooclab organization. It suits developers who need a quick, scriptable way to reach a service behind a firewall.…
Highlights
- Single binary and single command line
- Reverse and forward port mappings
- Several tunnels in one connection
- Systemd and Docker examples
Ratings & Reviews
No ratings yet
Be the first to rate Otunnel.
People also visit
sish
HTTP(S)/WS(S)/TCP tunnels to localhost using only SSH (serveo/ngrok alternative)
Otunnel FAQ
What is otunnel?
It is a single-file tool that connects a port on one machine to a port on another, so you can reach a service behind a firewall.
How do I start one?
Run the listen server on a public machine and connect a client from your local machine with the same server address and secret, as shown in the 30-second quick start.
Which platforms are supported?
Binaries are published on GitHub Releases for Linux, macOS and Windows. You can also build from source.
Where are the docs?
The project has a wiki on GitHub, and the README is in Chinese with an English language link.
What are the best Otunnel alternatives?
Popular alternatives to Otunnel include Tunnet, Lantunnel and OpenIoTHub. See all Otunnel alternatives


