Dante

Published 01-01-0001 00:00:00

Installing Dante on Gentoo or Calculate

Installing from portage

~ # emerge -av net-proxy/dante

Editing the configuration file: /etc/socks/sockd.conf

  • Variant for static IP:
logoutput: syslog /var/log/danted.log
internal: eth0 port = 1080
external: eth0
clientmethod: none
socksmethod: none
user.privileged: sockd
user.notprivileged: sockd
user.libwrap: sockd

client pass {
  from: 1.2.3.4/32 port 1-65535 to: 0.0.0.0/0
  log: connect disconnect error
}

client block {
  from: 0.0.0.0/0 to: 0.0.0.0/0
  log: connect error
}

socks pass {
    from: 1.2.3.4/32 to: 0.0.0.0/0
    log: error connect disconnect
}

socks block {
  from: 0.0.0.0/0 to: 0.0.0.0/0
  log: connect error
}

Launching a Dante service

~ # rc-service dante-sockd start

Adding a Dante service to startup

~ # rc-update add dante-sockd default