一键安装Dante建立socks5代理
2022/9/1小于 1 分钟基础工具网络代理
下载一键安装脚本
$ curl -o socks5.sh https://raw.githubusercontent.com/Lozy/danted/refs/heads/master/install.sh安装 Dante
$ sudo chmod +x socks5.sh
$ ./socks5.sh --port=端口 --user=用户名 --passwd=密码启动 Dante socks5 代理服务器并加入开机启动
$ sudo service sockd start
$ sudo systemctl enable sockd代理测试
curl -v --socks5 1.2.3.4:80 --proxy-user name:pass http://abc.com
curl -x socks5://username:password@proxy_server_ip:1080 https://ifconfig.me
curl -x socks5://username:password@proxy_server_ip:1080 https://ipinfo.io