mirror of
https://github.com/lush2020/edgetunnel.git
synced 2026-03-24 00:48:39 +08:00
enhance tunnel readme.
This commit is contained in:
@@ -4,6 +4,8 @@
|
||||
|
||||
虽然免费,但是申请 zero trust 需要绑定信用卡。
|
||||
|
||||
> 用人反馈不需要绑定信用卡,但是我是需要的。
|
||||
|
||||
需要一个**域名**,并且绑定到 Cloudflare。
|
||||
|
||||
## Cloudflare tunnels
|
||||
@@ -12,7 +14,7 @@
|
||||
|
||||
## 保存 Token
|
||||
|
||||
在创建时候,可以在 Tunnels 的页面中找到 Token。
|
||||
在创建时候,可以在 Tunnels 的页面中找到 Token。Token 是 `--token` 后面的字符串。就是图片中,用红色涂抹的部分。
|
||||

|
||||
|
||||
## 添加域名
|
||||
@@ -21,9 +23,19 @@
|
||||
|
||||
注意事项,
|
||||
|
||||
1. Service 配成自己 heroku 的名字, ***.herokuapp.com
|
||||
1. 定义一个自己的二级域名,不要和其他的二级域名冲突。
|
||||
|
||||
2. HTTP Host Header
|
||||
把自己 heroku 的名字, ***.herokuapp.com,添加进入,很重要。
|
||||
> 这个域名需要最后配置在 V2ray 客户端中。
|
||||
|
||||
2. Service 配成自己 heroku 的名字, \*\*\*.herokuapp.com
|
||||
|
||||
3. HTTP Host Header
|
||||
把自己 heroku 的名字, \*\*\*.herokuapp.com,添加进入,很重要。
|
||||
|
||||
然后把 Token 配置到 Github Action `HEROKU_TUNNEL_TOKEN` 就可以。剩下的配置,运行在 herokuapp 的 Cloudflared 会获取。
|
||||
|
||||
## v2rayN
|
||||
|
||||
其他配置和直接连接 herokuapp 是**一样的**,只需要把 v2rayN 的配置**地址改成你自己 tunnel 的域名**就可以。也就是你在设置 tunnel,添加的自己的域名。
|
||||
|
||||

|
||||
|
||||
BIN
readme-data/V2rayN-tunnel.jpg
Normal file
BIN
readme-data/V2rayN-tunnel.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 74 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 94 KiB After Width: | Height: | Size: 105 KiB |
Reference in New Issue
Block a user