1,安装dante-server(Ubuntu/Debian系统):
apt-get install dante-server
2,安装成功后,使用SSH工具编辑配置文件 /etc/danted.conf
,粘贴替换以下代码:
logoutput: syslog
user.privileged: root
user.unprivileged: nobody
# The listening network interface or address.
internal: 0.0.0.0 port=10808
# The proxying network interface or address.
external: eth0
# socks-rules determine what is proxied through the external interface.
socksmethod: username none
# client-rules determine who can connect to the internal interface.
clientmethod: none
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
}
3,保存配置文件(默认端口10808),启动danted服务:
systemctl restart danted.service
4,在其它软件里添加代理,测试一下是否连接成功,例如QQ代理设置:
温馨提示:本文最后更新于2024年5月6日20时03分,某些文章资源具有时效性,若内容或链接失效,请在下方评论区留言反馈。
© 版权声明
THE END
暂无评论内容