Chapter 7 – Security
7-2 Security Profile
Learning Objectives
- Configure a Security Profile

Step 1
We will continue the previous scenario and set up a DHCP server on port2.

Step 2
Go to security profile> Anti-Virus, create a new profile
-
- Name: myantivirus
- Scan Mode: full
- Inspection Protocol: HTTP, SMTP, IMAP, POP3, FTP

Step 3
Create a Firewall policy:
-
- Name: Port2-to-Port1
- Incoming Interface: Port2
- Outgoing interface: port1
- Source, Destination, Service : all
- Security Profile: myantivirus

Step 4
Go to Security Profile> File Filter, Create a new profile
- Name: MyFileFilter
- Create a New Filter rule
- Name: Block-PDF-ZIP
- Protocols: HTTP-FTP
- File Type: PDF-ZIP
- Action: Block
- Direction: any


- Set the firewall Policy to Proxy mode.
- Go to Policy & Objects> Firewall Policy and assign MyFileFilter to the “Port2-to-Port1” policy.
-
Figure 7-15: Assign File Filter profile to Firewall Policy
Step 5
Go to http://talebi.ca/wp-content/uploads/2021/11/prtgdesktop.pdf and verify your result.

Step 6
Go to Security Profile> Intrusion Prevention, create a new profile
-
- Name: MyIPS
- Add Signature: AAEH Botnet, Acuntix Web Vulnerability Scanner, Adobe Flash Player CSRF
Figure 7-17: Intrusion Prevention Profile
Step 7
Go to Policy & Objects> Firewall Policy and assign MyIPS to the “Port2-to-Port1” policy.

Step 8
Go to Security Profile> DNS Filter, create a new profile
-
-
-
-
- Name: MyDNS
- FortiGate Category Based Filter:
- Bandwidth Consuming: Peer-to-Peer File Sharing: Block, Internet Radio and TV: Block
-
-
Figure 7-20: Assign DNS Filter Profile to Firewall Policy you can verify your configuration by visiting http://talebi.ca
Figure 7-21: Verify configuration Verify your log & Report> DNS Query
-
-