Danted / Socks5 agent service multi IP multi exit configuration

Time:2020-4-3

Danted / Socks5 agent service multi IP multi exit configuration

Reprint note source: link to blog from osnosn, written on March 1, 2020

The configuration file for danted is / etc / danted.conf
See the description of external.rotation in man danted.conf.

For example, you have three network ports, eth0, eth1, eth2

  • Let Dante listen to 1080 of all network ports
internal: 0.0.0.0 port = 1080
  • Add all three ports to the Dante exit. And specifies that the exit is determined by system routing.
external: eth0
external: eth1
external: eth2
external.rotation: route
  • Then, modify the system routing tableip route
  • Hinderclient pass/block socks pass/blockPlease refer to the article settings on the Internet.

Reprint note source: link to blog from osnosn.