Help Center> Web Application Firewall> FAQ> About WAF> WAF Functions> Can WAF Protect an IP Address?

Can WAF Protect an IP Address?

A WAF instance can protect IP addresses.

Cloud mode

A cloud WAF instance can only protect servers based on domain names but not IP addresses.

The origin server IP address configured in WAF can only be a public IP address.

To reduce the number of public IP addresses, you can purchase Elastic Load Balance (ELB) or set up load balancers to work as proxies of the backend private IP addresses, and set the EIP (public IP address) as the WAF back-to-source IP address.

Dedicated Mode and ELB Mode

A dedicated or load balancing WAF instance can protect websites through either domain names or IP addresses.

The origin server IP address configured in WAF can be a public IP address or internal IP address.

For details about how to add a domain name or IP address to WAF, see How Do I Add a Domain Name/IP Address to WAF?.