Cloudflare Zero Trust:Cloudflare Tunnel使用教程

感谢分享

感谢大佬!

使用tunnel的教程很多,但是如何在使用tunnel的同时搭配saas进行优选的教程却很少,好像是需要在创建隧道的时候选本地隧道

科普贴,赞一个

楼主这教学太好了, 大大的赞

想知道这个和wrap的区别,以及和普通clash的tizi的区别,谢谢大佬们

mark

ssh 与tcp 太不方便,有什么好办法吗

还有个技巧,如果要转发SSH和RDP协议的应用,需要加这个配置。
只是说服务都会是443端口(走HTTPS流量)

没有这个

教程很详细 收藏了

这个666,回去试试

#Cloudflare添加

怎么看着像内网穿透

已经用上了,感谢!

马克

可以 绕过备案了

问题来了,如果要代理多个端口,就要多配置几个tunnel么?

学习了,mark

我的日誌如下,
2024-07-04T17:47:46Z INF Starting tunnel tunnelID=ec3baf28-4a26-466a-b82b-6fb733f91fbd

2024-07-04T17:47:46Z INF Version 2024.6.1

2024-07-04T17:47:46Z INF GOOS: darwin, GOVersion: go1.22.2-devel-cf, GoArch: amd64

2024-07-04T17:47:46Z INF Settings: map[token:*****]

2024-07-04T17:47:46Z INF cloudflared will not automatically update if installed by a package manager.

2024-07-04T17:47:46Z INF Generated Connector ID: b6928282-0f30-47ea-aca3-c5eb507e8b86

2024-07-04T17:47:46Z INF Initial protocol quic

2024-07-04T17:47:46Z INF ICMP proxy will use 198.18.0.1 as source for IPv4

2024-07-04T17:47:46Z INF ICMP proxy will use ::1 in zone lo0 as source for IPv6

2024-07-04T17:47:46Z INF Created ICMP proxy listening on 198.18.0.1:0

2024-07-04T17:47:46Z INF Created ICMP proxy listening on [::1]:0

2024-07-04T17:47:47Z INF Starting metrics server on 127.0.0.1:55528/metrics

2024-07-04T17:47:48Z INF Registered tunnel connection connIndex=0 connection=6ebd2027-4de8-4c41-a51c-1cbab1ee7105 event=0 ip=198.41.200.233 location=lax06 protocol=quic

2024-07-04T17:47:49Z INF Registered tunnel connection connIndex=1 connection=38262cff-c1d0-405f-905f-62ba6f1d3f50 event=0 ip=198.41.192.167 location=lax09 protocol=quic

2024-07-04T17:47:50Z INF Registered tunnel connection connIndex=2 connection=473a2c2c-9c77-47ea-b493-2801844e99fe event=0 ip=198.41.192.227 location=lax05 protocol=quic

2024-07-04T17:47:51Z INF Registered tunnel connection connIndex=3 connection=b026dac7-af9f-4695-9f60-600b3d9bdbde event=0 ip=198.41.200.63 location=lax06 protocol=quic

2024-07-04T17:49:22Z INF Updated to new configuration config=“{"ingress":[{"hostname":"turbo857.cloudns.ch","originRequest":{"proxyType":""},"service":"http://localhost:3000"},{"service":"http_status:404"}],"warp-routing":{"enabled":false}}” version=1

狀態的話如下圖,


直接訪問不了,一開始還可以解析,後面好像解析都沒了,本地服務是http的,請問是什麼情況。