Press "Enter" to skip to content

CentOS一键搭建Socks5(Dante)脚本

0

wget –no-check-certificate https://raw.github.com/Lozy/danted/master/install.sh -Oinstall.sh
安装

bash install.sh --port=端口 --user=用户名 --passwd=密码

安装后使用说明

command option description
service sockd start /etc/init.d/sockd start start socks5 server daemon
service sockd stop /etc/init.d/sockd stop stop socks5 server daemon
service sockd restart /etc/init.d/sockd restart restart socks5 server daemon
service sockd reload /etc/init.d/sockd reload reload socks5 server daemon
service sockd restart /etc/init.d/sockd restart restart socks5 server daemon
service sockd status systemd process status
service sockd state /etc/init.d/sockd state running state
service sockd tail /etc/init.d/sockd tail sock log tail
service sockd adduser /etc/init.d/sockd adduser add pam-auth user: service sockd adduser NAME PASSWORD
service sockd deluser /etc/init.d/sockd deluser delete pam-auth user: service sockd deluser NAME

更详细WIKI说明 https://github.com/Lozy/danted/blob/master/README.md
项目托管地址 https://github.com/Lozy/danted

发表评论