How to Install Inlets on Debian Latest

Inlets is a tool that connects local servers and devices to public cloud networks securely. It enables you to expose your local services to the internet without exposing your network or making any changes to your existing infrastructure. In this tutorial, we will show you how to install Inlets on Debian Latest.

Prerequisites

Before starting the installation process, please make sure you have the following prerequisites:

Step 1: Update the System

The first step is to update the system to the latest package versions. Open a terminal window and run the following command:

sudo apt update && sudo apt upgrade -y

This command will update the system and install any pending updates.

Step 2: Install Inlets

Inlets can be installed using the package manager or by downloading the binary from the Inlets website.

Method 1: Install Inlets using Package Manager

  1. Add the Inlets GPG key to the system:
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3C2E0AB6AA8234EF
  1. Add the Inlets repository to the sources list:
echo "deb https://dl.bintray.com/inlets/inlets-stable $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/inlets.list
  1. Update the sources list:
sudo apt update
  1. Install Inlets:
sudo apt install inlets

Method 2: Install Inlets Binary from the Website

  1. Download the Inlets binary:
wget https://github.com/inlets/inlets/releases/download/$(curl -s https://api.github.com/repos/inlets/inlets/releases/latest | grep tag_name | cut -d '"' -f 4)/inlets-pro 
  1. Make the binary executable:
chmod +x inlets-pro
  1. Move the binary to the /usr/local/bin directory:
sudo mv inlets-pro /usr/local/bin/inlets

Step 3: Connect to Inlets

After installing Inlets, you can connect to the Inlets server using the following command:

inlets client --remote=X.X.X.X:PORT --token=TOKEN --upstream=http://localhost:SERVICE_PORT

Replace the following variables with your own values:

Conclusion

In this tutorial, you have learned how to install Inlets on Debian Latest and connect to an Inlets server. You can now expose your local services to the internet securely and easily.

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!