apt-get install dante-server
mv /etc/danted.conf /etc/danted.conf.bak
vim /etc/danted.conf
配置一个无需认证的danted socks5服务,这样chrome也可以直接用。
当然也可以用其他代理软件转发
logoutput: /var/log/sockd.log
internal: 0.0.0.0 port = 3721
external: eth0
socksmethod: none
# user.privileged: root
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
log: connect disconnect
}
socks block {
from: 0.0.0.0/0 to: 0.0.0.0/0
log: connect error
}
/etc/init.d/danted start
查看端口
netstat -anp | grep 3721