This section describes how to apply the intrusion prevention function on the FW to protect the mail server on the intranet of an enterprise.
As shown in Figure 1, an enterprise deploys the FW as a gateway to connect the intranet to the Internet.
The enterprise provides a mail server to send and receive mails. The mail server often experiences the intrusion and attacks from the Internet, affecting normal service access.
With the intrusion prevention function, the FW detects and blocks various intrusion behavior to secure the network.
The FW provides an intrusion prevention signature database that contains the signatures of known intrusion behavior. The FW matches a behavior with signatures in the intrusion prevention signature database. If a match is found, the behavior is considered as an intrusion behavior.
To ensure the accuracy of the intrusion detection result, you are advised to update the intrusion prevention signature database every week.
Reference the intrusion prevention profile in the security policy that permits Internet users to access the mail server to detect intrusion behavior on the network.
Click Add Security Policy. Configure matching conditions for the security policy as required and reference intrusion prevention profile mail_server in the security policy.
The FW provides several intrusion prevention profiles for different application scenarios by default. In this example, intrusion prevention profile mail_server is used to protect the mail server.

Set security policy parameters as follows:
| Name | policy1 |
|---|---|
| Source Zone | untrust |
| Destination Zone | dmz |
| Destination Address/Region | 192.168.1.200/255.255.255.255 |
| Action | permit |
| Content Security | |
| Intrusion Prevention | mail_server |
Exploit the known mail server vulnerability to launch the intrusion to the mail server from the Internet. The FW blocks the intrusion.
Choose . You can view the intrusion logs generated by the FW.
The configuration script related to the example is as follows:
# security-policy rule name policy1 source-zone untrust destination-zone dmz destination-address 192.168.1.200 mask 255.255.255.255 profile ips mail_server action permit #