tag:help.rubygems.org,2010-01-19:/discussions/questions/83-getting-past-firewallsRubyGems.org: Discussion 2014-07-18T18:59:30Ztag:help.rubygems.org,2010-01-19:Comment/104591852011-10-06T22:56:18Z2011-10-06T22:56:21ZGetting past firewalls<div><p>Hi there,<br>
We are behind a corporate firewall which blocks pretty much
everything going out to the internet. Unfortunately our firewall is
based on IP and not hostnames. We are trying to download some gem
files but it looks like some of the files are on servers with a
different IP, so they are being filtered out. Is there a list of IP
addresses associated with rubygems.org what we can add to the
access list on our firewall?</p></div>tmatsumototag:help.rubygems.org,2010-01-19:Comment/104591852011-10-10T17:40:37Z2011-10-10T17:40:37ZGetting past firewalls<div><p>RubyGems connects to rubygems.org and Amazon Cloudfront so you
will need to allow access to both sites. The IP addresses of Amazon
Cloudfront are not under RubyGems' control.</p>
<p>Additionally, I just wrote:</p>
<p><a href=
"http://help.rubygems.org/kb/rubygems/installing-gems-with-no-network">
http://help.rubygems.org/kb/rubygems/installing-gems-with-no-network</a></p>
<p>Which describes how to install gems when the target machine has
no network connectivity.</p></div>Eric Hodeltag:help.rubygems.org,2010-01-19:Comment/104591852014-07-18T17:31:10Z2014-07-18T17:46:40ZGetting past firewalls<div><p>I'm having a similar issue getting around our company proxy
server.</p>
<p>$ gem install rails --http-proxy <a href=
"http://me:password[at]proxy.ser.ver/proxy.pac:80">http://me:password[at]proxy.ser.ver/proxy.pac:80</a></p>
<p>ERROR: Could not find a valid gem 'rails' (>= 0) in any
repository<br>
ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError)<br>
bad response Not Found 404 (<a href=
"http://rubygems.org/latest_specs.4.8.gz">http://rubygems.org/latest_specs.4.8.gz</a>)</p>
<p>Any suggestions on these errors?</p></div>adbornstag:help.rubygems.org,2010-01-19:Comment/104591852014-07-18T18:59:29Z2014-07-18T18:59:29ZGetting past firewalls<div><p>Your proxy URL is not a proxy URL but a <a href=
"http://en.wikipedia.org/wiki/Proxy_auto-config">proxy auto
configuration</a>. You'll need to extract the proxy server URL from
it.</p></div>Eric Hodel