wiki'd

by JoKeru

Dante SOCKS Server

[cc lang='bash']
\$ cd /usr/src/
\$ wget http://www.inet.no/dante/files/dante-1.3.2.tar.gz
\$ gunzip dante-1.3.2.tar.gz
\$ tar -xf dante-1.3.2.tar
\$ cd dante-1.3.2/
\$ ./configure
\$ make
\$ make install

\$ /usr/local/sbin/sockd -D -N 5 -f /etc/danted.conf
\$ tail /var/log/syslog
[/cc]

/etc/danted.conf
[cc lang='bash']
logoutput: syslog
internal: 10.20.30.40 port = 1234
external: 10.20.30.40
internal: 50.60.70.80 port = 1234
external: 50.60.70.80
external.rotation: same-same
method: username none
user.privileged: proxy
user.notprivileged: nobody
client pass {
from: 1.2.3.4/0 port 1-65535 to: 0.0.0.0/0
}
client block {
from: 0.0.0.0/0 to: 0.0.0.0/0
log: connect error
}
pass {
from: 1.2.3.4/0 to: 0.0.0.0/0
protocol: tcp udp
}
block {
from: 0.0.0.0/0 to: 0.0.0.0/0
log: connect error
}
[/cc]

Comments