Bash-Notes
- By Abhishek Bajpai
- Wed 05 September 2018
Yum via socks5 proxy
Creating socks5 proxy
To start such a connection, run the following command in your terminal.
$ ssh -D 1337 -q -C -N user@server.com
Add this line to /etc/yum.conf
proxy=socks5://ip:port
In case host name resolution through proxy is required.
proxy=socks5h://ip:port