title: How to remove my server IP showing in remote address?
body: <p>I have already referred to <a href="https://stackoverflow.com/questions/53886893/how-to-remove-remote-address">this</a> post. But my query is a little different since I want to know if I can achieve this from <strong>IIS</strong>?</p>
  
  <p>Here is how the <strong>Remote Address</strong> looks like when I inspect element.</p>
  
  <p><a href="https://i.stack.imgur.com/d5UQT.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/d5UQT.png" alt="Server IP showing in Remote address "></a></p>
  
  <p>Now, the problem is the IP that is seen <strong><em>is of the server where all my files for the website are deployed</em></strong> and there are concerns from the security team as follows</p>
  
  <blockquote>
    <p><strong>The application discloses internal IP addresses which can aid
    attackers in mapping out the internal infrastructure of the network.
    This information can be used to craft other types of attacks.</strong></p>
  </blockquote>
  
  <p><strong>Here is what I have tried so far..</strong></p>
  
  <p>So in the <code>web.config</code> I was able to remove some other details that were showing in the <strong>Response Headers</strong> like the asp.net version etc.</p>
  
  <pre><code>&lt;httpProtocol&gt;
    &lt;customHeaders&gt;
      &lt;add name="X-UA-Compatible" value="IE=edge" /&gt;
      &lt;add name="X-Frame-Options" value="ALLOW-FROM https://dev.org.com"/&gt;
      &lt;add name="Content-Security-Policy" value="frame-ancestors 'self' https://dev.org.com"/&gt;
      &lt;add name="Strict-Transport-Security" value="max-age=31536000"/&gt;
      &lt;remove name="ETag"/&gt;
      &lt;remove name="X-AspNet-Version" /&gt;
      &lt;remove name="X-Powered-By" /&gt;
    &lt;/customHeaders&gt;
  &lt;/httpProtocol&gt;
  </code></pre>
  
  <p><strong>My question..</strong></p>
  
  <p>I understand one solution here is to mask a Proxy IP, but if there is some sort of setting that I can apply from <code>IIS</code> or <code>web.config</code> to achieve this, then I'd prefer that.</p>