Inlets is an open-source tool that provides an easy way to expose local services over the internet. It creates an encrypted tunnel between your local machine and a remote server, allowing you to access your local services from any device with an internet connection.
In this tutorial, you will learn how to install Inlets on EndeavourOS Latest. It requires a Linux machine with root access and connection to the internet.
To install Inlets on your local machine, you need to download the latest release from the official website. You can use the following command to download the latest version:
curl -sLS https://inletsctl.inlets.dev | sudo sh
This command will download the Inlets software and install it on your machine.
To expose your local services over the internet, you need to create a remote server that will act as a gateway for incoming connections. You can use any cloud hosting provider like AWS, Google Cloud, or DigitalOcean to create a remote server.
Once you have created a remote server, you need to note down its IP address and SSH credentials, which you will need in the next step.
After installing Inlets on your local machine and creating a remote server, you need to configure Inlets to create a tunnel between your local machine and the remote server. You can use the following command to configure Inlets:
inletsctl create \
--provider digitalocean \
--region nyc1 \
--size s-1vcpu-1gb \
--access-token $DIGITALOCEAN_TOKEN \
--ssh-key-fingerprint $DIGITALOCEAN_SSH_FINGERPRINT \
--remote "tcp://$REMOTE_IP:8080"
This command will create a tunnel between your local machine and the remote server. You need to replace the following variables with their respective values:
DIGITALOCEAN_TOKEN
: DigitalOcean Access TokenDIGITALOCEAN_SSH_FINGERPRINT
: DigitalOcean SSH Key FingerprintREMOTE_IP
: Remote Server IP AddressYou can modify the --provider
, --region
, and --size
parameters to match your remote server specifications.
After configuring Inlets, you can use any web browser to test if it is working. You need to enter the IP address of your remote server and the port number you specified in the previous step (8080 in this example).
For example, if your remote server IP address is 52.91.51.143
, you can access your local services by entering the following URL in your web browser:
http://52.91.51.143:8080
You should be able to access your local services from any device with an internet connection.
Inlets is a powerful tool that allows you to expose local services over the internet easily. By following this tutorial, you should be able to install Inlets on EndeavourOS Latest and configure it to create a tunnel between your local machine and 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!