How to whitelist a subnet in ModSecurity?
Searching over Internet I have found how to whitelist a single IP, but how can I whitelist a whole subnet?
solved: SecRule REMOTE_HOST "@ipmatch 192.168.1.0/24" phase:1,nolog,allow,ctl:ruleEngine=off
Last edited by yzT!; 04-16-2014 at 03:42 AM.
|