May 26, 2017 - I read the article they have on their site ' but I have no luck on making it work. How to use SOCKS proxy with yum? Http_proxy=socks5://127.0.0.1:40000 yum install. Friedland stockport sk5 6bp wiring. CentOS 7 - yum not using proxy for all requests. I have a VPS with Centos 7 os I have installed danted script wget --no-check-certificate Dante socks5 proxy.
## Добавляем репозиторий:yum install http://mirror.ghettoforge.org/distributions/gf/gf-release-latest.gf.el7.noarch.rpm
yum --enablerepo=gf-plus install dante-server
systemctl enable sockd.service
mkdir /var/run/sockd
mv /etc/sockd.conf /etc/sockd.conf.orig
cat >> /etc/sockd.conf << 'EOF'
user.privileged: root
user.unprivileged: nobody
internal: ens160 port = 443
external: ens160
logoutput: syslog stdout /var/log/sockd.log
errorlog: /var/log/sockd_err.log
socksmethod: username none #rfc931
client pass {
from: 0.0.0.0/0 to: 0.0.0.0/0
log: connect disconnect iooperation
}
socks pass {
from: 0.0.0.0/0 to: 0.0.0.0/0
command: connect udpassociate
log: connect disconnect iooperation
}
EOF
systemctl start sockd.service
firewall-cmd --permanent --zone=public --add-rich-rule='rule family='ipv4' source address='ваш_внешний_ip/32' port protocol='tcp' port='443' accept'