How to Install Inlets on macOS

Inlets is a tool that enables you to expose your local services to the internet securely. In this tutorial, we'll go through the steps to install Inlets on macOS.

Prerequisites

Before you start, you'll need to have the following:

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Installation

  1. Open a terminal on your macOS machine.
  2. Run the following command to install Inlets:
brew install inlets
  1. Wait for the installation to complete.

That's it! Inlets is now installed on your macOS machine.

Usage

To use Inlets, you need to have a remote server that will act as a gateway. You can use any cloud provider, such as DigitalOcean or AWS, to set up a server.

Once you have a remote server set up, you can use Inlets to expose your local services to the internet securely.

Here's an example command that you can use:

inlets client --remote "wss://example.com:443" --upstream "http://localhost:8080" --token "YOUR_TOKEN"

Replace example.com with your server's public IP address or domain name, and YOUR_TOKEN with a shared secret token that you choose.

Congratulations! You have successfully installed Inlets on your macOS machine and can now securely expose your local services to the internet using a remote server.

If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!

Alternatively, for the best virtual desktop, try Shells!