Whitelisting Multiple IPs with Mod_Security

The following can be added to the main modsecurity.conf or a whitelist file such as one ConfigServer leverages with CMM:

SecRule REMOTE_ADDR "@IPMatch xxx.xxx.xxx.xxx,xxx.xxx.xxx.xxx" phase:1,log,allow,ctl:ruleEngine=Off,id:55555555

  • 0 Users Found This Useful

Was this answer helpful?

Related Articles

SpamAssassin Command Line Bayesian Learn Command cPanel

Once it is enabled, it is necessary to train spamassassin to learn what is junk mail and what is...

cPanel Account - PHP Startup: Unable to load dynamic library

PHP Warning:  PHP Startup: Unable to load dynamic library './xsl.so' - ./xsl.so: cannot open...

Manually Clear from Console / Command Line cPanel Exim Mail Queue

To clear the cPanel exim mail queue quickly from a command line / shell use the following...

Nginx redirecting folder to another host or server

From time to time you may want to proxy out a path to another server or location. To perform a...

Create CXS Quarantine Directory

The following command may be used to create a quarantine directory for Configserver's CXS: cxs...