Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

We have OSSEC installed on some web servers running behind Amazon ELB. The problem is that when the active response triggers it blocks the IP address of the load balancer. Is there any way to use the active response to block clients sending suspect requests when OSSEC is behind a load balancer?


share|improve this question
Did you enable X-Forwarded-For to get the 'real' client IP in web servers log? – quanta Aug 10 '11 at 8:48

You can add the IP(s) to the white list in ossec.conf. That file is typically in /var/ossec/etc/ossec.conf.

<white_list>ip goes here</white_list>

Then restart ossec with /etc/init.d/ossec restart.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.