Origin Client Source Identification
By default, when triggering scan from client through a load balancer or proxy server, MetaDefender Core’s Nginx web server will not identify the original client source (but the load balancer or proxy server’s address instead).
In order to force Nginx web server to trace back the origin client source:
1.) Create a “extra.conf” file
- On Windows, under <Installation Directory>\nginx\
- On Linux, under /etc/ometascan/nginx.d/
Make sure to change “192.168.1.1” to your actual load balancer or proxy server address.
In cases involving multiple load balancers, you can specify all the load balancer IP addresses in the set_real_ip_from
directive.
If you use a virtual IP (VIP) for a load balancer cluster, you can specify that VIP instead.
2.) A restart of the “OPSWAT Metadefender Core” service is required.
Was this page helpful?