title: IP or Subnet based blocking in Spring Cloud Zuul
body: <p>I want to allow specific ip addresses or a subnet mask to access my endpoints. I am currently using sprind clud Zuul as an API gateway which offers blocking a specific URL or a pattern. Eg :</p>
  
  <pre><code> zuul:
      ignoredServices: '*'
      routes:
         users: /myusers/**
  </code></pre>
  
  <blockquote>
    <p>In this example, all services are ignored except "users".</p>
  </blockquote>
  
  <p>Here is the Document: <a href="https://cloud.spring.io/spring-cloud-netflix/1.4.x/multi/multi__router_and_filter_zuul.html" rel="nofollow noreferrer">Zuul Router and Filer</a></p>
  
  <p>I want a similar functionality which could allow only specific ip addresses or perhaps a subnet mask (As cloud instances my get different ips over time) which would be called from own cloud enviroment and not exposed to the world.</p>
  
  <p>Is there any way to achive this in Spring data Zuul ?</p>