cloudflared tunnel background start

Previous video link

The previous stage is started, this article refers to

cloudflared tunnel --url localhost:88 run ruoyu
或者
cloudflared tunnel --url localhost:88 --no-chunked-encoding run ruoyu

Find your uuid.json file

insert image description here

Create your config.yaml or config.yml

The content is as follows uuid configure your own

url: http://localhost:88
tunnel: eb946184-6099-40ec-9c5e-37d9e6111111
credentials-file:  /root/.cloudflared/eb946184-6099-40ec-9c5e-37d9e6111111.json

Install the service into the process

sudo cloudflared --config /root/.cloudflared/config.yaml   service install

background start

nohup cloudflared tunnel > tunnel.log 2>&1 &

Start the boot service

sudo systemctl enable cloudflared.service

insert image description here

Guess you like

Origin blog.csdn.net/qq_41638872/article/details/131610344