Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
rawidN committed Dec 19, 2019
1 parent 7ac1f59 commit bf51b17
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion docs/configration/reverse.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ reverse:
value: 127.0.0.1
ttl: 60
rmi:
enabled: false
enabled: true
listen_ip: 127.0.0.1
listen_port: ""
client:
Expand Down Expand Up @@ -81,10 +81,14 @@ reverse:
```yaml
reverse:
http:
enabled: true
listen_ip: 192.168.1.2
dns:
enabled: true
listen_ip: 192.168.1.2
rmi:
enabled: true
listen_ip: 192.168.1.2
```

扫描期间,用于连接反连平台的 url 将为 `http://192.168.1.2:24678/url`。
Expand All @@ -98,13 +102,18 @@ reverse:
```yaml
reverse:
http:
enabled: true
listen_ip: 0.0.0.0
dns:
enabled: true
listen_ip: 0.0.0.0
rmi:
enabled: true
listen_ip: 0.0.0.0
client:
http_base_url: "http://100.1000.100.100:${port}"
dns_server_ip: "100.1000.100.100"
rmi_server_addr: "rmi://100.1000.100.100:${port}"
```

如果将使用域名代替 ip 地址,对照替换即可。
Expand All @@ -128,6 +137,9 @@ reverse:
enabled: true
listen_ip: 0.0.0.0
domain: "domain.com"
rmi:
enabled: true
listen_ip: 0.0.0.0
```

对于扫描器端,配置如下。
Expand All @@ -139,9 +151,12 @@ reverse:
enabled: false
dns:
enabled: false
rmi:
enabled: false
client:
http_base_url: "http://100.100.100.100:80"
dns_server_ip: "100.100.100.100"
rmi_server_addr: "rmi://100.100.100.100:${port}"
remote_server: true
```

Expand Down

0 comments on commit bf51b17

Please sign in to comment.