Skip to content

Commit adb1f2d

Browse files
committed
README: Update.
1 parent ae19964 commit adb1f2d

File tree

1 file changed

+21
-5
lines changed

1 file changed

+21
-5
lines changed

README.md

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,13 @@ ndk-build
6363

6464
```yaml
6565
main:
66+
# Worker threads
6667
workers: 1
6768

6869
socks5:
70+
# Socks5 server port
6971
port: 1080
72+
# Socks5 server address
7073
address: 127.0.0.1
7174
# Socks5 UDP relay mode (tcp|udp)
7275
udp: 'udp'
@@ -82,11 +85,15 @@ socks5:
8285
mark: 0x438
8386

8487
tcp:
88+
# TCP port
8589
port: 1088
90+
# TCP address
8691
address: '::'
8792

8893
udp:
94+
# UDP port
8995
port: 1088
96+
# UDP address
9097
address: '::'
9198

9299
# Proxy DNS for bridged mode
@@ -100,12 +107,21 @@ dns:
100107
upstream: 127.0.0.1
101108

102109
#misc:
103-
# task-stack-size: 16384 # task stack size (bytes)
104-
# connect-timeout: 10000 # connect timeout (ms)
105-
# read-write-timeout: 300000 # read-write timeout (ms)
106-
# log-file: stderr # stdout or file-path
107-
# log-level: warn # debug, info or error
110+
# task stack size (bytes)
111+
# task-stack-size: 16384
112+
# udp recv buffer size (bytes)
113+
# udp-recv-buffer-size: 1048576
114+
# connect timeout (ms)
115+
# connect-timeout: 10000
116+
# read-write timeout (ms)
117+
# read-write-timeout: 300000
118+
# stdout, stderr or file-path
119+
# log-file: stderr
120+
# debug, info, warn or error
121+
# log-level: warn
122+
# If present, run as a daemon with this pid file
108123
# pid-file: /run/hev-socks5-tproxy.pid
124+
# If present, set rlimit nofile; else use default value
109125
# limit-nofile: 65535
110126
```
111127

0 commit comments

Comments
 (0)