“socks5代理搭建”
工具
- 一台海外服务器
- dante
- goproxy 或 ccproxy
- switchyomega
dante
socks5代理服务
基本配置
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
logoutput: syslog stdout /var/log/sockd.log
logoutput: stderr
external: eth0
socksmethod: pam.username
user.unprivileged: nobody
user.libwrap: nobody
client pass {
from: 0.0.0.0/0 to: 0.0.0.0/0
}
socks pass {
from: 0.0.0.0/0 to: 0.0.0.0/0
protocol: tcp udp
socksmethod: pam.username
log: connect disconnect
}
socks block {
from: 0.0.0.0/0 to: 0.0.0.0/0
log: connect error
}
goproxy 或 ccproxy
浏览器不支持带认证的socks5代理,用goproxy或ccproxy做二级代理,转成本地socks5代理
switchyomega
chrome的插件,智能切换代理,在线规则列表