<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello<br>
    <br>
    in vcl_recv add something like this:<br>
    <br>
    sub vcl_recv {<br>
      remove req.http.X-Forwarded-For;<br>
      set req.http.X-Forwarded-For = client.ip;<br>
    }<br>
    <br>
    Best regards,<br>
    <br>
    Gašper<br>
    <br>
    On 03/19/2012 08:36 AM, Jewel Nuruddin wrote:
    <blockquote
cite="mid:CALy9wpJjCo4jJut7abG5H024o5S=Bp4U9Bm53cvu2DyAbqXhCA@mail.gmail.com"
      type="cite">Hello<br>
      My varnish is run on 10.70.18.22 server and my web server run
      back  end 10.70.18.30<br>
      When client browse through varnish in my web server it always show
      varnish IP(10.70.18.22)<br>
      But I want my web server should display client IP address.<br>
      I use the following configuration<br>
      <pre>sub vcl_fetch {
  
  remove obj.http.X-Varnish-IP;
  set    obj.http.X-Varnish-IP = server.ip;
  
}</pre>
      It did not work for me.<br>
      Can some one please help me what should I do.<br>
      <br>
      Thanks<br>
      Jewel<br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
varnish-misc mailing list
<a class="moz-txt-link-abbreviated" href="mailto:varnish-misc@varnish-cache.org">varnish-misc@varnish-cache.org</a>
<a class="moz-txt-link-freetext" href="https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc">https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc</a></pre>
    </blockquote>
    <div class="moz-signature">-- <br>
      <span style="font-family: Arial; color: rgb(105, 105, 105);
        font-weight: bold;">Gašper Furman<br>
        <span style="font-size: 8pt; font-weight: lighter">Spletni
          razvoj<br>
          <span style="font-size: 8pt; font-weight: lighter">Web
            Development<br>
            <br>
            Delo, d. d.<br>
            Dunajska 5, 1000 Ljubljana<br>
            T: +386 1 47 37 946<br>
            E: <a href="mailto:gasper.furman@delo.si">gasper.furman@delo.si</a>
            <br>
            <br>
            <a href="http://www.delo.si" target="_blank">
              <img moz-do-not-send="false"
                src="cid:part2.01050801.06070305@delo.si" border="0"></a>
            <a href="http://www.slovenskenovice.si" target="_blank">
              <img moz-do-not-send="false"
                src="cid:part4.06080305.03000606@delo.si" border="0"></a>
            <a href="http://www.deloindom.si" target="_blank">
              <img moz-do-not-send="false"
                src="cid:part6.09090200.00000404@delo.si" border="0"></a>
            <a href="http://www.polet.si" target="_blank">
              <img moz-do-not-send="false"
                src="cid:part8.09060108.05060709@delo.si" border="0"></a>
            <a href="http://www.pogledi.si" target="_blank">
              <img moz-do-not-send="false"
                src="cid:part10.00050905.00080508@delo.si" border="0"></a>
          </span></span></span></div>
  </body>
</html>