Created
February 12, 2018 03:21
-
-
Save ahgood/06a23b59a57768f32f6273905eb4f62c to your computer and use it in GitHub Desktop.
How to proxy yum
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Connect to server from local: ssh -D 1080 USER@IP | |
2. Update yum.conf on server: nano /etc/yum.conf, under [main], add: | |
proxy=socks5h://localhost:1080 | |
*make sure you have local proxy running that make localhost:1080 is available for server. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment