Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature] 关于反向代理2里的interconn、tunnel、portal的说明 #269

Open
feipinxiang opened this issue Jul 21, 2022 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@feipinxiang
Copy link

feipinxiang commented Jul 21, 2022

关联或新增的页面 / related page

reverse2.md

描述 / description of the feature

B 的配置实例里的rules部分的是两个注释是不是写反了?
如果是回国的话,interconn、tunnel、portal是分别对应国外客户端、国内客户端、中转服务器反代标签么?
这三个单词让我有点混乱,能解释下这三个单词分别代表什么意思么?
如果是回国的话文章里的C是国外端、B是外网服务器、A是国内端对吧?

"routing":{   
    "rules":[  
      {  //路由规则,接收 C 的请求后发给 A
        "type":"field",
        "inboundTag":[  
          "interconn"
        ],
        "outboundTag":"portal"
      },
      {  //路由规则,让 B 能够识别这是 A 主动发起的反向代理连接
        "type":"field",
        "inboundTag":[  
          "tunnel"
        ],
        "domain":[  
          "full:private.cloud.com" // 将指定域名的请求发给 A,如果希望将全部流量发给 A,这里可以不设置域名规则。
        ],
        "outboundTag":"portal"
      }
    ]
  }
@feipinxiang feipinxiang added the enhancement New feature or request label Jul 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant