<div dir="ltr">That's perfect, Lasse! Thank you for the information.<div><br></div><div>I had settled on putting the VCL in a jinja template and iterating over a list of ips (x-forward-for headers), each one creating a separate entry into sub vcl_recv to send an error 403. </div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Aug 6, 2013 at 2:00 AM, Lasse Karstensen <span dir="ltr"><<a href="mailto:lkarsten@varnish-software.com" target="_blank">lkarsten@varnish-software.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Mon, Aug 05, 2013 at 02:05:05PM -0700, Stephen Wood wrote:<br>
> Is there a way to change client.ip?<br>
<br>
</div>Yes, you can do this with the ipcast vmod:<br>
<br>
<a href="https://github.com/lkarsten/libvmod-ipcast" target="_blank">https://github.com/lkarsten/libvmod-ipcast</a><br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
--<br>
With regards,<br>
Lasse Karstensen<br>
Varnish Software AS<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Stephen Wood<div>Dev/Ops Engineer</div><div>Moz, Inc.</div><div>Website: <a href="http://www.heystephenwood.com" target="_blank">www.heystephenwood.com</a></div>
</div>
</div>