However, its neither secure nor recommended to access a server that way in a production environment.
What is Cloudflare Tunnel?
Then bring up the Command Prompt and navigate to the location where the cloudflared daemon is located using thecdcommand.
For instance:
Then fire off the following commands to check the version and plant the latest update.
If you see an output as shown in the screenshot below, you are good to go.
Then initiate the Terminal app, navigate to the location where the package is downloaded, and install it.
To check for the latest unofficial versions for Raspberry Pi, check out theARMv6 builds page.
Once authorized, you will see the “You have successfully logged in…” message.
The command will create a tunnel and also a JSON file with a unique alphanumeric tunnel UUID.
check that to replace the TunnelUUID and the JSON file path in thecredentials-filecode line.
PressCTRL + XorCommand + X(macOS) and then theYkey followed byEnterto save the changes in theconfig.ymlfile.
ClickViewin the File Explorer and enable theFile name extensionsoption.
Then edit the text document namedconfig.yml.
Simply, copy the first two lines below theingress:code line and paste them before the-service: http_status:404.
See an example below.
If you see a similar output as in the screenshot above, the tunnel has started successfully.
For this case, itsmyhome.smartghar.org.