Fortinet Document Library

Version:


Table of Contents

Cookbook

6.2.0
Download PDF
Copy Link

IP reputation filtering

There are currently five reputation levels in the Internet Service Database (ISDB), and custom reputation levels can be defined in a custom internet service. You can configure firewall policies to filter traffic according to the desired reputation level. If the reputation level of either the source or destination IP address is equal to or greater than the level set in the policy, then the packet is forwarded, otherwise, the packet is dropped.

The five default reputation levels are:

1

Known malicious sites, such as phishing sites or sites related to botnet servers

2

High risk services sites, such as TOR, proxy, and P2P

3

Unverified sites

4

Reputable social media sites, such as Facebook and Twitter

5

Known and verified safe sites, such as Gmail, Amazon, and eBay

The default minimum reputation level in a policy is zero, meaning that the reputation filter is disabled.

For IP addresses that are not included in the ISDB, the default reputation level is three.

The default reputation direction is destination.

To set the reputation level and direction in a policy using the CLI:
config firewall policy
    edit 1
        set uuid dfcaec9c-e925-51e8-cf3e-fed9a1d42a1c
        set srcintf "wan2"
        set dstintf "wan1"
        set dstaddr "all"
        set reputation-minimum 3
	set reputation-direction source
        set action accept
        set schedule "always"
        set service "ALL"
        set logtraffic all
        set auto-asic-offload disable
        set nat enable
    next
end

Packets from the source IP address with reputation levels three, four, or five will be forwarded by this policy.

Note

In a policy, if reputation-minimum is set, and the reputation-direction is destination, then the dstaddr, service, and internet-service options are removed from the policy.

If reputation-minimum is set, and the reputation-direction is source, then the srcaddr, and internet-service-src options are removed from the policy.

IP reputation filtering

There are currently five reputation levels in the Internet Service Database (ISDB), and custom reputation levels can be defined in a custom internet service. You can configure firewall policies to filter traffic according to the desired reputation level. If the reputation level of either the source or destination IP address is equal to or greater than the level set in the policy, then the packet is forwarded, otherwise, the packet is dropped.

The five default reputation levels are:

1

Known malicious sites, such as phishing sites or sites related to botnet servers

2

High risk services sites, such as TOR, proxy, and P2P

3

Unverified sites

4

Reputable social media sites, such as Facebook and Twitter

5

Known and verified safe sites, such as Gmail, Amazon, and eBay

The default minimum reputation level in a policy is zero, meaning that the reputation filter is disabled.

For IP addresses that are not included in the ISDB, the default reputation level is three.

The default reputation direction is destination.

To set the reputation level and direction in a policy using the CLI:
config firewall policy
    edit 1
        set uuid dfcaec9c-e925-51e8-cf3e-fed9a1d42a1c
        set srcintf "wan2"
        set dstintf "wan1"
        set dstaddr "all"
        set reputation-minimum 3
	set reputation-direction source
        set action accept
        set schedule "always"
        set service "ALL"
        set logtraffic all
        set auto-asic-offload disable
        set nat enable
    next
end

Packets from the source IP address with reputation levels three, four, or five will be forwarded by this policy.

Note

In a policy, if reputation-minimum is set, and the reputation-direction is destination, then the dstaddr, service, and internet-service options are removed from the policy.

If reputation-minimum is set, and the reputation-direction is source, then the srcaddr, and internet-service-src options are removed from the policy.