https://github.com/rust-net/remote-bind
551
Github: https://github.com/rust-net/remote-bind
docker run -d --name="rbs" --net="host" --restart="always" imgxx/remote-bind server [port] [password]
docker run -d --name="rbc" --net="host" --restart="always" imgxx/remote-bind client [server:port] [bind_port] [password] [local_service:port]
docker run -d --name="rbc" --net="host" --restart="always" imgxx/remote-bind client p2p [server:port] [bind_port] [local_listen:port]
docker run -d --name="oneport" --net="host" --restart="always" -v ./config.yml:/config.yml imgxx/remote-bind oneport -c /config.yml
config.yml:
config:
# 监听地址
listen: 0.0.0.0:1111
# 热重启接口
# api: 127.0.0.111:11111
rules:
# 字符串匹配
- rule: GET /oneport/status
address: 127.0.0.111:11111
# 首字节匹配
- rule: 3
address: 127.0.0.1:3389
# 多字节匹配
- rule: [0x53, 0x53]
address: 127.0.0.1:22
# 内置规则
- rule: $SSH
address: 127.0.0.1:22
# 内置规则可能是多个规则的集合,比如 $HTTP 匹配 GET、POST 等多个字符串
- rule: $HTTP
address: 127.0.0.1:80
# 通配规则
- rule: []
address: 127.0.0.1:4444
Content type
Image
Digest
sha256:bc9992726…
Size
4.7 MB
Last updated
over 1 year ago
docker pull imgxx/remote-bind