Is that safe to whitelist my server ip in modsecurity?

ASUS

Verified User
Joined
Oct 12, 2022
Messages
23
I see modsecurity always block my ssl renew because curl ( I was blocked this user-agent because too much of bot rip my server) OR .well-known/acme-challenge ( I don't know why )

so is that safe to whitelist my server ip in modsecurity by this rule?
Code:
SecRule REMOTE_ADDR "@ipMatch 123.123.123.123" "phase:1,id:999906,nolog,allow"

Thanks
 
If you believe that is a false positive, then it is safe to whitelist the rule not just an IP if u use dynamic IP, ur IP will keep changing. Never had an issue modsecurity block SSL renew (with my default setup).
 
If you believe that is a false positive, then it is safe to whitelist the rule not just an IP if u use dynamic IP, ur IP will keep changing. Never had an issue modsecurity block SSL renew (with my default setup).
thanks, my mistake, I mean is that safe to add my server ip to whitelist in modsecurity.
 
Back
Top