Clever Redirect

Stephen Nelson-Smith sanelson at
Mon Jul 26 08:40:26 CEST 2010


I might be trying to do this entirely the wrong way, but here's the plan:

I have a large number of machines on a private VLAN, behind a
firewall, and without publicly routeable IP addresses.  I want to be
able to hit a page (the same page) on each of them, from a known,
remote location.  I don't wish to set up 90 different IPs on the
external firewall.  What I thought I could do was something like this:

* Have varnish listening on a machine with an external IP address.
* Hit$servername
* Have varnish go to http://$servername/mypage.xml and return it to
the initial requestor

I have this working with a nasty cgi script, but it seems to me as if
this could be done via Varnish.  Am I right?  If so, how would I go
about it?



Stephen Nelson-Smith
Technical Director
Atalanta Systems Ltd

More information about the varnish-misc mailing list