mirror of
https://github.com/caiwx86/small-packages.git
synced 2026-10-30 08:45:13 +08:00
update 2026-05-27 19:55:46
This commit is contained in:
1 parent
762a95b5ae
commit
84f707b52b
758 files changed
-362299
No files matched your search
@@ -1,33 +0,0 @@
|
||||
base {
|
||||
log_debug = off;
|
||||
redirector = iptables;
|
||||
reuseport = on;
|
||||
}
|
||||
redsocks {
|
||||
local_ip = 192.168.1.1;
|
||||
local_port = 1081;
|
||||
ip = 192.168.1.1;
|
||||
port = 9050;
|
||||
type = socks5; // I use socks5 proxy for GFW'ed IP
|
||||
autoproxy = 1; // I want autoproxy feature enabled on this section.
|
||||
// timeout is meaningful when 'autoproxy' is non-zero.
|
||||
// It specified timeout value when trying to connect to destination
|
||||
// directly. Default is 10 seconds. When it is set to 0, default
|
||||
// timeout value will be used.
|
||||
// NOTE: decreasing the timeout value may lead increase of chance for
|
||||
// normal IP to be misjudged.
|
||||
timeout = 13;
|
||||
//type = http-connect;
|
||||
//login = username;
|
||||
//password = passwd;
|
||||
}
|
||||
tcpdns {
|
||||
// Transform UDP DNS requests into TCP DNS requests.
|
||||
// You can also redirect connections to external TCP DNS server to
|
||||
// REDSOCKS transparent proxy via iptables.
|
||||
local_ip = 192.168.1.1; // Local server to act as DNS server
|
||||
local_port = 1053; // UDP port to receive UDP DNS requests
|
||||
tcpdns1 = 8.8.4.4; // DNS server that supports TCP DNS requests
|
||||
tcpdns2 = 8.8.8.8; // DNS server that supports TCP DNS requests
|
||||
timeout = 4; // Timeout value for TCP DNS requests
|
||||
}
|
||||
Reference in new issue
Block a user