linux danted sock5
2025-03-20Dante 是一个 SOCKS 代理服务器,支持 SOCKS4 和 SOCKS5 协议,常用于网络代理、穿透防火墙和访问受限资源。
1、debian
sudo apt update
sudo apt install dante-server
2、rocky9不支持
yum -y install epel-release
yum -y install dante-server
或者centos7.9可以
wget --no-check-certificate https://raw.github.com/Lozy/danted/master/install.sh -O install.sh
3、Dante 的主配置文件一般位于 /etc/danted.conf
4、启动
/etc/init.d/sockd start
systemctl start sockd
5、useradd test1
6、shell 测试
cat test.sh
export ALL_PROXY=socks5://1.2.5.6:1080
export ALL_PROXY=socks5://user3:password@1.2.5.6:1080
curl info.io/ip