Show HN: Automatic proxy setup for SSH'able boxes that have no network access
Script for setup of package management Proxy for situations where you can ssh, but target doesn't have an outgoing network connection to public web. After running the script you can also query arbitrary URLs via curl -L -socks5 localhost:6666 google.com. Custom proxy queries In your target machine you can use proxy to request arbitrary URLs. Curl -L -socks5 localhost:6666 google.com You can also optionally install proxychains on the target server to enable any software to use the forwarded SOCKS proxy It uses a LD PRELOAD trick to redirect TCP and DNS requests from arbitrary commands into a proxy and is really handy. ProxyList] # SSH reverse proxy socks5 127.0.0.1 6666 e.g. proxychains yum update. Future plans [ ] add yum, pac, pkg detection & proxy setup to ensure remote server has proxy config() function.