Subscribe Us

LightBlog

Breaking

LightBlog

Tuesday, October 4, 2022

How To Install Cloudflare In Termux

             HOW TO INSTALL & SETUP CLOUDFLARED IN TERMUX

                |PORT FORWARDING WITH CLOUDFLARED | INSTALL CLOUDFLARE


#CyberDomeYT

                                WATCH TUTORIAL


What is Cloudflare: 

Cloudflared is the best ngrok alternative. cloudflared is a way for us to expose our Termux local network globally. Like we could make our phishing links available globally with cloudflared.

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

Cloudflared was founded in 2009 by Lee Holloway and Matthew Prince. It was initially called 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, making it an attractive option for small businesses and individual bloggers. Cloudflared also offers a paid plan that includes additional features such as website malware protection and the ability to ban IP addresses.


What is Port Forwarding :

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


MANUAL INSTALLATION

Step_ 1:- Now open the termux application and update the termux packages

pkg update && pkg upgrade -y

Step_ 2:- Installing the new wget package in termux wget is a Linux command line tool that can be used to download files or entire web pages. It is a very versatile tool and can be used for various purposes like downloading files for offline use, mirroring websites, or downloading data from websites.

pkg install wget git -y

Step_ 3:- Now open your web browser and open a new website whose link is given below.

 CloudFlared

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


Step_ 4:- Open termux again and enter the command below to install Cloudflared-linux-arm in termux. and paste copy url / link termux

In command Step 1st In place of COPIED_URL, paste the URL you copied in step 3 and press Enter.

wget <COPIED_URL>



Step_ 5:- Make the file Executable Permission for easy use.

chmod +x cloudflared-linux-arm64

Using CloudFlared :

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

./cloudflared-linux-arm http 4444
./cloudflared-linux-arm tunnel --url 127.0.0.1:4444

You can use any port number in place of 4444 and the rest will remain the same as in the command.


After executing the last command, you will get the desired link inside the box ending with trycloudflare.com.
Now you can send this link to anyone to access your locally hosted website.

1 comment:

Search here..

Adbox