Skip to content

Commit e78c563

Browse files
committed
update
1 parent 853d324 commit e78c563

File tree

4 files changed

+86
-16
lines changed

4 files changed

+86
-16
lines changed

README.md

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,24 @@ Description:
400400

401401
5.`#` at the beginning of the comment.
402402

403-
### 12. Client IP Blacklist and Whitelist
403+
### 12. Port Black List
404+
405+
socks/http(s)/sps proxy all support port blacklist.
406+
407+
Use the `--stop-port` parameter to specify a port blacklist file, then when the user connects to the ports in the file, the connection can be made.
408+
409+
The port blacklist file content format is as follows:
410+
411+
```text
412+
3306
413+
22
414+
```
415+
416+
Note:
417+
1. One port per line.
418+
2. The ones starting with `#` are comments.
419+
420+
### 13. Client IP Blacklist and Whitelist
404421

405422
socks/http(s)/sps/tcp/udp/dns/ intranet penetration bridge/intranet penetration tbridge, support client IP black and white list.
406423

@@ -424,7 +441,7 @@ Description:
424441

425442
2.`#` at the beginning of the comment.
426443

427-
### 13. Protocol loading file
444+
### 14. Protocol loading file
428445

429446
There are many places in the proxy's various proxy functions to set a file. For example: --blocked Specifies a domain name list file that goes directly to the upper level. The parameter value is the path of the file.
430447

@@ -437,11 +454,11 @@ b. "str://" at the beginning of the English comma separated multiple, such as: s
437454
The proxy's blocked, direct, stop, only, hosts, resolve.rules, rewriter.rules, ip.allow, ip.deny files support protocol loading.
438455

439456

440-
### 14.Concurrent client connections
457+
### 15. Concurrent client connections
441458

442459
socks5\sps\http proxies, the parameter that controls the number of concurrent client connections is: `--max-conns-rate`, which controls the maximum number of client connections per second, default: 20, 0 is unlimited
443460

444-
### 15 Listen on multiple ports
461+
### 16. Listen on multiple ports
445462

446463
"tcp / http / socks / sps" supports listen on multiple ports and range ports.
447464
Under normal circumstances, it is sufficient to listen on one port, but if you need to listen on multiple ports, the -p parameter is supported.

README_ZH.md

Lines changed: 22 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,25 @@ a.com
453453

454454
5.`#`开头的为注释。
455455

456-
### 12. 客户端IP黑白名单
456+
### 12. 端口黑名单
457+
458+
socks/http(s)/sps代理都支持端口黑名单。
459+
460+
用--stop-port参数指定一个端口黑名单列表文件,那么当用户连接文件里面这些端口的时候连接就会被断开。
461+
462+
端口黑名单文件内容格式如下:
463+
464+
```text
465+
3306
466+
22
467+
```
468+
469+
说明:
470+
471+
1.一行一个端口。
472+
2.`#`开头的为注释。
473+
474+
### 13. 客户端IP黑白名单
457475

458476
socks/http(s)/sps/tcp/udp/dns/内网穿透bridge/内网穿透tbridge,都支持客户端IP黑白名单。
459477

@@ -477,7 +495,7 @@ socks/http(s)/sps/tcp/udp/dns/内网穿透bridge/内网穿透tbridge,都支持
477495

478496
2.`#`开头的为注释。
479497

480-
### 13. 协议加载文件
498+
### 14. 协议加载文件
481499

482500
proxy的各种代理功能里面很多地方都有参数设置一个文件,比如:--blocked 指定一个直接走上级的域名列表文件,参数值是文件的路径,
483501

@@ -489,11 +507,11 @@ b.”str://“开头的英文逗号分割的多个,比如:str://xxx,yyy
489507

490508
proxy的blocked,direct,stop,only,hosts,resolve.rules,rewriter.rules,ip.allow,ip.deny 文件支持协议加载。
491509

492-
### 14. 客户端并发连接数
510+
### 15. 客户端并发连接数
493511

494512
socks5\sps\http代理,控制客户端并发连接数参数是:`--max-conns-rate`,控制每秒客户端的最大连接数,默认20, 0为不限制.
495513

496-
### 15 监听多个端口
514+
### 16. 监听多个端口
497515

498516
`tcp/http/socks/sps`支持同时监听多个端口以及范围端口。 一般情况下监听一个端口就可以,不过如果需要同时监听多个两个端口,或者范围端口,那么-p参数是支持的,
499517
格式是:`-p 0.0.0.0:80,0.0.0.0:443,0.0.0.0:8000-9000,:5000-6000`,多个绑定用逗号分隔即可。

