Setting Up Remote Server With Cloudflare
Table of Contents
Setting up remote cloudflare server to connect host via remote device
Local Machine - The device in you have
Remote Machine - The server (preferably in your home)
Step 1: Installing Docker in Remote Machine
follow these instruction to install docker in remote machine Installing Docker
Step 2: Signing up, to cloudflare and setting up domain (local machine)
login to cloudflare dashboard via dash.cloudflare.com and an account via your email
NOTE: You need to have a domain with you to do all these btw…
Now press onboard domain and add the domain from your registrar to cloudflare, it might take some time to propagate the updates..
Step 3: Setting up zero trust
select the zero trust option from the selection tool from the left navigation bar, if ur first time here, it might ask for setting up an account and all, finish em..
now lets create a tunnel
Now select cloudflared from this
After this, give a name to your tunnel, and then:
Copy this line into the remote system, preferably via ssh from the local system, this will set up the SSH tunnel for the Cloudflare, now if you scroll down to the site you can see this connectiors part, wait for smthing to appear here, then continue
Then next..next and you will be back in the dashboard…
Step4: Now the final setting up the connection
So mee sleepy af, floow this chatgpt.com/share/settinup
yay you doneeee