I have a Web App load balanced using Citrix NetScaler between 2 Win Server 2016 servers, IIS 10. As per our business use case, we need to block certain IPs, IP ranges at IIS level. But since it is through netscaler, we are unable to block IPs using IIS > Website > IP Address and Domain Restrictions > Deny Entry. We have done client ip passthrough on Netscaler request headers. But somehow , it is NOT picking on the iis - IP Addess Restrictions to block particular IPs. Please help me here, what will be the reason for this and how to fix this using IIS Configurations, without changing application code . Thanks in advance.
Note : I tried adding "Deny entry" for the IP of my mobile on IIS, but IIS is not picking it.