Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
snail007 committed Aug 31, 2024
1 parent 853d324 commit e78c563
Show file tree
Hide file tree
Showing 4 changed files with 86 additions and 16 deletions.
25 changes: 21 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,24 @@ Description:

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

### 12. Client IP Blacklist and Whitelist
### 12. Port Black List

socks/http(s)/sps proxy all support port blacklist.

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.

The port blacklist file content format is as follows:

```text
3306
22
```

Note:
1. One port per line.
2. The ones starting with `#` are comments.

### 13. Client IP Blacklist and Whitelist

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

Expand All @@ -424,7 +441,7 @@ Description:

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

### 13. Protocol loading file
### 14. Protocol loading file

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.

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


### 14.Concurrent client connections
### 15. Concurrent client connections

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

### 15 Listen on multiple ports
### 16. Listen on multiple ports

"tcp / http / socks / sps" supports listen on multiple ports and range ports.
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.
Expand Down
26 changes: 22 additions & 4 deletions README_ZH.md
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,25 @@ a.com

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

### 12. 客户端IP黑白名单
### 12. 端口黑名单

socks/http(s)/sps代理都支持端口黑名单。

用--stop-port参数指定一个端口黑名单列表文件,那么当用户连接文件里面这些端口的时候连接就会被断开。

端口黑名单文件内容格式如下:

```text
3306
22
```

说明:

1.一行一个端口。
2.`#`开头的为注释。

### 13. 客户端IP黑白名单

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

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

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

### 13. 协议加载文件
### 14. 协议加载文件

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

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

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

### 14. 客户端并发连接数
### 15. 客户端并发连接数

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

### 15 监听多个端口
### 16. 监听多个端口

`tcp/http/socks/sps`支持同时监听多个端口以及范围端口。 一般情况下监听一个端口就可以,不过如果需要同时监听多个两个端口,或者范围端口,那么-p参数是支持的,
格式是:`-p 0.0.0.0:80,0.0.0.0:443,0.0.0.0:8000-9000,:5000-6000`,多个绑定用逗号分隔即可。
Expand Down
25 changes: 21 additions & 4 deletions docs/manual/manual.md
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,24 @@ Description:

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

### 12. Client IP Blacklist and Whitelist
### 12. Port Black List

socks/http(s)/sps proxy all support port blacklist.

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.

The port blacklist file content format is as follows:

```text
3306
22
```

Note:
1. One port per line.
2. The ones starting with `#` are comments.

### 13. Client IP Blacklist and Whitelist

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

Expand All @@ -226,7 +243,7 @@ Description:

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

### 13. Protocol loading file
### 14. Protocol loading file

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.

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


### 14.Concurrent client connections
### 15. Concurrent client connections

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

### 15 Listen on multiple ports
### 16. Listen on multiple ports

"tcp / http / socks / sps" supports listen on multiple ports and range ports.
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.
Expand Down
26 changes: 22 additions & 4 deletions docs/manual/zh/manual.md
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,25 @@ a.com

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

### 12. 客户端IP黑白名单
### 12. 端口黑名单

socks/http(s)/sps代理都支持端口黑名单。

用--stop-port参数指定一个端口黑名单列表文件,那么当用户连接文件里面这些端口的时候连接就会被断开。

端口黑名单文件内容格式如下:

```text
3306
22
```

说明:

1.一行一个端口。
2.`#`开头的为注释。

### 13. 客户端IP黑白名单

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

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

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

### 13. 协议加载文件
### 14. 协议加载文件

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

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

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

### 14. 客户端并发连接数
### 15. 客户端并发连接数

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

### 15 监听多个端口
### 16. 监听多个端口

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

0 comments on commit e78c563

Please sign in to comment.