docs/manual/manual.md

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,24 @@ Description:
202202

203203
5.`#` at the beginning of the comment.
204204

205-
### 12. Client IP Blacklist and Whitelist
205+
### 12. Port Black List
206+
207+
socks/http(s)/sps proxy all support port blacklist.
208+
209+
Use the `--stop-port` parameter to specify a port blacklist file, then when the user connects to the ports in the file, the connection can be made.
210+
211+
The port blacklist file content format is as follows:
212+
213+
```text
214+
3306
215+
22
216+
```
217+
218+
Note:
219+
1. One port per line.
220+
2. The ones starting with `#` are comments.
221+
222+
### 13. Client IP Blacklist and Whitelist
206223

207224
socks/http(s)/sps/tcp/udp/dns/ intranet penetration bridge/intranet penetration tbridge, support client IP black and white list.
208225

@@ -226,7 +243,7 @@ Description:
226243

227244
2.`#` at the beginning of the comment.
228245

229-
### 13. Protocol loading file
246+
### 14. Protocol loading file
230247

231248
There are many places in the proxy's various proxy functions to set a file. For example: --blocked Specifies a domain name list file that goes directly to the upper level. The parameter value is the path of the file.
232249

@@ -239,11 +256,11 @@ b. "str://" at the beginning of the English comma separated multiple, such as: s
239256
The proxy's blocked, direct, stop, only, hosts, resolve.rules, rewriter.rules, ip.allow, ip.deny files support protocol loading.
240257

241258

242-
### 14.Concurrent client connections
259+
### 15. Concurrent client connections
243260

244261
socks5\sps\http proxies, the parameter that controls the number of concurrent client connections is: `--max-conns-rate`, which controls the maximum number of client connections per second, default: 20, 0 is unlimited
245262

246-
### 15 Listen on multiple ports
263+
### 16. Listen on multiple ports
247264

248265
"tcp / http / socks / sps" supports listen on multiple ports and range ports.
249266
Under normal circumstances, it is sufficient to listen on one port, but if you need to listen on multiple ports, the -p parameter is supported.

docs/manual/zh/manual.md

Lines changed: 22 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,25 @@ a.com
226226

227227
5.`#`开头的为注释。
228228

229-
### 12. 客户端IP黑白名单
229+
### 12. 端口黑名单
230+
231+
socks/http(s)/sps代理都支持端口黑名单。
232+
233+
用--stop-port参数指定一个端口黑名单列表文件,那么当用户连接文件里面这些端口的时候连接就会被断开。
234+
235+
端口黑名单文件内容格式如下:
236+
237+
```text
238+
3306
239+
22
240+
```
241+
242+
说明:
243+
244+
1.一行一个端口。
245+
2.`#`开头的为注释。
246+
247+
### 13. 客户端IP黑白名单
230248

231249
socks/http(s)/sps/tcp/udp/dns/内网穿透bridge/内网穿透tbridge,都支持客户端IP黑白名单。
232250

@@ -250,7 +268,7 @@ socks/http(s)/sps/tcp/udp/dns/内网穿透bridge/内网穿透tbridge,都支持
250268

251269
2.`#`开头的为注释。
252270

253-
### 13. 协议加载文件
271+
### 14. 协议加载文件
254272

255273
proxy的各种代理功能里面很多地方都有参数设置一个文件,比如:--blocked 指定一个直接走上级的域名列表文件,参数值是文件的路径,
256274

@@ -262,11 +280,11 @@ b.”str://“开头的英文逗号分割的多个,比如:str://xxx,yyy
262280

263281
proxy的blocked,direct,stop,only,hosts,resolve.rules,rewriter.rules,ip.allow,ip.deny 文件支持协议加载。
264282

265-
### 14. 客户端并发连接数
283+
### 15. 客户端并发连接数
266284

267285
socks5\sps\http代理,控制客户端并发连接数参数是:`--max-conns-rate`,控制每秒客户端的最大连接数,默认20, 0为不限制.
268286

269-
### 15 监听多个端口
287+
### 16. 监听多个端口
270288

271289
`tcp/http/socks/sps`支持同时监听多个端口以及范围端口。 一般情况下监听一个端口就可以,不过如果需要同时监听多个两个端口,或者范围端口,那么-p参数是支持的,
272290
格式是:`-p 0.0.0.0:80,0.0.0.0:443,0.0.0.0:8000-9000,:5000-6000`,多个绑定用逗号分隔即可。

0 commit comments

Comments
 (0)