Skip to content

Instantly share code, notes, and snippets.

@ahgood
Created February 12, 2018 03:21
Show Gist options
  • Save ahgood/06a23b59a57768f32f6273905eb4f62c to your computer and use it in GitHub Desktop.
Save ahgood/06a23b59a57768f32f6273905eb4f62c to your computer and use it in GitHub Desktop.
How to proxy yum
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