Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Very simple Sinatra app to play with servers inside a firewall via some gateway server
Ruby
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.gitignore
Gemfile
Gemfile.lock
README.textile
config.ru
sinredirect.rb

README.textile

Summary

Runs on a gateway server and sets the Host header for a request so that you don’t have to set up a route to an internal firewalled server. Sometimes setting up a proper path through your router and your load-balancer is too much of a pain in the ass.

http://<gateway server>/internal/<domain for host header>/<ip of target machine>/<path>

Caveat

This is essentially an open proxy so it would be wise to maybe keep it to yourself or implement some sort of password scheme.

Something went wrong with that request. Please try again.