sudo apt-get install dante-server
skip the error message from the output of configure dante-server once installed. that's cause dante configuration was not complete.
2. start editing the config file
vi /etc/danted.conf
--
# log to what file
logoutput: stderr /var/log/danted.log
# listening interface and port
internal: ppp0 port = 80
# outgoing interface
external: ppp0
# method: username requires the client to provide a username and password which match the system password file.
# method: none requires no form of authentication.
method: username
# privileged ports like 80 and 443 must use root permission.
user.privileged: root
# the package seems not complied with libwrap support.
#user.libwrap: nobody
# allowed IPs
client pass {
from: 0.0.0.0/0 to: 0.0.0.0/0
}
# allowed protocols with these source IPs
pass {
from: 0.0.0.0/0 to: 0.0.0.0/0
protocol: tcp udp
}
3. run dante-server
sudo /etc/init.d/danted start
沒有留言:
張貼留言