Setting up an HTTP proxy with ruby

Do you know what: It’s that simple to setup an HTTP forwarding proxy
with ruby. The only thing you need is webrick’s HTTPProxyServer-class.

Hope you find this article interesting

In this article I share my thoughts about webrick’s http proxy class and
cover the following architectures:

  • Simple Forward Proxy
  • Forward Proxy Requiring Authentication
  • Proxy Chain with Upstream and Downstream Proxy
  • Downstream Proxy With Authentication Against Upstream Proxy

Besides that I show you how to setup an HTTP and HTTPS server using

Herbert Hurtig