Danted/Socks5_代理服务_多IP_多出口的配置

Danted/Socks5 代理服务_多IP_多出口的配置

转载注明来源: 本文链接 来自osnosn的博客,写于 2020-03-01.

danted 的配置文件为 /etc/danted.conf
查看,man danted.conf 中关于 external.rotation 的说明。

比如你有三个网口 eth0, eth1, eth2

  • 让danted监听所有网口的1080
internal: 0.0.0.0 port = 1080 
  • 把三个网口都加入danted的出口。并指定由"系统路由"决定出口。
external: eth0
external: eth1
external: eth2
external.rotation: route
  • 然后,修改系统路由表 ip route
  • 后面的 client pass/block socks pass/block 请参考网上的文章设置。

转载注明来源: 本文链接 来自osnosn的博客.

猜你喜欢

转载自www.cnblogs.com/osnosn/p/12388465.html
今日推荐