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] Reverse API #417

Closed
tat5522 opened this issue Mar 21, 2021 · 2 comments · May be fixed by #440
Closed

[Feature] Reverse API #417

tat5522 opened this issue Mar 21, 2021 · 2 comments · May be fixed by #440
Labels
enhancement New feature or request

Comments

@tat5522
Copy link

tat5522 commented Mar 21, 2021

计划增加反向代理(ReverseObject)的API控制。预加入以下API

  rpc AddBridge(AddBridgeRequest) returns (AddBridgeResponse){}
  rpc RemoveBridge(RemoveBridgeRequest) returns (RemoveBridgeResponse){}
  rpc AddPortal(AddPortalRequest) returns (AddPortalResponse){}
  rpc RemovePortal(RemovePortalRequest) returns (RemovePortalResponse){}

由于Reverse运行的特殊性,故不支持动态修改Domain参数

添加此API后配合RoutingAPI可以做到动态加入无公网IP的设备做出口代理和内网穿透。

@JimhHan @RPRX @AkinoKaede

@AkinoKaede AkinoKaede added the enhancement New feature or request label Mar 21, 2021
tat5522 added a commit to tat5522/Xray-core that referenced this issue Mar 25, 2021
@AkinoKaede AkinoKaede linked a pull request Mar 28, 2021 that will close this issue
@tat5522
Copy link
Author

tat5522 commented Apr 23, 2021

rpc GetBridges(GetBridgesRequest) returns (GetBridgesResponse){}
rpc GetBridge(GetBridgeRequest) returns (GetBridgeResponse){}
rpc GetPortals(GetPortalsRequest) returns (GetPortalsResponse){}
rpc GetPortal(GetPortalRequest) returns (GetPortalResponse){}

新增并实现以上接口,用于获取当前的反向代理内容。

@2512500960
Copy link

这个功能增加了吗

@Fangliding Fangliding closed this as not planned Won't fix, can't repro, duplicate, stale Apr 8, 2024
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

Successfully merging a pull request may close this issue.

4 participants