HOME » Documents » KUSANAGI 9 Commands » waf on

waf on

waf on

Turns on WAF.

Example

kusanagi waf on

Options

None

Remarks

For WAF functionality, ModSecurity is used for Apache and NAXSI for nginx.

To customize NAXSI settings, you can edit the following files:

/etc/opt/kusanagi/nginx/naxsi.d/*/user.conf

To customize ModSecurity (Apache) settings, you can edit the following files:

/etc/opt/kusanagi/httpd/modsecurity.d/kusanagi_activated_rules/*/user.conf