Skip to content

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

@feipinxiang

Description

@feipinxiang

关联或新增的页面 / 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"
      }
    ]
  }

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions