Local Tunneling
Local Tunneling is a great way to bind a web service running on your localhost to a public endpoint. This is mainly useful when you want to expose the service running on your development machine to a dependent team member (like UI developers). In addition, this is quite helpful when you are developing a callback or a webhook to receive notifications from external services.
Tunneling with Beeceptor
Beeceptor enables this use-case by giving you a public URL on the Internet. All the requests hitting the Beeceptor endpoint will be routed to the local machine's port, and the response will be served back to the caller.
All of the requests and responses are visible on the endpoint dashboard as usual. Any request that gets matched up with a mocking rule will get a mocked response (i.e., it won't go through tunneling). The Beeceptor CLI is an easy-to-install developer tool that helps you connect your localhost port with Beeceptor's endpoint. It works on all platforms (macOS, Windows, Linux). You can install it using NPM or download it as an independent executable file.
Step 1: Enable tunneling
If you are on a Free plan, this step is not required. For convenience, Beeceptor CLI manages this for you.
Open the endpoint dashboard and enable tunneling for the endpoint.

Step 2: Installation
The Beeceptor CLI is a developer tool to help you connect the localhost port with Beeceptor's public endpoint. It is easy to install, and works on all platforms (macOS, Windows, and Linux). The Beeceptor CLI can be installed using NPM or downloaded as an independent executable file.
Option 1: Install via NPM (Node package manager)
You can install Beeceptor CLI using Node's package manager. It is published on NPM as beeceptor-cli. If you have NPM/NodeJs installed, copy and run the following command:
npm i beeceptor-cli -g
or
yarn global add beeceptor-cli
Refer to npmjs.com/package/beeceptor-cli for more details.
Option 2: Download standalone executable
You can download the Beeceptor CLI by clicking on the following links. Ensure that you pick the right platform.
Download Links
Decompress
The downloaded file is a tar.gz file. You can decompress it using the following command:
tar -xvf <path-to-tar-file.tag.gz>