Rocky Linux 8安装dante代理服务

/ 0评 / 0
yum install dante-server -y

安装完之后写入配置到 /etc/sockd.conf,yum安装的默认配置文件在/etc/sockd.conf

如果配置写在/etc/danted.conf会报错。默认配置文件在/etc/sockd.conf
error: checkconfig(): no internal address given for server to listen for clients on


cat > /etc/sockd.conf << EOF
logoutput: /var/log/danted.log
internal: 0.0.0.0 port = 1080
external: eth0
socksmethod: none #无密码验证
user.privileged: root
user.unprivileged: nobody
client pass {
    from: 0.0.0.0/0 to: 0.0.0.0/0
}
socks pass {
    from: 0.0.0.0/0 to: 0.0.0.0/0
}
EOF

启动
systemctl start sockd
配置开机启动
systemctl enable sockd.service

发表评论

邮箱地址不会被公开。 必填项已用*标注