-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsimple-zroxy.conf
57 lines (47 loc) · 1.38 KB
/
simple-zroxy.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# set log level
# log level 0 -> LOG_TRACE, 1 -> LOG_DEBUG,
# 2 -> LOG_INFO, 3 -> LOG_WARN,
# 4 -> LOG_ERROR, 5 -> LOG_FATAL
# pattern: log = <log level>
# example: log = 3
log = 2
# sni server set bind ip and port.
# pattern: port = <bind ip>:<local port>@<remote port>
# example: port = 127.0.0.1:8080@80,4433@433,853...
PORT = 127.0.0.1:8080@80,4433@433
# set sni socket timeout
# pattern : snitimeout = <timeout>
# example: snitimeout = 30
SNITIMEOUT = 30
# set upstream proxy.
# pattern : socks = <user>:<pass>@<socks5 ip>:<socks port>
# example: socks = 127.0.0.1:9150
SOCKS = 127.0.0.1:9150
# enable statistics monitor
# pattern : monitor = <port>
# example: monitor = 8123
MONITOR = 8123
# active white list
# pattern : white = <path to file>
# example: white = /etc/withlist.txt
#WHITE =
# enable dns forward to socks
# pattern: ldns = <bind ip>:<local port>
# example: ldns = 127.0.0.1:5356
LDNS = 127.0.0.1:5356
# set upstream DNS providers.
# pattern : dns = < ip >:<port>
# example: dns = 8.8.8.8:53
DNS = 8.8.8.8
# set DNS timeout in sec.
# pattern : dtimeout = < timeout >
# example: dtimeout = 5
DTIMEOUT = 5
# set DNS upstream socks.
# pattern : dsocks = <user>:<pass>@<socks5 ip>:<socks port>
# example: dsocks = 127.0.0.1:1080
DSOCKS = 127.0.0.1:1080
# set SNI IP for DNS server
# pattern : SNIP = < ip >
# example: dns = 192.168.1.1
SNIP = 127.0.0.1