Home
Softono

Tunl

Open source Apache-2.0 Go
22
Stars
5
Forks
4
Issues
1
Watchers
3 years
Last Commit

 About Tunl

Instantly expose local services to the internet

Platforms

Web Self-hosted Docker

Languages

Go

Need Help Installing Tunl?

We provide expert installation service for this software. Our team will install, configure, and secure Tunl on your server. plans start at just $30.

Tunl

With Tunl you can expose services on your localhost to the public via a fast and secure tunnel.

Expose local http process

$ tunl http localhost:3000
https://red-fox.tunl.es/ -> http://localhost:3000

Share a local directory

$ tunl files /dir
https://red-fox.tunl.es/ -> /dir

Expose a local MySQL

$ tunl tcp localhost:3306
tunl.es:89311 -> localhost:3306

Expose a service running in a docker container

$ tunl docker [container-name]:<port>
tunl.es:48221 -> <container-name>:<port>

Installation

Download the binary release and put it somewhere in your $PATH.

Basic

curl

# install it to ./bin/tunl
curl -fsSL https://get.tunl.es | sh
# install it to /sbin/tunl
curl -fsSL https://get.tunl.es | sudo sh -s -- -b /sbin

wget

# install it to ./bin/tunl
wget -qO- https://get.tunl.es | sh
# install it to /sbin/tunl
wget -qO- https://get.tunl.es | sudo sh -s -- -b /sbin

Arch Linux

yay tunl

Ubuntu

sudo snap install tunl --edge

Docker

docker run --rm --network=host -v $PWD:$PWD tunl/tunl

warning: this maps the current working directory and means files outside the current working directory cannot be shared