Bore is presented as an alternative to localtunnel and ngrok. It is crafted in Rust, utilizing tokio as its dependency.
Installation options include using cargo
, downloading prebuilt binaries from the release page, or my preferred method, utilizing Docker.
Client
Expose your localhost on a specific port and obtain a random port from bore.pub
with the following command:
Alternatively, you can specify a port using the --port
option, except it will fail if the port is not available.
Server
For self-hosting the service you can using the same image.
Then simply change the --to
value to your domain from the client-side.
It’s important to note that Bore doesn’t retain the original Host
header. If you are tunneling a localhost service with a custom domain, such as mysite.localhost
, there may be compatibility issues.
For more in-depth information, please visit their github.