A-ads

How to setup cloudflared in termux | port forwarding with cloudflared

 Hey guys welcome to our another useful blog post.If you are a regular visitor of our blog website then you definitely know about ngrok. a cross-platform  that is used to expose the local server ports on the world wide Web. Cloudflared is just like ngrok.You can also use Cloudflared for port forwarding.So in this tutorial we are going to learn that how we can install and use Cloudflared in termux in a very simple way.We will also learn how we can create tunnels using Cloudflared.

How to setup cloudflared in termux | port forwarding with cloudflared

WhatsApp hacking tool for Termux

What is cloudflare

Cloudflare is a web performance and security company. They provide a content delivery network, DDoS protection, web security and DNS services.

Cloudflare was founded in 2009 by Lee Holloway and Matthew Prince. It was originally named Project Honey Pot, but the name was changed to Cloudflare in 2010. The company has been profitable since 2014.

Cloudflare’s basic service is free, which makes it an attractive option for small businesses and individual bloggers. Cloudflare also offers a paid plan that includes additional features, such as website malware protection and the ability to blacklist IP addresses.

What is port forwarding

Port forwarding is a process that allows remote computers to connect to a specific computer or service on a local network. This is done by forwarding traffic from one port on the router to another port on the target machine.

How to install Cloudflared in termux

Here we are going to learn that how we can install Cloudflared in termux . Installing Cloudflared in termux is quite easy so follow the steps given below step by step.

Step1

Now open the termux application and update the termux packages
 

Step2

 Install a New package wget in termux.wget is a Linux command-line utility that can be used to download files or entire websites. It is a very versatile tool, and can be used for a variety of purposes such as downloading files for offline use, mirroring websites, or scraping data from websites.

Step3

Now open your web browser and open a new site whose link is  given below.


How to setup cloudflared in termux | port forwarding with cloudflared

Just copy and paste the link on your browser and hit enter.Go to the Assets and here you will find different Cloudflared files for different types of CPU.Search for "cloudflared-linux-arm" ,tap and hold it then copy its link address.

Step4

Again open your termux application and enter the command given below to install Cloudflared-linux-arm in termux.

The Syntex is "wget <link>"

Step5

Allow the file to be executable so that it can be used easily.


Step6

Now turn on your mobile Hotspot and copy paste the given command on Termux to expose your localhost through Cloudflared.


In our case we are forwarding the port number 8080 you can use any other port number.
How to setup cloudflared in termux | port forwarding with cloudflared



After executing the last command you will get the required link inside the box ends with trycloudflare.com.
Now you can send this link to anyone so they can access your locally hosted webpage.

Alternative method

This alternative method is also easy and simple,all necessary steps are given below

Commands





Usage
Turn on your mobile Hotspot and use the given Syntex

Cloudflare http <port>

As instance ,to forward the 4040 port use the command



Conclusion

Ngrok is a popular port forwarding platform But nowadays some people are having problems using it. So you can use Cloudflared as an alternative of ngrok.Cloudflared doesn't require to create any account on it to use for port forwarding purpose, unlike ngrok.If you have any problems using it, you can leave us a comment without any hesitation I will be happy to reply your questions.



Post a Comment

1 Comments

  1. Bro how to use cloudflare for cameras hacking on termux using link

    ReplyDelete