Host site from a local pc/device to internet over cloudflared

22 Янв

Go to https://one.dash.cloudflare.com/networks/tunnels
Networks -> Tunnels -> Create a tunnel
Select your tunnel type:
Cloudflared

Enter the name of your tunnel. Done.

Choose your environment and architecture. Then you will get a generated command to install your cloudflared service on your device.

Set your Public hostname from tab «Public hostnames».

Set up your dns servers from cloudflare for your domain.

Bash:

# for vmware tootls #
apt-get install open-vm-tools
 
apt update
apt upgrade
wget https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-amd64.deb
dpkg -i cloudflared-linux-amd64.deb
sudo cloudflared service install eyJGkeiOEWFlMjY0OWI1YTU1YjFlZThjMDlhYTU2OTk3ODMxFEew3367uGJMTQ4Y2M4ZjAtNjU3ZS00MzViLThkYzQtNTkwYjBkYjVjZjUyIiwicyI6IlpqQXlOekEzTldRdFee234zAwTkRZMUxXSTJOVFV0TXpOa1pqWXpNak5qFe33GET

Sources:


https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/configure-tunnels/local-management/as-a-service/linux/

Rating of article:
[Total: 0 Average: 0]

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *

Этот сайт использует Akismet для борьбы со спамом. Узнайте, как обрабатываются ваши данные комментариев.