以下是一个简单的danted.conf配置示例,其中不包含用户认证配置:

logoutput: stderr

internal: eth0 port = 1080

external: eth0

method: username

clientmethod: none

user.privileged: root
user.unprivileged: nobody

client pass {
    from: 0.0.0.0/0 to: 0.0.0.0/0
    log: error
}

pass {
    from: 0.0.0.0/0 to: 0.0.0.0/0
    command: bind connect udpassociate
    log: error
}

在这个配置文件中,danted将通过eth0接口监听1080端口。它使用了用户名认证方法(method: username),但是没有配置任何用户信息,所以用户不需要进行认证。用户权限设置为root和nobody。所有客户端的连接都被允许(client pass),并且所有传输的数据都将被转发(pass)。日志输出到stderr。请注意,这只是一个基本配置示例,具体的配置根据你的需求可能会有所不同

给一个简单的dantedconf配置实例我不需要你用户认证

原文地址: https://www.cveoy.top/t/topic/iY4Y 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录