Chapter 15 Unified Threat Management for FortiOS 5.0 : Application control : Video: Example of Application Control configurations. : Allowing only software updates
  
Allowing only software updates
Some departments at Example Corporation do not require access to the Internet to perform their duties. Management therefore decided to block their Internet access. Software updates quickly became an issue because automatic updates will not function without Internet access and manual application of updates is time-consuming.
The solution is configuring application control to allow only automatic software updates to access the Internet.
To create an application sensor — web-based manager
1. Go to Security Profiles > Application Control > Application Sensors.
2. Select the Create New icon in the title bar of the Edit Application Sensor window.
3. In the Name field, enter Updates_Only as the application sensor name.
4. Select OK.
5. Select the Create New icon in the sensor.
6. For the Sensor Type select Filter Based.
7. Enable only Update in the Category list.
8. Select Monitor from the Action list.
9. Select OK to save the filter to the sensor.
The filter just finished filter will allow all software update application traffic.
10. Select the application filter All Other Known Applications.
11. Select Edit.
12. Select Block from the Action list.
13. Select OK.
The filter just finished filter will block all traffic from recognized applications that are not specified in this application sensor.
14. Select the All Other Unknown Applications entry.
15. Select Edit.
16. Select Block from the Action list.
17. Select OK.
The filter just finished filter will block all traffic from applications that are not recognized by the application control feature.
18. Select Apply to save the application sensor.
To create an application sensor — CLI
config application list
edit Updates_Only
config entries
edit 1
set category 17
set action pass
end
set other-application-action block
set unknown-application-action block
end
 
You will notice that there are some differences in the naming convention between the Web Based Interface and the CLI. For instance the Action in the CLI is “pass” and the Action in the Web Based Manager is “Monitor”.