Pacproxy is a Ruby gem that allows applications like curl and other gems to access corporate servers behind a proxy using a proxy auto-config (PAC) file. The gem intercepts requests and transfers them to certain destinations defined in the PAC file. It can be configured by adding 'pacproxy' to the Gemfile and running it with the PAC file URL and port. This allows non-browser applications to access internal servers that are normally restricted by the corporate proxy.
2. Self Introduction
@otahi
C A network engineer
C How long have I use Ruby as a language
About 1 year
C Gems which I commit
Lbspec
Vagrant-proxyconf
rspec-dns
3. Problems on a corporate proxy
Difficulties to access to corporate servers
IT dep. cares only for browsers
C proxy.pac
How about curl or gem...
C We need to use 'no_proxy' for corporate servers
4. So Pacproxy
Gemfile
C gem 'pacproxy'
C gem 'therubyracer'
$ bundle exec pacproxy -P
http://sample.org/proxy.pac -p 3128