Fortigate Admin Guide 4.0 MR2
Fortigate Admin Guide 4.0 MR2
This document was published shortly before the release of FortiOS 4.0 MR2 and, therefore, contains only information that was gathered at the date of publication. This document will be updated by May, 2010. For more information, contact [email protected].
FortiGate Administration Guide Version 4.0 MR2 26 March 2009 01-420-89802-20100326 Copyright 2010 Fortinet, Inc. All rights reserved. No part of this publication including text, examples, diagrams or illustrations may be reproduced, transmitted, or translated in any form or by any means, electronic, mechanical, manual, optical or otherwise, for any purpose, without prior written permission of Fortinet, Inc. Trademarks Dynamic Threat Prevention System (DTPS), APSecure, FortiASIC, FortiBIOS, FortiBridge, FortiClient, FortiGate, FortiGate Unified Threat Management System, FortiGuard, FortiGuard-Antispam, FortiGuard-Antivirus, FortiGuard-Intrusion, FortiGuard-Web, FortiLog, FortiAnalyzer, FortiManager, Fortinet, FortiOS, FortiPartner, FortiProtect, FortiReporter, FortiResponse, FortiShield, FortiVoIP, and FortiWiFi are trademarks of Fortinet, Inc. in the United States and/or other countries. The names of actual companies and products mentioned herein may be the trademarks of their respective owners.
Contents
Contents
Introduction ............................................................................................ 17
Fortinet products .......................................................................................................... 17 Before you begin........................................................................................................... 18 How this guide is organized......................................................................................... 18 Document conventions ................................................................................................ 20 IP addresses............................................................................................................. Cautions, Notes and Tips ......................................................................................... Typographical conventions ....................................................................................... CLI command syntax ................................................................................................ 20 20 21 21
Registering your Fortinet product............................................................................... 23 Fortinet products End User License Agreement ....................................................... 23 Customer service and technical support.................................................................... 23 Training .......................................................................................................................... 23 Fortinet documentation ............................................................................................... 24 Tools and Documentation CD................................................................................... 24 Fortinet Knowledge Base ......................................................................................... 24 Comments on Fortinet technical documentation ..................................................... 24
Using FortiGate Online Help ........................................................................................ 29 Searching the online help ......................................................................................... 30 Web-based manager pages.......................................................................................... 31 Using the web-based manager menu....................................................................... Using web-based manager lists................................................................................ Adding filters to web-based manager lists ................................................................ Using page controls on web-based manager lists .................................................... Using column settings to control the columns displayed .......................................... Using filters with column settings.............................................................................. 32 32 33 34 35 35
Contents
System Dashboard................................................................................. 37
Dashboard overview ..................................................................................................... 38 Adding widgets to a dashboard ................................................................................ 38 VDOM and global dashboards.................................................................................. 39 System Information....................................................................................................... 39 Configuring system time ........................................................................................... 41 Changing the FortiGate unit host name.................................................................... 41 Changing the FortiGate firmware............................................................................. 42 License Information ...................................................................................................... 42 Unit Operation ............................................................................................................... 45 System Resources ........................................................................................................ 46 Viewing operational history....................................................................................... 46 Alert Message Console................................................................................................. 47 Log and Archive Statistics ........................................................................................... 48 Viewing DLP archive information on the Statistics widget ........................................ 49 Viewing the Attack Log ............................................................................................. 50 CLI Console ................................................................................................................... 50 Top Sessions................................................................................................................. 51 Top Viruses.................................................................................................................... 53 Top Attacks.................................................................................................................... 53 Traffic History................................................................................................................ 54 Top Policy Usage .......................................................................................................... 54 DLP Archive Usage ....................................................................................................... 55 RAID monitor ................................................................................................................. 56 Top Application Usage ................................................................................................. 58 Disk Status..................................................................................................................... 59 P2P Usage...................................................................................................................... 59 Per-IP Bandwidth Usage............................................................................................... 59 VoIP Usage .................................................................................................................... 60 IM Usage ........................................................................................................................ 60 FortiGuard...................................................................................................................... 60 ........................................................................................................................................ 60
Contents
Upgrading your FortiGate unit..................................................................................... 65 Upgrading to FortiOS 4.0 through the web-based manager.................................... 65 Upgrading to FortiOS 4.0 through the CLI ................................................................ 66 Verifying the upgrade................................................................................................ 67 Reverting to a previous firmware image..................................................................... 68 Downgrading to a previous firmware through the web-based manager ................... 68 Verifying the downgrade ........................................................................................... 69 Downgrading to a previous firmware through the CLI .............................................. 69 Restoring your configuration....................................................................................... 71 Restoring your configuration settings in the web-based manager............................ 71 Restoring your configuration settings in the CLI ....................................................... 71
Configuring VDOM resource limits ............................................................................. 85 Setting VDOM global resource limits ........................................................................ 86 Configuring resource usage for individual VDOMs................................................... 86
Contents
Configuring Networking Options............................................................................... 112 DNS Servers........................................................................................................... 113 Configuring FortiGate DNS services........................................................................ 113 About split DNS ...................................................................................................... 113 Configuring FortiGate DNS services....................................................................... 114 Configuring the FortiGate DNS database ............................................................... 116 Configuring the explicit web proxy ........................................................................... 117 Configuring explicit web proxy settings................................................................... 118 Configuring WCCP...................................................................................................... 120 Routing table (Transparent Mode)............................................................................. 121
Contents
Wireless Monitor ......................................................................................................... 127 Rogue AP detection .................................................................................................... 128 Viewing wireless access points .............................................................................. 129
SNMP............................................................................................................................ 140
Contents
Operation mode and VDOM management access ................................................... 163 Changing the operation mode ................................................................................ 164 Management access............................................................................................... 164
Admin profiles ............................................................................................................. 178 Viewing the admin profiles list ................................................................................ 181 Configuring an admin profile................................................................................... 181 Central Management................................................................................................... 182 Settings ........................................................................................................................ 183 Monitoring administrators.......................................................................................... 184 FortiGate IPv6 support ............................................................................................... 185 Configuring IPv6 on FortiGate units........................................................................ 185
Remote Certificates .................................................................................................... 193 Importing Remote (OCSP) certificates ................................................................... 194 CA Certificates ............................................................................................................ 194 Importing CA certificates......................................................................................... 195 CRL............................................................................................................................... 195 Importing a certificate revocation list ...................................................................... 195
Contents
FortiGuard.................................................................................................................... 201 FortiGuard Distribution Network ............................................................................. 201 FortiGuard services ................................................................................................ 202 Configuring the FortiGate unit for FDN and FortiGuard subscription services ....... 203 Troubleshooting FDN connectivity ........................................................................... 207 Updating antivirus and attack definitions................................................................. 207 Enabling push updates............................................................................................... 209 Enabling push updates when a FortiGate unit IP address changes ....................... 209 Enabling push updates through a NAT device ....................................................... 210 Advanced ..................................................................................................................... 212 Creating script files ................................................................................................. 213 Uploading script files .............................................................................................. 214 Adding VDOM Licenses.............................................................................................. 214 Disk............................................................................................................................... 215
Static Route ................................................................................................................ 230 Working with static routes ...................................................................................... 230 Default route and default gateway ......................................................................... 232 Adding a static route to the routing table ............................................................... 234 ECMP route failover and load balancing .................................................................. 235 Configuring spill-over or usage-based ECMP......................................................... 237 Configuring weighted static route load balancing ................................................... 240
Contents
BGP .............................................................................................................................. 254 Multicast....................................................................................................................... 255 Overriding the multicast settings on an interface.................................................... 256 Multicast destination NAT ....................................................................................... 256 Bi-directional Forwarding Detection (BFD) .............................................................. 257 Configuring BFD ..................................................................................................... 257
Configuring Central NAT Table.................................................................................. 275 Using DoS policies to detect and prevent attacks ................................................... 276 Viewing the DoS policy list...................................................................................... 276 Configuring DoS policies ........................................................................................ 277 Configuring protocol options .................................................................................... 278 Using one-arm sniffer policies to detect network attacks ...................................... 279 Viewing the sniffer policy list................................................................................... 280 Configuring sniffer policies...................................................................................... 281
FortiGate Version 4.0 MR2 Administration Guide 01-420-89802-20100326 http://docs.fortinet.com/ Feedback
10
Contents
How FortiOS selects unused NAT ports ................................................................... 282 Global pool.............................................................................................................. Global per-protocol pool ......................................................................................... Per NAT IP pool...................................................................................................... Per NAT IP, destination IP, port, and protocol pool ................................................ 283 283 283 284
Firewall policy examples ............................................................................................ 286 Example one: SOHO-sized business ..................................................................... 286 Example two: Enterprise-sized business ................................................................ 289
11
Contents
Virtual IP Groups......................................................................................................... 325 Viewing the VIP group list .......................................................................................... 325 Configuring VIP groups.............................................................................................. 325 Configuring IP pools................................................................................................... 325 IP pools and dynamic NAT ..................................................................................... 326 IP Pools for firewall policies that use fixed ports..................................................... 326 Source IP address and IP pool address matching.................................................. 327 Viewing the IP pool list ............................................................................................... 327 Configuring IP Pools................................................................................................... 328 Double NAT: combining IP pool with virtual IP........................................................ 328 Adding NAT firewall policies in transparent mode .................................................. 330
12
Contents
Intrusion Protection .................................................................................................... 364 IPS Sensor.............................................................................................................. DoS sensor ............................................................................................................. Predefined .............................................................................................................. Custom ................................................................................................................... Protocol Decoder .................................................................................................... 364 369 371 372 373
Packet logging............................................................................................................. 373 Packet logging configuration................................................................................... 373 Web Filter..................................................................................................................... 374 Profile...................................................................................................................... Web Content Filter.................................................................................................. URL Filter................................................................................................................ Override .................................................................................................................. Local Categories..................................................................................................... Local Ratings .......................................................................................................... Reports ................................................................................................................... Profile...................................................................................................................... Banned Word.......................................................................................................... IP Address .............................................................................................................. E-mail Address ....................................................................................................... 374 376 380 382 384 384 385 387 389 391 392
Using wildcards and Perl regular expressions ........................................................ 393 Data Leak Prevention.................................................................................................. 395 Sensor ................................................................................................................... Compound rules ..................................................................................................... Rule ........................................................................................................................ DLP archiving ......................................................................................................... 396 398 400 405
Application Control..................................................................................................... 405 Black/White List ...................................................................................................... 406 Application List........................................................................................................ 408 VoIP .............................................................................................................................. 409 Profile...................................................................................................................... 409
Manual Key .................................................................................................................. 420 New manual key configuration ............................................................................... 420
FortiGate Version 4.0 MR2 Administration Guide 01-420-89802-20100326 http://docs.fortinet.com/ Feedback
13
Contents
Internet browsing ........................................................................................................ 422 Concentrator ............................................................................................................... 422 Monitoring VPNs ......................................................................................................... 422
14
Contents
Directory Service......................................................................................................... 457 Configuring a Directory Service server ................................................................... 458 PKI ............................................................................................................................... 458 Configuring peer users and peer groups ................................................................ 459 User Group .................................................................................................................. 460 Firewall user groups ............................................................................................... Directory Service user groups ................................................................................ SSL VPN user groups............................................................................................. Viewing the User group list ..................................................................................... Configuring a user group ........................................................................................ Dynamically assigning VPN client IP addresses from a user group ............... 461 462 462 462 463 464
Authentication ............................................................................................................. 465 Monitor ......................................................................................................................... 466 Firewall user monitor list ......................................................................................... 467 IM user monitor list ................................................................................................. 467 NAC quarantine and the Banned User list................................................................ 468 NAC quarantine and DLP ....................................................................................... NAC quarantine and DLP replacement messages ................................................. Configuring NAC quarantine................................................................................... The Banned User list .............................................................................................. 468 469 469 470
Endpoint................................................................................................ 471
Endpoint configuration overview .............................................................................. 471 NAC .............................................................................................................................. 472 Configuring Endpoint profiles.................................................................................. Configuring application sensors.............................................................................. Viewing the application database ........................................................................... Configuring FortiClient installer download and version enforcement...................... 472 473 474 475
Network Vulnerability Scan........................................................................................ 476 Configuring assets .................................................................................................. 476 Configuring scans ................................................................................................... 476 Monitoring endpoints ................................................................................................. 477
15
Contents
Event Log..................................................................................................................... 495 Alert E-mail .................................................................................................................. 496 Accessing and viewing log messages...................................................................... 497 Archived logs .............................................................................................................. 498 Quarantine ................................................................................................................... 499 Reports......................................................................................................................... 500 FortiOS reports ....................................................................................................... 500 Executive Summary reports from SQL logs............................................................ 504 FortiAnalyzer report schedules ............................................................................... 505
Index...................................................................................................... 507
16
Introduction
Fortinet products
Introduction
Ranging from the FortiGate-50 series for small businesses to the FortiGate-5000 series for large enterprises, service providers and carriers, the FortiGate line combines the FortiOS security operating system with FortiASIC processors and other hardware to provide a high-performance array of security and networking functions including: firewall, VPN, and traffic shaping Intrusion Prevention system (IPS) antivirus/antispyware/antimalware web filtering antispam application control (for example, IM and P2P) VoIP support (H.323, SIP, and SCCP) Layer 2/3 routing multiple redundant WAN interface options
FortiGate appliances provide cost-effective, comprehensive protection against network, content, and application-level threats, including complex attacks favored by cybercriminals, without degrading network availability and uptime. FortiGate platforms include sophisticated networking features, such as high availability (active/active, active/passive) for maximum network uptime, and virtual domain capabilities to separate various networks requiring different security policies. The following topics are included in this section: Fortinet products Before you begin How this guide is organized Registering your Fortinet product Fortinet products End User License Agreement Customer service and technical support Training Fortinet documentation
Fortinet products
Fortinet's portfolio of security gateways and complementary products offers a powerful blend of ASIC-accelerated performance, integrated multi-threat protection, and constantly updated, in-depth threat intelligence. This unique combination delivers network, content, and application security for enterprises of all sizes, managed service providers, and telecommunications carriers, while providing a flexible, scalable path for expansion. For more information on the Fortinet product family, go to www.fortinet.com/products.
17
Introduction
Once that basic installation is complete, you can use this document. This document explains how to use the web-based manager to: maintain the FortiGate unit, including backups reconfigure basic items that were configured during installation configure advanced features.
This guide also contains some information about the FortiGate command line interface (CLI), but not all the commands. For detailed information on the CLI, see the FortiGate CLI Reference. This document is intended for administrators, not end users.
18
Introduction
System Dashboard describes the System Status page, the dashboard of your FortiGate unit. At a glance you can view the current system status of the FortiGate unit including serial number, uptime, FortiGuard license information, system resource usage, alert messages and network statistics. You can also access the CLI from this page. This section also describes status changes that you can make, including changing the unit firmware, host name, and system time. Finally this section describes the topology viewer that is available on all FortiGate models except those with model numbers 50 and 60. Firmware management practices describes upgrading and managing firmware versions. You should review this section before upgrading your FortiGate firmware because it contains important information about how to properly back up your current configuration settings and what to do if the upgrade is unsuccessful. Using virtual domains describes how to use VDOMs to operate your FortiGate unit as multiple virtual FortiGate units, which effectively provides multiple separate firewall and routing services to multiple networks. System Network explains how to configure physical and virtual interfaces and DNS settings on the FortiGate unit. System DHCP Server explains how to configure a FortiGate interface as a DHCP server or DHCP relay agent. System Config contains procedures for configuring HA and virtual clustering, configuring SNMP and replacement messages, and changing the operation mode. System Admin guides you through adding and editing administrator accounts, defining admin profiles for administrators, configuring central management using the FortiGuard Management Service or FortiManager, and defining general administrative settings such as language, timeouts, and web administration ports. System Certificates explains how to manage X.509 security certificates used by various FortiGate features such as IPSec VPN and administrator authentication. System Maintenance details how to back up and restore the system configuration using a management computer or a USB disk, as well as how to use revision control, enable FortiGuard services and FortiGuard Distribution Network (FDN) updates, and enter a license key to increase the maximum number of virtual domains. Router Static explains how to define static routes and create route policies. A static route causes packets to be forwarded to a destination other than the factory-configured default gateway. Router Dynamic introduces you to the Routers Dynamic menu, including the available menus and settings that are available within the Dynamic menu. Router Monitor explains how to interpret the Routing Monitor list. The list displays the entries in the FortiGate routing table. Firewall Policy describes how to add firewall policies to control connections and traffic between FortiGate interfaces, zones, and VLAN subinterfaces. This chapter also describes how to add DoS policies to apply DoS sensors to network traffic and how to add sniffer policies to operate the FortiGate unit as an Intrusion Detection System (IDS) appliance by sniffing packets for attacks without actually receiving and otherwise processing the packets. Firewall Address describes how to configure addresses and address groups for firewall policies. Firewall Service describes available services and how to configure service groups for firewall policies.
19
Document conventions
Introduction
Firewall Schedule describes how to configure one-time and recurring schedules for firewall policies. Traffic Shaping describes how to create traffic shaping instances and add them to firewall policies. Firewall Virtual IP describes how to configure and use virtual IP addresses and IP pools. Firewall Load Balance describes how to use FortiGuard load balancing to intercept incoming traffic and balance it across available servers. UTM introduces you to the UTM menu, which includes antivirus, data leak prevention and web filtering. IPsec VPN introduces you to the IPsec VPN menu, which includes information about the menus and settings available within this menu. PPTP VPN explains how to use the web-based manager to specify a range of IP addresses for PPTP clients. SSL VPN introduces you to the SSL VPN menu, and provides information about basic SSL VPN settings. User describes how to control access to network resources through user authentication. WAN optimization and web caching describes how to use FortiGate units to improve performance and security of traffic passing between locations on your wide area network (WAN) or over the Internet. Endpoint describes how to use FortiGate endpoint NAC to enforce the use of FortiClient End Point Security (Enterprise Edition) in your network. Wireless Controller describes how to configure a FortiGate unit to act as a wireless network controller, managing the wireless Access Point (AP) functionality of FortiWiFi units. Log&Report introduces you to the Log&Report menu, which includes reports as well as logging information.
Document conventions
Fortinet technical documentation uses the conventions described below.
IP addresses
To avoid publication of public IP addresses that belong to Fortinet or any other organization, the IP addresses used in Fortinet technical documentation are fictional and follow the documentation guidelines specific to Fortinet. The addresses used are from the private IP address ranges defined in RFC 1918: Address Allocation for Private Internets, available at http://ietf.org/rfc/rfc1918.txt?number-1918.
20
Introduction
Document conventions
Note: Presents useful information, usually focused on an alternative, optional method, such as a shortcut, to perform a step.
Tip: Highlights useful additional information, often tailored to your workplace activity.
Typographical conventions
Fortinet documentation uses the following typographical conventions:
Table 1: Typographical conventions in Fortinet technical documentation Convention Example
Button, menu, text box, From Minimum log level, select Notification. field, or check box label CLI input* config system dns set primary <address_ipv4> end FGT-602803030703 # get system settings comments : (null) opmode : nat HTTP connections are not secure and can be intercepted by a third party. <HTML><HEAD><TITLE>Firewall Authentication</TITLE></HEAD> <BODY><H4>You must authenticate to use this service.</H4> Visit the Fortinet Technical Support web site, https://support.fortinet.com. Type a name for the remote VPN peer or client, such as Central_Office_1. Go to VPN > IPSEC > Auto Key (IKE). For more information, see the FortiGate Administration Guide. Note: Links typically go to the most recent version. To access earlier releases, go to http://docs.fortinet.com/. This link appears at the bottom of each page of this document. * For conventions used to represent command syntax, see CLI command syntax on page 21.
CLI output
21
Document conventions
Introduction
Table 2: Command syntax Convention Square brackets [ ] Description A non-required word or series of words. For example: [verbose {1 | 2 | 3}] indicates that you may either omit or type both the verbose word and its accompanying option, such as: verbose 3 A word constrained by data type. To define acceptable input, the angled brackets contain a descriptive name followed by an underscore ( _ ) and suffix that indicates the valid data type. For example: <retries_int> indicates that you should enter a number of retries, such as 5. Data types include: <xxx_name>: A name referring to another part of the configuration, such as policy_A. <xxx_index>: An index number referring to another part of the configuration, such as 0 for the first static route. <xxx_pattern>: A regular expression or word with wild cards that matches possible variations, such as *@example.com to match all email addresses ending in @example.com. <xxx_fqdn>: A fully qualified domain name (FQDN), such as mail.example.com. <xxx_email>: An email address, such as [email protected]. <xxx_ipv4>: An IPv4 address, such as 192.168.1.99. <xxx_ipv4range>: An IPv4 address range. <xxx_v4mask>: A dotted decimal IPv4 netmask, such as 255.255.255.0. <xxx_ipv4mask>: A dotted decimal IPv4 address and netmask separated by a space, such as 192.168.1.99 255.255.255.0. <xxx_ipv4/mask>: A dotted decimal IPv4 address and CIDRnotation netmask separated by a slash, such as such as 192.168.1.99/24. <xxx_ipv6>: An IPv6 address. <xxx_v6mask>: A dotted decimal IPv6 netmask. <xxx_ipv6mask>: A dotted decimal IPv6 address and netmask separated by a space. <xxx_str>: A string of characters that is not another data type, such as P@ssw0rd. Strings containing spaces or special characters must be surrounded in quotes or use escape sequences <xxx_int>: An integer number that is not another data type, such as 15 for the number of minutes. A word or series of words that is constrained to a set of options delimited by either vertical bars or spaces. You must enter at least one of the options, unless the set of options is surrounded by square brackets [ ].
Curly braces { }
22
Introduction
Table 2: Command syntax Options delimited by vertical bars | Mutually exclusive options. For example: {enable | disable} indicates that you must enter either enable or disable, but must not enter both. Non-mutually exclusive options. For example: {http https ping snmp ssh telnet} indicates that you may enter all or a subset of those options, in any order, in a space-delimited list, such as: ping https ssh Note: To change the options, you must re-type the entire list. For example, to add snmp to the previous example, you would type: ping https snmp ssh If the option adds to or subtracts from the existing list of options, instead of replacing it, or if the list is comma-delimited, the exception will be noted.
Training
Fortinet Training Services provides a variety of training programs to serve the needs of our customers and partners world-wide. Visit the Fortinet Training Services web site at http://campus.training.fortinet.com, or email [email protected].
23
Fortinet documentation
Introduction
Fortinet documentation
The Fortinet Technical Documentation web site, http://docs.fortinet.com, provides the most up-to-date versions of Fortinet publications, as well as additional technical documentation such as technical notes. In addition to the Fortinet Technical Documentation web site, you can find Fortinet technical documentation on the Fortinet Tools and Documentation CD, and on the Fortinet Knowledge Base.
24
Web-based manager
Web-based manager
This section describes the features of the user-friendly web-based manager administrative interface (sometimes referred to as a graphical user interface, or GUI) of your FortiGate unit. Using HTTP or a secure HTTPS connection from any management computer running a web browser, you can connect to the FortiGate web-based manager to configure and manage the FortiGate unit. The recommended minimum screen resolution for the management computer is 1280 by 1024. Some of the information displayed by the web-based manager uses features only supported by the most recent versions most popular web browsers. Older versions of these web browsers may not always work correctly with the web-based manager. You can configure the FortiGate unit for HTTP and HTTPS web-based administration from any FortiGate interface. To connect to the web-based manager you require a FortiGate administrator account and password. The web-based manager supports multiple languages, but by default appears in English on first use. You can go to System > Dashboard > Status to view detailed information about the status of your FortiGate unit on the system dashboard. The dashboard displays information such as the current FortiOS firmware version, antivirus and IPS definition versions, operation mode, connected interfaces, and system resources. It also shows whether the FortiGate unit is connected to a FortiAnalyzer unit and a FortiManager unit or other central management services. You can use the web-based manager menus, lists, and configuration pages to configure most FortiGate settings. Configuration changes made using the web-based manager take effect immediately without resetting the FortiGate unit or interrupting service. You can back up your configuration at any time using the Backup Configuration button on the button bar. The button bar is located in the upper right corner of the web-based manager. The saved configuration can be restored at any time. The web-based manager also includes detailed context-sensitive online help. Selecting Online Help on the button bar displays help for the current web-based manager page. You can use the FortiGate command line interface (CLI) to configure the FortiGate same settings that you can configure from the web-based manager, as well as additional CLIonly settings. The system dashboard provides an easy entry point to the CLI console that you can use without exiting the web-based manager. The following topics are included in this section: Common web-based manager tasks Using FortiGate Online Help Web-based manager pagesWeb-based manager pages
25
Web-based manager
Changing the web-based manager language Changing administrative access to your FortiGate unit Changing the web-based manager idle timeout Switching VDOMs Connecting to the FortiGate CLI from the web-based manager Contacting Customer Support
To connect to the web-based manager 1 Start your web browser and browse to https:// followed by the IP address of the FortiGate unit interface that you can connect to. For example, if the IP address is 192.168.1.99, browse to https://192.168.1.99. (remember to include the s in https://). To support a secure HTTPS authentication method, the FortiGate unit ships with a selfsigned security certificate, which is offered to remote clients whenever they initiate a HTTPS connection to the FortiGate unit. When you connect, the FortiGate unit displays two security warnings in a browser. The first warning prompts you to accept and optionally install the FortiGate units selfsigned security certificate. If you do not accept the certificate, the FortiGate unit refuses the connection. If you accept the certificate, the login page appears. The credentials entered are encrypted before they are sent to the FortiGate unit. If you choose to accept the certificate permanently, the warning is not displayed again. Just before the login page is displayed, a second warning informs you that the FortiGate certificate distinguished name differs from the original request. This warning occurs because the FortiGate unit redirects the connection. This is an informational message. Select OK to continue logging in. 2 Type admin or the name of a configured administrator in the Name field. 3 Type the password for the administrator account in the Password field. 4 Select Login.
26
Web-based manager
To access icons for modifying items within a list 1 In the Check box column, within the row of the setting you want to change, select the check box to highlight the row. The grayed icons are now accessible. On some pages, all icons may not be accessible when you highlight the row. 2 With the icon or icons now accessible, select the icon that you want to use to make modifications with (such as the Edit icon). After the modifications are made, and you are back to the list on the page, the check box is unselected and the row unhighlighted.
27
Web-based manager
enabling or disabling SSH or Telnet administrative access to the CLI (not recommended).
To change administrative access, go to System > Network > Interface, access the Edit icon, and select the administrative access type or types for that interface. Select OK to save the changes. For more information about changing administrative access see Configuring administrative access to an interface on page 101.
Switching VDOMs
When VDOMs are enabled, a menu appears in the left column called Current VDOM. This menu displays a drop-down list beside it. The drop-down list contains all the configured VDOMs on that FortiGate unit. This provides an easy, quick way to access a VDOM. To switch to a VDOM using the Current VDOM menu, select the VDOM that you want to switch to from the drop-down list beside Current VDOM. You are automatically redirected to that VDOM.
You must register your Fortinet product to receive product updates, technical support, and FortiGuard services. To register a Fortinet product, go to Product Registration and follow the instructions.
28
Web-based manager
Show Navigation
Open the online help navigation pane. From the navigation pane you can use the online help table of contents, index, and search to access all of the information in the online help. The online help is organized in the same way as the FortiGate web-based manager and the FortiGate Administration Guide. Display the previous page in the online help. Display the next page in the online help Send an email to Fortinet Technical Documentation at [email protected] if you have comments on or corrections for the online help or any other Fortinet technical documentation product. Print the current online help page. Add an entry for this online help page to your browser bookmarks or favorites list to make it easier to find useful online help pages. Not supported by all browsers.
Print Bookmark
To view the online help table of contents or index, and to use the search feature, select Online Help in the button bar in the upper right corner of the web-based manager. From the online help, select Show Navigation.
29
Web-based manager
Figure 2: Online help page with navigation pane and content pane
Contents
Display the online help table of contents. You can navigate through the table of contents to find information in the online help. The online help is organized in the same way as the FortiGate web-based manager and the FortiGate Administration Guide. Display the online help index. You can use the index to find information in the online help. Display the online help search. For more information, see Searching the online help on page 30. If you have used the index, search, or hyperlinks to find information in the online help, the table of contents may not be visible or the table of contents may be out of sync with the current help page. You can select Show in Contents to display the location of the current help page within the table of contents.
To search in the online help system 1 From any web-based manager page, select the online help button. 2 Select Show Navigation. 3 Select Search. 4 In the search field, enter one or more words to search for and then press the Enter key on your keyboard or select Go. The search results pane lists the names of all the online help pages that contain all the words that you entered. Select a name from the list to display that help page.
FortiGate Version 4.0 MR2 Administration Guide 01-420-89802-20100326 http://docs.fortinet.com/ Feedback
30
Web-based manager
Search Field
Go
Search Results
Alt+8 Alt+9
31
Web-based manager
Wireless Controller
If you log in as an administrator with an admin profile that allows Read Only access to a list, you will only be able to view the items on the list (see Figure ). For more information, see Admin profiles on page 178.
32
Web-based manager
Filters are useful for reducing the number of entries that are displayed on a list so that you can focus on the information that is important to you. For example, you can go to System > Dashboard > Status, and, in the Statistics section, select Details on the Sessions line to view the communications sessions that the FortiGate unit is currently processing. A busy FortiGate unit may be processing hundreds or thousands of communications sessions. You can add filters to make it easier to find specific sessions. For example, you might be looking for all communications sessions being accepted by a specific firewall policy. You can add a Policy ID filter to display only the sessions for a particular Policy ID or range of Policy IDs. You add filters to a web-based manager list by selecting any filter icon to display the Edit Filters window. From the Edit Filters window you can select any column name to filter, and configure the filter for that column. You can also add filters for one or more columns at a time. The filter icon remains gray for unfiltered columns and changes to green for filtered columns. The filter configuration is retained after leaving the web-based manager page and even after logging out of the web-based manager or rebooting the FortiGate unit. Different filter styles are available depending on the type of information displayed in individual columns. In all cases, you configure filters by specifying what to filter on and whether to display information that matches the filter, or by selecting NOT to display information that does not match the filter. On firewall policy, IPv6 policy, predefined signature and log and report log access lists, you can combine filters with column settings to provide even more control of the information displayed by the list. See Using filters with column settings on page 35 for more information.
Note: Filter settings are stored in the FortiGate configuration and will be maintained the next time that you access any list for which you have added filters.
33
Web-based manager
Custom filters
Other custom filters are also available. You can filter log messages according to date range and time range. You can also set the level filter to display log messages with multiple severity levels.
34
Web-based manager
Display the first page of items in the list. Display the previous page of items in the list. The current page number of list items that are displayed. You can enter a page number and press Enter to display the items on that page. For example if there are 5 pages of items and you enter 3, page 3 of the sessions will be displayed. The number of pages of list items that you can view. Display the next page of items in the list. Display the last page of items in the list.
To change column settings on a list that supports it, select Column Settings. From Available fields, select the column headings to be displayed and then select the Right Arrow to move them to the Show these fields in this order list. Similarly, to hide column headings, use the Left Arrow to move them back to the Available fields list. Use Move Up and Move Down to change the order in which to display the columns. For example, you can change interface list column headings to display only the IP/Netmask, MAC address, MTU, and interface Type for each interface.
35
Web-based manager
For example, you can go to Intrusion Protection > Signature > Predefined and configure the Intrusion Protection predefined signatures list to show only the names of signatures that protect against vulnerabilities for a selected application. To do this, set Column Settings to only display Applications and Name. Then apply a filter to Applications so that only selected applications are listed. In the pre-defined signatures list you can also sort the list by different columns; you might want to sort the list by application so that all signatures for each application are grouped together. For more information, see Adding filters to web-based manager lists on page 33.
36
System Dashboard
System Dashboard
This section describes the System Dashboard and its pages, Status and Usage. At a glance, you can view the current system status of the FortiGate unit including serial number, uptime, FortiGuard license information, system resource usage, alert messages and network statistics. If you enable virtual domains (VDOMs) on the FortiGate unit, the status page is available globally and system status settings are configured globally for the entire FortiGate unit. The Topology viewer is not available when VDOMs are enabled. For more information, see Using virtual domains on page 73. This section includes the following topics: Dashboard overview System Information License Information Unit Operation System Resources Alert Message Console Log and Archive Statistics CLI Console Top Sessions Top Viruses Top Attacks Traffic History Top Policy Usage DLP Archive Usage RAID monitor Top Application Usage Disk Status P2P Usage Per-IP Bandwidth Usage VoIP Usage IM Usage FortiGuard
Note: Your browser must support Java script to view the System Dashboard page. The Topology Viewer is not included in FortiOS 4.0 MR2. If upgrading to FortiOS 4.0 MR2, all Topology Viewer configuration settings will be lost.
37
Dashboard overview
System Dashboard
Dashboard overview
The Dashboard menu allows you to add and customize dashboards. Dashboards are menus that allow you to view information, such as traffic activity, from multiple widgets. This information is useful and can help you to update your firmware, reboot your FortiGate unit, or quickly view log and archive statistics. By adding and customizing dashboards, you can allow certain dashboards to contain specific information, such as log information, so that you can go directly to that dashboard to view that particular information. For example, the Archives dashboard (Dashboard > Archives) contains the DLP Archive Usage and Log and Archive Statistics widgets, allowing users to view only log archives information. Administrators must have read and write privileges to customize and add widgets when in either menu. Administrators must have read privileges if they want to view the information in Status and Usage. For more information about administrators and their profiles, see Admin profiles on page 178. This topic contains the following: Adding widgets to a dashboard Adding widgets to a dashboard VDOM and global dashboards
Adding dashboards
Dashboards are first added from the default menus, Status and Usage. You can add, remove or rename a dashboard, regardless of whether it is the Status or Usage menu. You can reset the Dashboard menu to its default settings by selecting Reset Dashboards. To add a dashboard to the dashboard menu 1 Go to Dashboard > Status. 2 Select the Dashboard icon. 3 A drop-down list appears with the following options:
Add Dashboard Rename Dashboard Delete Dashboard Reset Dashboards Add a new dashboard to the Dashboard menu. Rename the current dashboard. You can rename the existing default menus Status and Usage. Removes the current dashboard that you are viewing. Resets the entire Dashboard menu back to its default settings.
4 Select Add Dashboard. 5 Enter a name for the dashboard in the Name field in the Add Dashboard window. 6 Select OK. You are automatically redirected to the new dashboard. You can start adding widgets to the dashboard.
38
System Dashboard
System Information
Available widget settings for customizing a widget Widget Title Open/Close arrow History Edit Refresh Close Shows the name of the display Select to open or close the display. Select to show an expanded set of data. Not available for all widgets. Select to change settings for the display. Select to update the displayed information. Select to close the display. You will be prompted to confirm the action.
Note: The information that appears on Status applies to the whole HA cluster, not just the primary unit. This includes information such as URLs visited, emails sent and received, and viruses caught.
Global administrators with the super_admin admin profile can view only the global dashboard.
System Information
Go to System > Dashboard > Status to find System Information. To add the System Information widget to the dashboard go to System > Dashboard > Status, select Add Content and select System Information from the list.
Serial Number Uptime System Time The serial number of the FortiGate unit. The serial number is specific to the FortiGate unit and does not change with firmware upgrades. The time in days, hours, and minutes since the FortiGate unit was started. The current date and time according to the FortiGate units internal clock. Select Change to change the time or configure the FortiGate unit to get the time from an NTP server. For more information, see Configuring system time on page 41.
39
System Information
System Dashboard
HA Status
The status of high availability for this unit. Standalone indicates the unit is not operating in HA mode. Active-Passive or Active-Active indicate the unit is operating in HA mode. Select Configure to configure the HA status for this unit. For more information, see HA on page 135. The host name of the current FortiGate unit. Select Change to change the host name. For more information, see Changing the FortiGate unit host name on page 41. If the FortiGate unit is in HA mode, this field is not displayed. The name of the HA cluster for this FortiGate unit. For more information, see HA on page 135. The FortiGate unit must be operating in HA mode to display this field. The FortiGate units in the HA cluster. Information displayed about each member includes host name, serial number, and whether the unit is a primary (master) or subordinate (slave) unit in the cluster. For more information, see HA on page 135. The FortiGate unit must be operating in HA mode with virtual domains disabled to display this field. The role of each FortiGate unit in virtual cluster 1 and virtual cluster 2. For more information, see HA on page 135. The FortiGate unit must be operating in HA mode with virtual domains enabled to display these fields. The version of the current firmware installed on the FortiGate unit. The format for the firmware version is Select Update to change the firmware. For more information, see Changing the FortiGate firmware on page 42. The time period of when the configuration file was backed up. You can select Backup to back up the current configuration; when you select Backup, you are automatically redirected to the Backup page. If you want to restore a configuration file, select Restore; when you select Restore, you are automatically redirected to the Restore page.
Host Name
Cluster Name
Cluster Members
Firmware Version
System Configuration
FortiClient Version The currently version of FortiClient uploaded to your FortiGate unit used for endpoint control. This field appears if you can upload a FortiClient image onto your FortiGate unit. For more information, see Configuring FortiClient installer download and version enforcement on page 475. Operation Mode The operating mode of the current FortiGate unit. A FortiGate unit can operate in NAT mode or Transparent mode. Select Change to switch between NAT and Transparent mode. For more information, see Changing the operation mode on page 164 If virtual domains are enabled, this field shows the operating mode of the current virtual domain. Each virtual domain can be operating in either NAT mode or Transparent mode. If virtual domains are enabled, the Global System Status dashboard does not include this field. Status of virtual domains on your FortiGate unit. Select Enable or Disable to change the status of virtual domains feature. If you enable or disable virtual domains, your session will be terminated and you will need to log in again. For more information, see Using virtual domains on page 73.
Virtual Domain
40
System Dashboard
System Information
Current Administrators
The number of administrators currently logged into the FortiGate unit. Select Details to view more information about each administrator that is currently logged in. The additional information includes user name, type of connection, IP address from which they are connecting, and when they logged in. The name of the admin account that you have used to log into the FortiGate unit. If you are authenticated locally by password, not by PKI or remote authentication, you can select Change Password to change the password for this account. When you change the password you are logged out and must log back in with the new password. For more information, see Changing an administrator account password on page 170.
Current User
Automatically adjust Select to automatically adjust the FortiGate system clock when your time zone changes between daylight saving time and standard time. clock for daylight saving changes Set Time Synchronize with NTP Server Select to set the FortiGate system date and time to the values you set in the Hour, Minute, Second, Year, Month and Day fields. Select to use a Network Time Protocol (NTP) server to automatically set the system date and time. You must specify the server and synchronization interval. FortiGate units use NTP Version 4. No RFC is currently available for NTP version 4. The RCF for NTP Version 3 is RFC 1305. For more information about NTP see http://www.ntp.org. Enter the IP address or domain name of an NTP server. To find an NTP server that you can use, see http://www.ntp.org. Specify how often the FortiGate unit should synchronize its time with the NTP server. For example, a setting of 1440 minutes causes the FortiGate unit to synchronize its time once a day.
41
License Information
System Dashboard
To change the FortiGate unit host name 1 Go to System > Dashboard > Status. 2 In the Host Name field of the System Information section, select Change. 3 In the New Name field, type a new host name. 4 Select OK. The new host name is displayed in the Host Name field and the CLI prompt. It is also added to the SNMP System Name.
FortiGate administrators whose admin profiles permit maintenance read and write access can change the FortiGate firmware. Firmware images can be transferred from a number of sources including a local hard disk, a local USB disk, or the FortiGuard Network. Firmware changes either upgrade to a newer version or revert to an earlier version. Follow the appropriate procedure to change your firmware. For more information about using the USB disk, and the FortiGuard Network see System Maintenance on page 215. For more information about managing firmware, see Firmware management practices on page 61. When you select Upgrade (or Downgrade, if downgrading the firmware), you are automatically redirected to the Firmware Upgrade/Downgrade page.
Firmware Upgrade/Downgrade page Provides settings for upgrading or downgrading the firmware on your FortiGate unit. Upgrade From Select the firmware source from the drop down list of available sources. Possible sources include Local Hard Disk, USB, and FortiGuard Network. This field does not appear on all models. Browse to the location of the firmware image on your local hard disk. This field is available for local hard disk and USB only. Select to confirm the the installation of an older firmware image (downgrade). This field only displayed when attempting to downgrade firmware. Go to the FortiGuard Center to learn more about firmware updates through the FortiGuard network.
Note: To access firmware updates for your FortiGate model, you will need to register your FortiGate unit with Customer Support. For more information go to http://support.fortinet.com or contact Customer Support.
License Information
License Information displays the status of your technical support contract and FortiGuard subscriptions. The FortiGate unit updates the license information status indicators automatically when attempting to connect to the FortiGuard Distribution Network (FDN). FortiGuard Subscriptions status indicators are green if the FDN was reachable and the license was valid during the last connection attempt, grey if the FortiGate unit cannot connect to the FDN, and orange if the FDN is reachable but the license has expired.
42
System Dashboard
License Information
When a new FortiGate unit is powered on, it automatically searches for FortiGuard services. If the unit is configured for central management, it will look for FortiGuard services on the configured FortiManager system. The FortiGate unit sends its serial number to the FortiGuard service provider, which then determines whether the FortiGate unit is registered and has valid contracts for FortiGuard subscriptions and FortiCare support services. If the FortiGate unit is registered and has a valid contract, the License Information is updated. If the FortiGate unit is not registered, any administrator with the super_admin profile sees a reminder message that provides access to a registration form. When a contract is due to expire within 30 days, any administrator with the super_admin profile sees a notification message that provides access to an Add Contract form. Simply enter the new contract number and select Add. Fortinet Support also sends contract expiry reminders. Optionally, you can disable notification for registration or contract inquiry. To disable registration notification config system global set registration-notification disable end To disable contract expiry notification config system global set service-expire-notification disable end Selecting any of the Configure options will take you to the Maintenance page. For more information, see System Maintenance on page 215.
Support Contract Displays details about your current Fortinet Support contract including expiry dates and registration status. If Not Registered appears, select Register to register the unit. If Expired appears, select Renew for information on renewing your technical support contract. Contact your local reseller. If Registered appears the name of the support that registered this FortiGate unit is also displayed. You can select Login Now to log into the Fortinet Support account that registered this FortiGate unit. The FortiGuard Antivirus version, license issue date and service status. If your license has expired, you can select Renew to renew the license. The currently installed version of the FortiGuard Antivirus definitions. To update the definitions manually, select Update. For more information, see P2P Usage on page 59. The currently installed version of the extended FortiGuard Antivirus definitions. For more information about the extended antivirus database, see Selecting the virus database on page 527. To update the definitions manually, select Update. For more information, see P2P Usage on page 59. The extended antivirus database is not available on all models. The FortiGuard Intrusion Prevention System (IPS) license version, license issue date and service status. If your license has expired, you can select Renew to renew the license. The currently installed version of the IPS attack definitions. To update the definitions manually, select Update. For more information, see P2P Usage on page 59.
Extended set
43
License Information
System Dashboard
The FortiGuard Web Filtering license status, expiry date and service status. If your license has expired, you can select Renew to renew the license. The FortiGuard Email Filtering or Antispam license status, license expiry date and service status. If your license has expired, you can select Renew to renew the license. The currently installed version of the FortiGuard Email Filtering rule set. To update the rule set manually, select Update. For more information, see P2P Usage on page 59. The FortiGuard Analysis Service and Management Service license, license expiry date, and reachability status. For more information, see Configuring FortiGuard Analysis & Management Service Options on page 227.
Services Account Select Change to enter a different Service Account ID. This ID is used to validate your license for subscription services such as FortiGuard ID Management Service and FortiGuard Analysis Service. For more information, see Configuring FortiGuard Analysis & Management Service Options on page 227. Virtual Domain VDOMs Allowed The maximum number of virtual domains the unit supports with the current license. For high-end FortiGate models, you can select the Purchase More link to purchase a license key through Fortinet technical support to increase the maximum number of VDOMs. For more information, see Adding VDOM Licenses on page 233.
Endpoint Security FortiClient View information about the latest version of the FortiClient application available from FortiGuard for EndPoint NAC. Select Download to download Software Windows Installer the FortiClient application installer to your PC. For more information, see Configuring FortiClient installer download and version enforcement on page 475. Application Signature package The version number of the current endpoint NAC application detection predefined signature package. For more information, see Configuring application sensors on page 473.
44
System Dashboard
Unit Operation
Unit Operation
Caution: Abruptly powering off your FortiGate unit may corrupt its configuration. Using the reboot and shutdown options here or in the CLI ensures proper shutdown procedures are followed to prevent any loss of configuration.
In the Unit Operation widget, an illustration of the FortiGate units front panel shows the status of the units Ethernet network interfaces. If a network interface is green, that interface is connected. Pause the mouse pointer over the interface to view the name, IP address, netmask and current status of the interface. If you select Reboot or ShutDown, a pop-up window opens allowing you to enter the reason for the system event. Your reason will be added to the Disk Event Log if disk logging, event logging, and admin events are enabled. For more information on Event Logging, see Accessing and viewing log messages on page 497. You can only have one management and one logging/analyzing method displayed for your FortiGate unit. The graphic for each will change based on which method you choose. If none are selected, no graphic is shown.
INT / EXT / DMZ / HA / The network interfaces on the FortiGate unit. The names and number of WAN1 / WAN2 / 1 / 2 / these interfaces vary by model. The icon below the interface name indicates its up/down status by color. 3/4 Green indicates the interface is connected. Grey indicates there is no connection. For more information about the configuration and status of an interface, pause the mouse over the icon for that interface. A tooltip displays the full name of the interface, its alias if one is configured, the IP address and netmask, the status of the link, the speed of the interface, and the number of sent and received packets. AMC-SW1/1, ... AMC-DW1/1, ... If your FortiGate unit supports Advanced Mezzanine Card (AMC) modules and if you have installed an AMC module containing network interfaces (for example, the ASM-FB4 contains 4 interfaces) these interfaces are added to the interface status display. The interfaces are named for the module, and the interface. For example AMC-SW1/3 is the third network interface on the SW1 module, and AMC-DW2/1 is the first network interface on the DW2 module. AMC modules support hard disks as well, such as the ASM-S08 module. When a hard disk is installed, ASM-S08 is visible as well as a horizontal bar and percentage indicating how full the hard disk is. You can also add the ASM-CX4 and ASM-FX2 modules to bridge FortiGate interfaces when the FortiGate unit is operating in transparent mode. For more information about AMC modules, see AMC module configuration on page 217. The icon on the link between the FortiGate unit graphic and the FortiAnalyzer graphic indicates the status of their OFTP connection. An X on a red icon indicates there is no connection. A check mark on a green icon indicates there is OFTP communication. Select the FortiAnalyzer graphic to configure remote logging tot he FortiAnalyzer unit on your FortiGate unit. For more information, see Remote logging to a FortiAnalyzer unit on page 491. The icon on the link between the FortiGate unit graphic and the FortiGuard Analysis Service graphic indicates the status of their OFTP connection. An X on a red icon indicates there is no connection. A check mark on a green icon indicates there is OFTP communication. Select the FortiGuard Analysis Service graphic to configure remote logging to the FortiGuard Analysis Service. For more information, see the FortiGuard Analysis and Management Service Administration Guide.
FortiAnalyzer
45
System Resources
System Dashboard
FortiManager
The icon on the link between the FortiGate unit graphic and the FortiManager graphic indicates the status of the connection. An X on a red icon indicates there is no connection. A check mark on a green icon indicates there is communication between the two units. Select the FortiManager graphic to configure central management on your FortiGate unit. For more information, see Central Management on page 182.
FortiGuard The icon on the link between the FortiGate unit graphic and the FortiGuard Management Service Management Service graphic indicates the status of the connection. An X on a red icon indicates there is no connection. A check mark on a green icon indicates there is communication. Select the FortiGuard Management Service graphic to configure central management on your FortiGate unit. For more information, see Central Management on page 182. Reboot Shutdown Select to shutdown and restart the FortiGate unit. You will be prompted to enter a reason for the reboot that will be entered into the logs. Select to shutdown the FortiGate unit. You will be prompted for confirmation, and also prompted to enter a reason for the shutdown that will be entered into the logs.
System Resources
The System Resources widget displays basic FortiGate unit resource usage, such as CPU and memory (RAM) usage. Any System Resources that are not displayed on the status page can be viewed as a graph by selecting the History icon. To see the most recent CPU and memory usage, select the Refresh icon.
History A graphical representation of the last minute of CPU, memory, sessions, and network usage. This page also shows the virus and intrusion detections over the last 20 hours. For more information, see Viewing operational history on page 46. The current CPU status displayed as a dial gauge and as a percentage. The web-based manager displays CPU usage for core processes only. CPU usage for management processes (for example, for HTTPS connections to the web-based manager) is excluded. The displayed CPU usage is equivalent to using the CLI command get system performance status and adding user, system, and nice percentages. Both the web-based CPU Usage and the CLI command access the same CPU information. The current memory (RAM) status displayed as a dial gauge and as a percentage. The web-based manager displays memory usage for core processes only. Memory usage for management processes (for example, for HTTPS connections to the web-based manager) is excluded.
CPU Usage
Memory Usage
FortiAnalyzer Usage The current status of the FortiAnalyzer disk space used by this FortiGate units quota, displayed as a pie chart and a percentage. You can use the System Resources edit menu to select not to display this information. This is available only if you have configured logging to a FortiAnalyzer unit. Disk Usage The current status of the FortiGate unit disk space used, displayed as a pie chart and a percentage. This is available only if you have a hard disk on your FortiGate unit.
46
System Dashboard
The refresh rate is 3 second intervals for the graphs. To view the operational history, go to System > Dashboard > Status , then select History in the upper right corner of the System Resources widget.
Time Interval CPU Usage History Memory Usage History Session History Network Utilization History Virus History Intrusion History Select the time interval to display along the bottom axis of the graphs. Percentage CPU usage for the preceding interval. Percentage memory usage for the preceding interval. Number of sessions over the preceding interval. Network utilization for the preceding interval. Number of Viruses detected over the preceding interval. Number of intrusion attempts detected over the preceding interval.
The following types of messages can appear in the Alert Message Console:
System restart System shutdown Firmware upgraded by <admin_name> Firmware downgraded by <admin_name> FortiGate has reached connection limit for <n> seconds The system restarted. The restart could be due to operator action or power off/on cycling. An administrator shut down the FortiGate unit from the web-based manager or CLI. The named administrator upgraded the firmware to a more recent version on either the active or non-active partition. The named administrator downgraded the firmware to an older version on either the active or non-active partition. The antivirus engine was low on memory for the duration of time shown and entered conserve mode. Depending on model and configuration, content can be blocked or can pass unscanned under these conditions.
Found a new FortiAnalyzer Shows that the FortiGate unit has either found or lost the Lost the connection to FortiAnalyzer connection to a FortiAnalyzer unit. For more information, see Remote logging to a FortiAnalyzer unit on page 491. New firmware is available from FortiGuard An updated firmware image is available to be downloaded to this FortiGate unit.
You can configure the alert message console settings to control what types of messages are displayed on the console. To configure the Alert Message Console 1 Go to System > Dashboard > Status.
FortiGate Version 4.0 MR2 Administration Guide 01-420-89802-20100326 http://docs.fortinet.com/ Feedback
47
System Dashboard
2 Select the Edit icon in the Alert Message Console title bar. 3 Select the types of alerts that the Alert Message Console should display. By default, all alert types are enabled. 4 Select OK.
The date and time when the counts were last reset. Counts are reset when the FortiGate unit reboots, or when you select Reset. Reset the Log and Archive Statistic counts to zero. A summary of the HTTP, HTTPS, email, FTP IM, and VoIP (also called session control) traffic that has passed through the FortiGate unit, and has been archived by DLP. The Details pages list the last items of the selected typeup to 64 itemsand provides links to the FortiAnalyzer unit where the archived traffic is stored. If logging to a FortiAnalyzer unit is not configured, the Details pages provide a link to Log & Report > Log Config > Log Settings. You configure the FortiGate unit to collect DLP archive data for the widget by configuring a DLP sensor to archive its log data. For more information, see DLP archiving on page 371.
48
System Dashboard
You must also add the profile to a firewall policy. When the firewall policy receives sessions for the selected protocols, meta-data is added to the statistics widget. The Email statistics are based on email protocols. POP3 and IMAP traffic is registered as email received, and SMTP is email sent. If your FortiGate unit supports SSL content scanning and inspection, incoming email also includes POP3S and IMAPS and outgoing email also includes SMTPS. If incoming or outgoing email does not use these protocols, these statistics will not be accurate. For more information about SSL content scanning and inspection, see the UTM chapter of the FortiOS Handbook. The IM statistics are based on the AIM, ICQ, MSN, and Yahoo! protocols and configured by selecting Archive in DLP Sensors for IM DLP rules. The VoIP statistics are based on the SIP, SIMPLE and SCCP session control protocols and configured by selecting Archive in DLP Sensors for Session Control DLP rules. Log A summary of traffic, viruses, attacks, spam email messages, and blocked URLs that the FortiGate unit has logged. Also displays the number of sessions matched by DLP and event log messages. The Details pages list the 20 most recent items, providing the time, source, destination and other information. DLP data loss detected actually displays the number of sessions that have matched DLP sensor profiles. DLP collects meta-data about all sessions matched by DLP sensors and records this meta-data in the DLP log. Every time a DLP log message is recorded, the DLP data loss detected number increases. If you are using DLP for summary or full archiving the DLP data loss detected number can get very large. This number may not indicate that data has been lost or leaked.
FTP
IM
49
CLI Console
System Dashboard
IPS
URLs
DLP
CLI Console
The Status page can include a CLI console. To use the console, select it to automatically log in to the admin account you are currently using in the web-based manager. You can copy (CTRL-C) and paste (CTRL-V) text from or to the CLI Console. The two controls located on the CLI Console widget title bar are Customize, and Detach. Detach moves the CLI Console widget into a pop-up window that you can resize and reposition. The two controls on the detached CLI Console are Customize and Attach. Attach moves the CLI console widget back onto the System Status page. Customize allows you to change the appearance of the console by defining fonts and colors for the text and background.
50
System Dashboard
Top Sessions
Preview Text
A preview of your changes to the CLI Consoles appearance. Select the current color swatch next to this label, then select a color from the color palette to the right to change the color of the text in the CLI Console. Select the current color swatch next to this label, then select a color from the color palette to the right to change the color of the background in the CLI Console. Select to display a command input field below the normal console emulation area. When this option is enabled, you can enter commands by typing them into either the console emulation area or the external command input field.
Background
Console buffer length Enter the number of lines the console buffer keeps in memory. Valid numbers range from 20 to 9999. Font Size Select a font from the list to change the display font of the CLI Console. Select the size of the font. The default size is 10 points.
Top Sessions
Top Sessions displays either a bar graph or a table showing the IP addresses that have the most sessions currently open on the FortiGate unit. The sessions are sorted by their source or destination IP address, or the port address. The sort criteria being used is displayed in the top right corner. The Top Sessions widget polls the FortiGate unit for session information, and this slightly impacts the FortiGate unit performance. For this reason when this display is not shown on the dashboard, it is not collecting data, and not impacting system performance. When the display is shown, information is only stored in memory.
Note: Rebooting the FortiGate unit will reset the Top Session statistics to zero.
Select Details to view the current sessions list, a list of all sessions currently processed by the FortiGate unit. For more information, see Viewing the current sessions list on page 52. To view detailed information about the sessions represented by a bar in the chart, click on the bar. To change the information displayed on the Top Sessions widget, select the Edit icon and make the required changes.
Sort Criteria Select the method used to sort the Top Sessions on the System Status display. Choose one of: Source Address Destination Address Port Address Select to include the username associated with this source IP address, if available. In the table display format this will be a separate column. Display UserName is available only when the sort criteria is Source Address. Select to resolve the IP address to the host name. Resolve Host Name is not available when the sort criteria is Destination Port.
51
Top Sessions
System Dashboard
Resolve Service
Select to resolve a port addresses into their commonly associated service names. Any port address without a service, will continue to be displayed as the port address. For example port 443 would resolve to HTTPS. Resolve Service is only available when the sort criteria is Destination Port. Select how the Top Session information is displayed. Choose one of: Chart Table Select the number of sessions to display. Choose to display 5, 10, 15, or 20 sessions. Select how often the display is updated. The refresh interval range is from 10 to 240 seconds. Selecting 0 will disable the automatic refresh of the display. You will still be able to select the manual refresh option on the Top Sessions title bar. Shorter refresh intervals may impact the performance of your FortiGate unit. If this occurs, try increasing the refresh interval or disabling the automatic refresh.
Display Format
Virtual Domain
Next Page Last Page Total Clear All Filters Return Filter Icon
52
System Dashboard
Top Viruses
The destination port of the connection. The number of the firewall policy allowing this session or blank if the session involves only one FortiGate interface (admin session, for example). The time, in seconds, before the connection expires. The age of each session in seconds. The age is the amount of time the session has been active. Stop an active communication session. Your admin profile must include read and write access to System Configuration.
To view the current sessions list 1 Go to System > Dashboard > Status. 2 In the Top Sessions widget, select Details at the bottom of the widget. The current sessions list appears. Optionally select Detach to detach and expand the browser window to see the entire list. 3 Select Return to return to the Top Sessions bar chart display.
Top Viruses
Top Viruses displays a bar graph representing the virus threats that have been detected most frequently by the FortiGate unit. The Top Viruses display is not part of the default dashboard display. It can be displayed by selecting Add Content >Top Viruses from the drop down menu. If you select the history icon, a window opens that displays up to the 20 most recent viruses that have been detected with information including the virus name, when it was last detected, and how many times it was detected. The system stores up to 1024 entries, but only displays up to 20 in the web-based manager. You can configure several settings for this widget when you select the Edit icon in this widgets title bar area. You must select OK to save the settings.
Custom Top Viruses Display Custom Widget Name Enter a new name for the widget. This is optional. Refresh Interval Select display update interval in seconds. Range 10 to 240 seconds. Select 0 to disable updating. You can also update using the Refresh icon in the module header.
Top Viruses To Show Select whether to display top 5, 10, 15, or 20 viruses.
Top Attacks
Top Attacks displays a bar graph representing the most numerous attacks detected by the FortiGate unit. The Top Attacks display is not part of the default dashboard display. It can be displayed by selecting Add Content > Top Attacks from the drop down menu. Selecting the history icon opens a window that displays up to the 20 most recent attacks that have been detected with information including the attack name, when it was last detected, and how many times it was detected. The FortiGate unit stores up to 1024 entries, but only displays up to 20 in the web-based manager. You can configure several settings for this widget when you select the Edit icon in this widgets title bar area. You must select OK to save the settings.
FortiGate Version 4.0 MR2 Administration Guide 01-420-89802-20100326 http://docs.fortinet.com/ Feedback
53
Traffic History
System Dashboard
Custom Top Attacks Display Custom Widget Name Enter a new name for the widget. This is optional. Refresh Interval Select display update interval in seconds. Range 10 to 240 seconds. Select 0 to disable updating. You can also update using the Refresh icon in the module header.
Top Attacks To Show Select whether to display top 5, 10, 15, or 20 attacks.
Traffic History
The traffic history widget shows the traffic on one selected interface over the last hour, day, and month. This feature can help you locate peaks in traffic that you need to address as well as their frequency, duration, and other information. Only one interface at a time can be monitored. You can change the interface being monitored by selecting Edit, choosing the interface from the drop down menu, and selecting Apply. All traffic history data is cleared when you select Apply.
Interface kbit/s Last 60 Minutes Last 24 Hours Last 30 Days Traffic In Traffic Out The interface that is being monitored . The units of the traffic graph. The scale varies based on traffic levels to allow it to show traffic levels no matter how little or how much traffic there is. Three graphs showing the traffic monitored on this interface of the FortiGate unit over different periods of time. Certain trends may be easier to spot in one graph over the others. The traffic entering the FortiGate unit on this interface is indicated with a thin red line. The traffic leaving the FortiGate unit on this interface is indicated with a dark green line, filled in with light green.
You can configure several settings for this widget when you select the Edit icon in this widgets title bar area. You must select OK to save the settings.
Custom Traffic History Display Custom Widget Name Enter a new name for the widget. This is optional. Select Network Interface Enable Refresh Select an interface (FortiGate units interfaces) from the dropdown list. The interface you choose displays the traffic occurring on it. Select to enable the information to refresh.
Top Policy Usage data is collected by all firewall policies. You can configure Top Policy Usage to show data for up to 20 firewall policies. Only firewall policies that have accepted sessions appear on the chart or table.
54
System Dashboard
Reset all counts to zero. Configure module settings. Update displayed information. Close the module. The firewall policy identifier. The cumulative traffic volume for the firewall policy in bytes or packets, depending on the Sort Criteria setting.
To configure the Top Policy Usage module 1 Go to System > Dashboard > Usage. 2 Select the Edit icon in the Top Policy Usage module title bar. 3 Enter the following information and select OK.
Dashboard - Custom Top Policy Usage Display Custom Widget Name Enter a new name for the widget. This is optional. Sort Criteria VDOM Select whether to sort the policies by number of Bytes or number of Packets. Select the VDOM to monitor or select Global. This is available for global administrators only. VDOM administrators see only their only VDOM. Select Chart or Table display. Select whether to display top 5, 10, 15, or 20 applications. Select display update interval in seconds. Range 10 to 240 seconds. Select 0 to disable updating. You can also update using the Refresh icon in the module header.
DLP Archive Usage data is collected by adding a DLP sensor profile to a firewall policy. Only information about sessions matched by DLP sensors is added to the chart or table. Sessions accepted by firewall policies that do not include protection profiles with DLP sensors configured do not contribute to the data displayed.
Reset Edit Refresh Close Reset all counts to zero. Configure module settings. Update displayed information. Close the module.
55
RAID monitor
System Dashboard
Reset all counts to zero. The DLP Rule, firewall policy, profile or protocol, depending on the Report By setting.
The volume of archived data in bytes or messages, depending on the Sort Criteria setting.
You can configure several settings for this widget when you select the Edit icon in this widgets title bar area. You must select OK to save the settings.
Custom DLP Archive Display Custom Widget Name Enter a new name for the widget. This is optional. Report By Sort Criteria Protocol VDOM Select one of: DLP Rule, Profile, Policy, or Protocol. Select whether to sort the results by number of Bytes or number of Messages. Select the protocols to include. Select the VDOM to monitor or select Global. This is available for global administrators only. VDOM administrators see only their only VDOM. This field is not available if Report By is Protocol. Select whether to display top 5, 10, 15, or 20 items. Select display update interval in seconds. Range 10 to 240 seconds. Select 0 to disable updating. You can also update using the Refresh icon in the module header.
RAID monitor
The RAID monitor display shows the current state of the RAID array and each RAID disk. For information on configuring the RAID array, see Configuring the RAID array on page 221. The RAID monitor display is not part of the default dashboard display. It can be displayed by selecting Add Content > RAID Monitor from the drop down menu. The RAID monitor will not be displayed unless your FortiGate unit has more than one disk installed.
Configure Array Status Array status icon Shows the status of the RAID array. Green with a check mark shows a healthy RAID array. Yellow triangle shows the array is in a degraded state but it is still functioning. A degraded array is slower than a healthy array. Rebuild the array to fix the degraded state. A wrench shows the array is being rebuilt. Positioning the mouse over the array status icon displays a text message of the status of the array. There is one icon for each disk in the array. Green with a check mark shows a healthy disk. Red with an X shows the disk has failed and needs attention. Positioning the mouse over the disk status icon displays the status of the disk, and the storage capacity of the disk. The RAID level of this RAID array. The RAID level is set as part of configuring the RAID array. For more information, see RAID levels on page 222. Select to configure the RAID array, or rebuild a degraded array. For more information, see RAID disk configuration on page 221.
RAID Level
56
System Dashboard
RAID monitor
Disk Space Usage Status bar Used/Free/Total The bar shows the percentage of the RAID array that is currently in use. These three numbers show the amount of RAID array storage that is being used, the amount of storage that is free, and the total storage in the RAID array. The values are in GB. Used added to Free should equal Total.
Synchronizing status Display the percent complete of the RAID array synchronization. Synchronizing may take several hours. When synchronizing the status of the RAID array will indicate synchronizing is happening in the background. Synchronizing progress bar is visible only when the RAID array is synchronizing. You may need to select the refresh icon in the widget title bar to update this progress bar. Rebuild status Display the percent complete of the RAID array rebuild. Rebuilding the array may take several hours. While rebuilding the array, it is in a degraded and vulnerable state any disk failure during a rebuild will result in data loss. A warning is displayed indicating the RAID array is running in reduced reliability mode until the rebuild is completed. You may need to select the refresh icon in the widget title bar to update this progress bar.
Status
Size
57
System Dashboard
Rebuild RAID
Select to rebuild the array after a new disk has been added to the array, or after a disk has been swapped in for a failed disk. If you try to rebuild a RAID array with too few disks you will get a rebuild error. After inserting a functioning disk, the rebuild will start. This button is only available when the RAID array is in a degraded state and has enough disks to be rebuilt. You cannot restart a rebuild once a rebuild is already in progress. Note: If a disk has failed, the number of working disks may not be enough for the RAID level to function. In this case, replace the failed disk with a working disk to rebuild the RAID array. The disks position in the array. This corresponds to the physical slot of the disk. If a disk is removed from the FortiGate unit, the disk is marked as not a member of the array and its position is retained until a new disk is inserted in that drive bay. The status of this disk. Options include OK, and unavailable. A disk is unavailable if it is removed or has failed. Display if the selected disk is part of the RAID array. A green icon with a check mark indicates the disk is part of the array. A grey icon with an X indicates the disk is not part of the RAID array. A disk may be displayed as healthy on the dashboard display even when it is not a member in the RAID array. A disk may be available but not used in the RAID array. For example three disks in a RAID 1 array, only two are used. The storage capacity that this drive contributes to the RAID array. The full storage capacity of the disk is used for the RAID array automatically. The total storage capacity of the RAID array depends on the capacity and numbers of the disks, and the RAID level of the array.
Disk#
Status
Member
Capacity
Top Application Usage data collection is started by adding application control black/white lists to protection profiles. Only information about applications matched by application control is added to the chart or table. Sessions accepted by firewall policies that do not include protection profiles with application control configured do not contribute to the data displayed.
Reset Edit Refresh Close Applications Bytes or Messages Reset all counts to zero. Configure module settings. Update displayed information. Close the module. Application names in order of use. Traffic volume in bytes or number of messages, depending on Sort Criteria setting.
58
System Dashboard
Disk Status
To configure the Top Application Usage module, go to System > Dashboard > Usage, and then select the Edit icon in the Top Application Usage module title bar.
Custom Top Application Usage Display Custom Widget Name Sort Criteria Application Details Report By Display User Name Resolve Host Name VDOM Display Format Refresh Interval Enter a new name for the widget. This is optional. Select whether to sort the applications by number of Bytes or number of Messages. The detail information about the application information that will be displayed in the widget. Select Source Address or Destination Address. Select the check box to show the user name (when known) instead of the IP address. Select to use reverse-DNS lookup to determine the host name instead of displaying the IP address. Select the VDOM to monitor or select Global. This is available for global administrators only. VDOM administrators see only their only VDOM. Select Chart or Table display. Select display update interval in seconds. Range 10 to 240 seconds. Select 0 to disable updating. You can also update using the Refresh icon in the module header.
Top Entries To Show Select whether to display top 5, 10, 15, or 20 applications.
Disk Status
The Disk Status widget allows you to view the status of each disk currently installed on your FortiGate unit. The status includes how much space is used and how much free space is available. You can find out more detailed information about a disks status by going to System > Maintenance > Disk. The Disk page displays information regarding the disks health, RAID events, visual representation of the disk, and configuration of the management of the disk. The management configuration could be that three partitions have been configured, with one for firmware, another for logs. and the last for WAN Opt storage. For more information about disk management, see Disk on page 215.
P2P Usage
P2P Usage displays the total bytes and total bandwidth for each supported instant messaging client. These clients are WinNY, BitTorrent, eDonkey, Guntella, and KaZaa. With P2P Usage, you can only modify the default name of the widget. You can only change the name of the P2P Usage widget. To change the name, select the Edit icon in the title bar and then enter a name in the Custom Widget Name field. Select OK to save the change.
59
VoIP Usage
System Dashboard
You can configure several settings for this widget when you select the Edit icon in this widgets title bar area. You must select OK to save the settings.
Custom Per-IP Bandwidth Usage Display Custom Widget Name Enter a new name for the widget. This is optional. Resolve Host Name Display Format Select to display a name instead of the IP address. Select either Chart or Table. If you select Chart, the information displays as a bar chart. If you select Table, the information displays within a table. Select the top entries that will appear within the table or chart. Select display update interval in seconds. Range 10 to 240 seconds. Select 0 to disable updating. You can also update using the Refresh icon in the module header.
VoIP Usage
In the VoIP Usage widget, you can view current active VoIP calls (using over SIP and SCCP protocols), as well as calls that have been dropped, failed or went unanswered. You can easily see how many calls actual succeeded, and how many calls there were in total from when you last cleared the information in the widget. You can only change the name of the VoIP Usage widget. To change the name, select the Edit icon in the title bar and then enter a name in the Custom Widget Name field. Select OK to save the change.
IM Usage
The IM Usage widget provides details about instant messaging clients and their activity that is occurring on your network. From within this widget, you can view information regarding users, chats, messages, file transfer between clients, and any voice chats that occurred as well. IM Usage provides this information for IM, Yahoo!, AIM, and ICQ. You can only change the name of the IM Usage widget. To change the name, select the Edit icon in the title bar and then enter a name in the Custom Widget Name field. Select OK to save the change.
FortiGuard
You can configure a separate Alert Message Console widget that displays only FortiGuard alert information that is received from the FortiGuard Center. You can rename the newly created Alert Message Console widget and select the option FortiGuard security alerts to enable alerts are received and display on the widget. FortiGuard provides you with information regarding the FortiGuard Centers current news and RSS feeds. This version of the Alert Message Console widget displays the RSS feeds from the FortiGuard Center, notifying FortiGuard subscribers about the latest news and threats. To enable the FortiGuard widget, in the added Alert Message Console widget, select the Edit icon in the title bar area. The Custom Alert Display appears, and in the list, select the check box beside FortiGuard security alerts.
60
Installing a patch release without reviewing release notes or testing the firmware may result in changes to settings or unexpected issues. With FortiOS 4.0, you can also configure your FortiGate unit to use NAT while in transparent mode. For more information, see the Fortinet Knowledge Center article, Configuring NAT in Transparent mode. If you enable virtual domains (VDOMs) on the FortiGate unit, system firmware versions are configured globally. For more information, see Using virtual domains on page 73. The following topics are included in this section: Backing up your configuration Testing firmware before upgrading Upgrading your FortiGate unit Reverting to a previous firmware image Restoring your configuration
Note: For more information about the settings that are available on the Backup and Restore page, (such as remotely backing up to a FortiManager unit), see System Maintenance on page 215.
61
You can back up configuration settings to a local PC, a FortiManager unit, FortiGuard Management server, or to a USB key. You can also back up to a FortiGuard Management server if you have FortiGuard Analysis and Management Service enabled. If you have a local hard drive, you can also back up the configuration file to it. If you have partitions enabled on the drive, any configuration files that you back up are stored on a specific partition that you have created for log and system data. Fortinet recommends backing up all configuration settings from your FortiGate unit before upgrading to FortiOS 4.0. This ensures all configuration settings are still available if you require downgrading to FortiOS 3.0 MR7 and want to restore those configuration settings.
62
To back up your configuration file through the CLI 1 Enter the following to back up the configuration file to a USB key: execute backup config usb <backup_filename> <encrypt_passwd> 2 Enter the following to back up the configuration file to a TFTP or FTP server: execute backup config {tftp | ftp} <backup_filename> <tftp_server_ipaddress> <ftp server [:ftp port] <ftp_username> <ftp_passwd> <encrypt_passwd> 3 Enter the following to back up the configuration to a FortiGuard Management server: execute backup config management-station <comment> To back up the entire configuration file through the CLI Enter the following to back up the entire configuration file: execute backup full-config {tftp | ftp | usb} <backup_filename> <backup_filename> <tftp_server_ipaddress> <ftp server [:ftp port] <ftp_username> <ftp_passwd> <encrypt_passwd>
63
64
9 Type the internal IP address of the FortiGate unit. This IP address connects the FortiGate unit to the TFTP server. This IP address must be on the same network as the TFTP server, but make sure you do not use an IP address of another device on the network. The following message appears: Enter File Name [image.out]: 10 Enter the firmware image file name and press Enter. The TFTP server uploads the firmware image file to the FortiGate unit and the following appears: Save as Default firmware/Backup firmware/Run image without saving: [D/B/R] 11 Type R. The FortiGate firmware image installs and saves to system memory. The FortiGate unit starts running the new firmware image with the current configuration. When you have completed testing the firmware, you can reboot the FortiGate unit and resume using the original firmware.
The following procedure describes how to upgrade to FortiOS 4.0 in the web-based manager. Fortinet recommends using the CLI to upgrade to FortiOS 4.0. The CLI upgrade procedure reverts all current firewall configurations to factory default settings. To upgrade to FortiOS 4.0 through the web-based manager 1 Download the firmware image file to your management computer. 2 Log in to the web-based manager. 3 Go to System > Status and locate the System Information widget. 4 Beside Firmware Version, select Update. 5 Enter the path and filename of the firmware image file, or select Browse and locate the file.
65
6 Select OK. The FortiGate unit uploads the firmware image file, upgrades to the new firmware version, restarts, and displays the FortiGate login. This process may take a few minutes. When the upgrade is successfully installed: ping to your FortiGate unit to verify there is still a connection. clear the browsers cache and log in to the web-based manager.
After logging back in to the web-based manager, you should save the configuration settings that carried forward. Some settings may have carried forward from FortiOS 3.0 MR7, while others may not have, such as certain IPS group settings. Go to System > Maintenance > Backup and Restore to save the configuration settings that carried forward.
Note: After upgrading to FortiOS 4.0, perform an Update Now to retrieve the latest FortiGuard signatures from the FortiGuard Distribution Network (FDN) as these signatures included in the firmware may be older than those currently available on the FDN.
The following procedure uses a TFTP server to upgrade the firmware. The CLI upgrade procedure reverts all current firewall configurations to factory default settings. See the Fortinet Knowledge Base article, Loading FortiGate firmware using TFTP for CLI procedure, for additional information about upgrading firmware in the CLI. The following procedure assumes that you have already downloaded the firmware image to your management computer. To upgrade to FortiOS 4.0 through the CLI 1 Copy the new firmware image file to the root directory of the TFTP server. 2 Start the TFTP server. 3 Log in to the CLI. 4 Enter the following command to ping the computer running the TFTP server: execute ping <server_ipaddress> Pinging the computer running the TFTP server verifies that the FortiGate unit and TFTP server are successfully connected. 5 Enter the following command to copy the firmware image from the TFTP server to the FortiGate unit: execute restore image <name_str> <tftp_ipv4> Where <name_str> is the name of the firmware image file and <tftp_ipv4> is the IP address of the TFTP server. For example, if the firmware image file name is image.out and the IP address of the TFTP server is 192.168.1.168, enter: execute restore image.out 192.168.1.168 The FortiGate unit responds with a message similar to the following: This operation will replace the current firmware version! Do you want to continue? (y/n)
66
6 Type y. The FortiGate unit uploads the firmware image file, upgrades to the new firmware version, and restarts. This process takes a few minutes. 7 Reconnect to the CLI. 8 Enter the following command to confirm the firmware image installed successfully: get system status 9 To update antivirus and attack definitions from the CLI, enter the following: execute update-now If you want to update antivirus and attack definitions from the web-based manager instead, log in to the web-based manager and go to System > Maintenance > FortiGuard.
67
When downgrading to a previous firmware, only the following settings are retained: operation mode Interface IP/Management IP route static table DNS settings VDOM parameters/settings admin user account session helpers system accprofiles.
If you created additional settings in FortiOS 4.0, make sure to back up the current configuration before downgrading. For more information, see Backing up your configuration on page 62. To downgrade through the web-based manager 1 Go to System > Dashboard > Status and locate the System Information widget. 2 Beside Firmware Version, select Update. 3 Enter the path and filename of the firmware image file, or select Browse and locate the file.. 4 Select OK. The following message appears: This version will downgrade the current firmware version. Are you sure you want to continue? 5 Select OK. The FortiGate unit uploads the firmware image file, reverts to the old firmware version, resets the configuration, restarts, and displays the FortiGate login. This process takes a few minutes. 6 Log in to the web-based manager. Go to System > Dashboard > Status to verify that the firmware version under System Information has changed to the correct firmware.
68
When downgrading to a previous firmware, only the following settings are retained: operation mode Interface IP/Management IP route static table DNS settings VDOM parameters/settings admin user account session helpers system accprofiles.
If you have created additional settings in FortiOS 4.0, make sure you back up your configuration before downgrading. For more information, see Backing up your configuration on page 62. The following procedure assumes that you have already downloaded the firmware image to your management computer. To downgrade through the CLI 1 Copy the new firmware image file to the root directory of the TFTP server. 2 Start the TFTP server. 3 Log in to the CLI. 4 Enter the following command to ping the computer running the TFTP server: execute ping <server_ipaddress> Pinging the computer running the TFTP server verifies that the FortiGate unit and TFTP server are successfully connected. 5 Enter the following command to copy the firmware image from the TFTP server to the FortiGate unit: execute restore image tftp <name_str> <tftp_ipv4> Where <name_str> is the name of the firmware image file and <tftp_ipv4> is the IP address of the TFTP server. For example, if the firmware image file name is image.out and the IP address of the TFTP server is 192.168.1.168, enter: execute restore image tftp image.out 192.168.1.168 The FortiGate unit responds with the message: This operation will replace the current firmware version! Do you want to continue? (y/n)
69
6 Type y. The FortiGate unit uploads the firmware image file. After the file uploads, a message similar to the following is displayed: Get image from tftp server OK. Check image OK. This operation will downgrade the current firmware version! Do you want to continue? (y/n) 7 Type y. The FortiGate unit reverts to the old firmware version, resets the configuration to factory defaults, and restarts. This process takes a few minutes. After the FortiGate unit uploads the firmware, you need to reconfigure your IP address since the FortiGate unit reverts to default settings, including its default IP address. See your install guide for configuring IP addresses. 8 Reconnect to the CLI. 9 Enter the following command to confirm the firmware image installed successfully: get system status See Restoring your configuration on page 71 to restore you previous configuration settings.
70
71
5 Enter the following command to copy the backed -up configuration file to restore the file on the FortiGate unit: execute restore allconfig <name_str> <tftp_ipv4> <passwrd> Where <name_str> is the name of the backed up configuration file and <tftp_ipv4> is the IP address of the TFTP server and <passwrd> is the password you entered when you backed up your configuration settings. For example, if the backed up configuration file is confall and the IP address of the TFTP server is 192.168.1.168 and the password is ghrffdt123: execute restore allconfig confall 192.168.1.168 ghrffdt123 The FortiGate unit responds with the message: This operation will overwrite the current settings and the system will reboot! Do you want to continue? (y/n) 6 Type y. The FortiGate unit uploads the backed up configuration file. After the file uploads, a message, similar to the following, is displayed: Getting file confall from tftp server 192.168.1.168 ## Restoring files... All done. Rebooting... This may take a few minutes. Use the CLI show shell command to verify your settings are restored, or log in to the web-based manager.
72
Virtual domains
Virtual domains
Virtual domains (VDOMs) are a method of dividing a FortiGate unit into two or more virtual units that function as multiple independent units. A single FortiGate unit is then flexible enough to serve multiple departments of an organization, separate organizations, or to act as the basis for a service providers managed security service.
Benefits of VDOMs
Some benefits of VDOMs are: Easier administration Continued security maintenance Savings in physical space and power
Easier administration
VDOMs provide separate security domains that allow separate zones, user authentication, firewall policies, routing, and VPN configurations. Using VDOMs can also simplify administration of complex configurations because you do not have to manage as many routes or firewall policies at one time. For more information, see VDOM configuration settings on page 74. By default, each FortiGate unit has a VDOM named root. This VDOM includes all of the FortiGate physical interfaces, modem, VLAN subinterfaces, zones, firewall policies, routing settings, and VPN settings. Also you can assign an administrator account restricted to that VDOM. If the VDOM is created to serve an organization, this feature enables the organization to manage its own configuration. Management systems such as SNMP, logging, alert email, FDN-based updates and NTPbased time setting use addresses and routing in the management VDOM to communicate with the network. They can connect only to network resources that communicate with the management virtual domain. The management VDOM is set to root by default, but you can change it. For more information, see Changing the management VDOM on page 84.
73
Virtual domains
74
Virtual domains
The following configuration settings are exclusively part of a virtual domain and are not shared between virtual domains. A regular VDOM administrator sees only these settings. The default super_admin can also access these settings, but must first select which VDOM to configure.
Table 6: VDOM configuration settings Configuration Object System Network Zone Network DNS Database Network Web Proxy Network Routing Table (Transparent mode) Network Modem Wireless Settings Wireless MAC Filter Wireless Monitor Wireless Rogue AP DHCP service Config Replacement Message Configuring zones on page 107 Configuring FortiGate DNS services on page 113 Configuring the explicit web proxy on page 117 Routing table (Transparent Mode) on page 121 Configuring the modem interface on page 107 Wireless settings on page 124 Wireless MAC Filter on page 127 Wireless Monitor on page 127 Rogue AP detection on page 128 Configuring DHCP services on page 132 Replacement messages on page 151 For more information, see
Config Operation mode Changing the operation mode on page 164 (NAT/Route or Transparent) Config Management IP Changing the operation mode on page 164 (Transparent mode) Router Static Dynamic Monitor Firewall Policy Address Service Schedule Virtual IP Virtual IP Group Virtual IP, IP pool Load Balance UTM AntiVirus File Filter Intrusion Protection Web Filter Email Filter File Filter on page 518 Intrusion Protection on page 529 Web Filter on page 547 Email filtering on page 567 Firewall Policy on page 255 Firewall Address on page 293 Firewall Service on page 299 Firewall Schedule on page 307 Firewall Virtual IP on page 311 Virtual IP Groups on page 325 Configuring IP pools on page 325 Firewall Load Balance on page 337 Router Static on page 227 Router Dynamic on page 245 Router Monitor on page 259
75
Virtual domains
Table 6: VDOM configuration settings (Continued) Configuration Object Data Leak Prevention Application Control VoIP VPN IPSec SSL User Local Remote Directory Service PKI User Group Options Monitor WAN optimization and web caching Endpoint NAC Wireless Controller Log&Report Logging configuration Alert E-mail Event Log Log access DLP Archive Report Access How a FortiGate unit stores logs on page 491 Alert E-mail on page 496 Accessing and viewing log messages on page 497 Accessing and viewing log messages on page 497 DLP archiving on page 371 FortiAnalyzer report schedules on page 505 Local user accounts on page 450 Remote on page 451 Directory Service on page 457 PKI on page 458 User Group on page 460 Settings on page 183 Monitoring administrators on page 184 WAN optimization and web caching on page 439 Endpoint on page 471 Wireless Controller on page 479 IPsec VPN on page 411 SSL VPN on page 429 For more information, see Data Leak Prevention on page 585 Application Control on page 603 VoIP on page 375
76
Table 7: Global configuration settings (Continued) Configuration Object For more information, see
Network Options Detect Interface Configuring interface status detection for gateway load Status for Gateway Load Balancing balancing on page 101 Admin Administrators Administrators on page 167 (You can add global administrators. You can also add administrators to VDOMs. VDOM administrators cannot add or configure administrator accounts.) Admin profiles on page 178 Central Management on page 182 Settings on page 183 and Getting started - User authentication on page 449 Settings on page 183 Settings on page 183 Wireless settings on page 124 Wireless MAC Filter on page 127 Wireless Monitor on page 127 Rogue AP detection on page 128 HA on page 135 SNMP on page 140 Replacement messages on page 151 System Certificates on page 189 System Information on page 39 and Firmware on page 199 Managing configuration revisions on page 220 Creating script files on page 213 FortiGuard Distribution Network on page 201
Admin profiles Admin Central Management configuration Admin Settings Idle and authentication time-out Admin Settings Web-based manager language Admin Settings LCD panel PIN, where applicable Wireless Settings Wireless MAC Filter Wireless Monitor WIreless Rogue AP Config HA Config SNMP Config Replacement Message Certificates Configuration backup and restore Maintenance Revision Control Maintenance Scripts Maintenance FDN update configuration Log&Report Log Configuration Alert E-mail
How a FortiGate unit stores logs on page 491 Alert E-mail on page 496
77
When virtual domains are enabled, the web-based manager and the CLI are changed as follows: Global and per-VDOM configurations are separated. For more information, see VDOM configuration settings on page 74, and Global configuration settings on page 76. A new menu appears called Current VDOM, which you can use to go from VDOM to VDOM. For more information, see Switching between VDOMs on page 85. A new VDOM entry appears under the System option. Within a VDOM, reduced dashboard menu options are available, and a new Global option appears. Selecting Global exits the current VDOM. There is no operation mode option at the Global level. Only super_admin profile accounts can view or configure Global level options. Super_admin profile accounts can configure configurations for all VDOM. One or more administrators can be configured for each VDOM; however, these admin accounts cannot edit settings for any VDOMs for which they are not configured.
When virtual domains are enabled, the current virtual domain is displayed at the bottom left of the screen, in the format Current VDOM: <name of the virtual domain>.
This section includes: VDOM licenses Creating a new VDOM Disabling a VDOM Working with VDOMs and global settings Adding interfaces to a VDOM
FortiGate Version 4.0 MR2 Administration Guide 01-420-89802-20100326 http://docs.fortinet.com/ Feedback
78
Inter-VDOM links Assigning an interface to a VDOM Assigning an administrator to a VDOM Changing the management VDOM Switching between VDOMs
VDOM licenses
All FortiGate units, except the FortiGate-30B, support 10 VDOMs by default. If you do not have a System > Maintenance > License tab, your FortiGate model does not support more than 10 VDOMs. High-end FortiGate models support the purchase of a VDOM license key from customer service to increase their maximum allowed VDOMs to 25, 50, 100, 250, or 500. Configuring 250 or more VDOMs will result in reduced system performance.
Table 9: VDOM support by FortiGate model FortiGate model 30B Low and mid-range models High-end models Support VDOMs no yes yes Default VDOM maximum 0 10 10 Maximum VDOM license 0 10 500
Note: Your FortiGate unit has limited resources that are divided amongst all configured VDOMs. These resources include system memory and CPU. When running 250 or more VDOMs, you cannot run Unified Threat Management (UTM) features such as proxies, web filtering, or antivirusyour FortiGate unit can only provide basic firewall functionality.
To obtain a VDOM license key 1 Log in to your FortiGate unit using the admin account. Other accounts such as other super_admin profile accounts may also have sufficient privileges to install VDOM licenses. 2 Go to System > Dashboard > Status. 3 Record your FortiGate unit serial number as shown in System Information on page 39. 4 In the License Information widget, in the Virtual Domains line, select Purchase More. You will then be taken to the Fortinet customer support web site where you can log in and purchase a license key for 25, 50, 100, 250, or 500 VDOMs. 5 When you receive your license key, go to System > Maintenance > License. 6 In the License Key field, enter the 32-character license key you received from Fortinet customer support. 7 Select Apply. To verify the new VDOM license, go to System > Dashboard > Status under Global Configuration. In the License Information area Virtual Domains, VDOMs Allowed shows the maximum number of VDOMs allowed.
79
Note: VDOMs created on a registered FortiGate unit are recognized as real devices by connected FortiAnalyzer units. FortiAnalyzer units include VDOMs in their total number of registered devices. For example, if three FortiGate FortiGate units are registered on a FortiAnalyzer unit and they contain a total of four VDOMs, the total number of registered FortiGate units on the FortiAnalyzer unit is seven units. For more information, see the FortiAnalyzer Administration Guide.
The VDOM names vsys_ha and vsys_fgfm are in use by the FortiGate unit. If you attempt to name a new VDOM vsys_ha or vsys_fgfm, the FortiGate unit will generate an error.
Note: When creating 250 or more VDOMs, you cannot enable UTM features such as proxies, web filtering, and antivirus due to limited resources. Also when creating large numbers of VDOMs, you may experience reduced performance. To improve performance with multiple VDOMs, see Configuring resource usage for individual VDOMs on
page 86. To create a new VDOM 1 Log in as a super_admin profile admin. 2 Ensure VDOMs are enabled. For more information, see Enabling virtual domains on page 77. 3 Go to System > VDOM > VDOM. 4 Select Create New. 5 On the New Virtual Domain page, enter a name for the new VDOM, up to a maximum of 11 characters. This name cannot be changed. 6 Optionally enter a comment for the VDOM, up to a maximum of 63 characters. 7 Select OK.
Disabling a VDOM
When you have multiple VDOMs configured, it can be useful to disable one VDOM temporarily instead of deleting and re-creating it later. Disabling can be used during initial configuration, equipment changes, or even a DoS attack. A disabled VDOM has en empty Enable checkbox. A VDOM with a greyed-out checkbox is the management VDOM can cannot be disabled.
FortiGate Version 4.0 MR2 Administration Guide 01-420-89802-20100326 http://docs.fortinet.com/ Feedback
80
Re-enabling is simply a matter of checking the Enable box and answering the prompt. To disable a VDOM 1 Log in as a super_admin profile admin. 2 Go to System > VDOM > VDOM. 3 For the VDOM to be disabled, unselect the Enable checkbox. 4 Confirm your choice when prompted.
Edit
Delete
Switch Management Change the management VDOM to the selected VDOM in the list. The [<management_vdom>] management VDOM then appears beside the name Switch Management in square brackets, for example, Switch Management [vdom_1]. The default management VDOM is root. For more information, see Changing the management VDOM on page 84. Name Operation Mode The name of the VDOM. The VDOM operation mode, either NAT or Transparent. When a VDOM is in Transparent mode, SNMP can display the management address, address type and subnet mask for that VDOM. For more information, see SNMP on page 140. The interfaces associated with this VDOM, including virtual interfaces. Every VDOM includes an SSL VPN virtual interface named for that VDOM. For the root VDOM this interface is ssl.root. There are three states this column can be in. A green check mark indicates this VDOM is enabled, and that you can select the Enter icon to change to that VDOM. An empty check box indicates this VDOM is disabled. When disabled, the configuration of that VDOM is preserved. The Enter icon is not available. A grayed-out check box indicates this VDOM is the management VDOM. It cannot be deleted or changed to disabled; it is always active. Comments added by an admin when this VDOM was created.
Interfaces
Enable
Comments
New Virtual Domain page Provides settings for configuring a new VDOM. When edit an existing VDOM, you are automatically redirected to the Edit Virtual Domain page where you can modify the maximum and guaranteed amount of system resources. Name Enter a name for the VDOM.
81
Enable Comments
Select to enable the VDOM. Enter a description about the VDOM. This is optional.
Edit Virtual Domain page Provides settings for changing the maximum amount of system resources. Name Enable Comments Resource Usage The name of the VDOM. You cannot change the VDOM name when editing a VDOM. 1 Indicates that the VDOM is either enabled or disabled. You cannot change whether the VDOM is enabled or disable when editing a VDOM. Change the description in this field, if you want. This is optional. Enter a number for the maximum and guaranteed fields. For more information about changing system resource limits, see Configuring resource usage for individual VDOMs on page 86.
Inter-VDOM links
An inter-VDOM link is a pair of interfaces that enable you to communicate between two VDOMs internally without using a physical interface. Inter-VDOM links have the same security as physical interfaces, but allow more flexible configurations that are not limited by the number of physical interfaces on your FortiGate unit. As with all virtual interfaces, the speed of the link depends on the CPU load, but generally it is faster than physical interfaces. There are no MTU settings for inter-VDOM links. DHCP support includes interVDOM links. A packet can pass through an inter-VDOM link a maximum of three times. This is to prevent a loop. When traffic is encrypted or decrypted, it changes the content of the packets and this resets the inter-VDOM counter. However, using IPIP or GRE tunnels does not reset the counter. In HA mode, inter-VDOM links must have both ends of the link within the same virtual cluster. DHCP over IPSec is supported for inter-VDOM links, however regular DHCP services are not available. To view inter-VDOM links, go to System > Network > Interface. When an inter-VDOM link is created, it automatically creates a pair of virtual interfaces that correspond to the two internal VDOMs. Each of the virtual interfaces is named using the inter-VDOM link name with an added 0 or 1. So if the inter-VDOM link is called vlink the interfaces are vlink0 and vlink1. Select the Expand Arrow beside the VDOM link to display the virtual interfaces.
Note: Inter-VDOM links cannot refer to a domain that is in transparent mode.
82
To create an inter-VDOM link 1 Log in as admin. 2 Go to System > Network > Interface. 3 Select the arrow on the Create New button. 4 Select VDOM link. You will see the New VDOM Link screen. 5 Enter the name for the new VDOM link, up to a maximum of 11 characters. The name must not contain any spaces or special characters. Hyphens (-) and underlines (_) are allowed. Remember that the name will have a 0 or 1 attached to the end for the actual interfaces. 6 Configure VDOM link 0. 7 Select the VDOM from the menu that this interface will connect to. 8 Enter the IP address and netmask for this interface. 9 Select the administrative access method or methods. Keep in mind that PING, TELNET, and HTTP are less secure methods. 10 Optionally enter a description for this interface. 11 Repeat steps 7 through 10 for VDOM link 1. 12 Select OK to save your configuration and return to the System > Interface screen.
Before removing these configurations, it is recommended that you back up your configuration, so you can restore it if you want to create this VDOM at a later date. Delete the items in this list or modify them to remove the interface before proceeding. The VDOM field on the Edit screen for that interface will change from being greyed out and locked when there are no more objects tied to that interface.
Note: You can reassign or remove an interface or subinterface once the Delete icon is displayed. If the icon is absent, it means that the interface is being used in a configuration somewhere. Tip: You can disable a VDOM instead of deleting it. Your configuration will be preserved, saving time you would otherwise need to remove and reconfigure it. For more information, see Working with VDOMs and global settings on page 81.
The following procedure describes how to reassign an existing interface from one virtual domain to another. It assumes VDOMs are enabled and more than one VDOM exists.
83
To assign an interface to a VDOM 1 Log in as admin. 2 Go to System > Network > Interface. 3 Select Edit for the interface that you want to reassign. 4 Select the new virtual domain for the interface. 5 Configure other settings as required and select OK. For more information, see Configuring interface settings on page 92. The interface is assigned to the VDOM. Existing firewall virtual IP addresses for this interface are deleted. You should manually delete any routes that refer to this interface, and create new routes for this interface in the new VDOM. Otherwise your network traffic will not be properly routed. For more information on creating static routes, see Router Static on page 227.
To assign an administrator to a VDOM 1 Log in as the super_admin. 2 Ensure that virtual domains are enabled. For more information, see Enabling virtual domains on page 77. 3 Go to System > Admin > Administrators. 4 Create a new administrator account or select the Edit icon of an existing administrator account. 5 Go to the Virtual Domain list. 6 Select the VDOM that this administrator manages. Administrators are assigned to a specific VDOM when the account is created unless they are super_admin administrators. For more information, see Configuring an administrator account on page 169. 7 Configure other settings as required. For detailed information, see Configuring an administrator account on page 169. 8 Select OK.
84
Before you change the management VDOM, ensure that virtual domains are enabled on the system dashboard screen. For more information, see Enabling virtual domains on page 77. Only one VDOM can be the management VDOM at any given time. Global events are logged with the VDOM set to the management VDOM.
Note: You cannot change the management VDOM if any administrators are using RADIUS authentication.
To change the management VDOM 1 Go to System > VDOM > VDOM. 2 From the list of VDOMs, select the VDOM to be the new management VDOM. This list is located to the immediate left of the Apply button. 3 Select Apply to make the change. At the prompt, confirm the change. Management traffic will now originate from the new management VDOM.
85
The number of IPSec VPN Dal-up Tunnels that can be started in a VDOM. When this limit is reached, additional tunnels are dropped. The number of SSL VPN user sessions that can be started in a VDOM. When this limit is reached the VDOM displays a system busy message instead of the login page when a user attempts to login to start an SSL VPN session.
Static resources are controlled by limits in the FortiGate configuration. These limits vary by model and are listed in the FortiGate Maximum Values Matrix. Limiting static resources does not limit the amount of traffic that the VDOM process. Instead limiting static resources controls the number of configuration elements that can be added to a VDOM. You can set the following static resource limits: The number of VPN IPSec Phase 1 and Phase 2 tunnels that can be added to a VDOM configuration. The number of tunnels is limited by the maximum values for the FortiGate model. The number of Firewall policies, Protection Profiles, Firewall Addresses, Firewall Address Groups, Firewall Custom Services, Firewall Service Groups, Firewall One-Time Schedules, and Firewall Recurring Schedules that can be added to a VDOM configuration. The number of Local Users and User Groups that can be added to a VDOM configuration.
86
The Maximum value limits the amount of the resource that can be used by the VDOM. When you add a VDOM, all maximum resource usage settings are 0, indicating that resource limits for this VDOM are controlled by the global resource limits. You do not have to override the maximum settings unless you need to override global limits to further limit the resources available for the VDOM. You cannot set maximum resource usage higher in a VDOM than the corresponding global resource limit. To set global resource limits go to System > VDOM > Global Resources. See Setting VDOM global resource limits on page 86. The Guaranteed value represents the minimum amount of the resource available for that VDOM. Setting the guaranteed value makes sure that other VDOMs do not use all of a resource. A guaranteed value of 0 means that an amount of this resource is not guaranteed for this VDOM. You only have to change guaranteed settings if your FortiGate may become low on resources and you want to guarantee that a minimum level is available for this VDOM.
Resource Usage section on the Edit Virtual Domain page Resource Maximum Name of the resource. Includes dynamic and static resources. Override the global limit to reduce the amount of each resource available for this VDOM. The maximum must the same as or lower than the global limit. The default value is 0, which means the maximum is the same as the global limit. Note: If you set the maximum resource usage for a VDOM you cannot reduce the default maximum global limit for all VDOMs below this maximum. Enter the minimum amount of the resource available to this VDOM regardless of usage by other VDOMs. The default value is 0, which means that an amount of this resource is not guaranteed for this VDOM. The amount of the resource that this VDOM currently uses.
Guaranteed
Current
87
88
System Network
Configuring interfaces
System Network
This section describes how to configure your FortiGate unit to operate in your network. Basic network settings include configuring FortiGate interfaces and DNS options. More advanced configuration includes adding zones and VLAN subinterfaces to the FortiGate network configuration. Optional configurations also include configuring the FortiGate unit as a DNS server and an explicit web proxy server If you enable virtual domains (VDOMs) on the FortiGate unit, you configure interface and networking options globally for the entire FortiGate unit. All interface settings, including adding interfaces to VDOMs, are part of the global configuration. You configure zones, the modem interface, the DNS database, the explicit web proxy, and the Transparent mode routing table separately for each VDOM. For more information, see Using virtual domains on page 73. The following topics are included in this section: Configuring interfaces Configuring zones Configuring the modem interface Configuring FortiGate DNS services Configuring the explicit web proxy Configuring WCCP Routing table (Transparent Mode)
Note: Unless stated otherwise, the term interface can refer to either a physical FortiGate interface or to a virtual FortiGate VLAN subinterface. If you can enter both an IP address and a netmask in the same field, you can use the short form of the netmask. For example, 192.168.1.100/255.255.255.0 can also be entered as 192.168.1.100/24.
Configuring interfaces
Go to System > Network > Interface to configure FortiGate interfaces. Many interface options are available. Different options are available in NAT/Route mode and in Transparent mode. Some of the options available include: modify the configuration of a physical interface add VLAN subinterfaces aggregate several physical interfaces into an IEEE 802.3ad aggregate interface (some models) combine several physical interfaces into a redundant interface (some models) add loopback interfaces add wireless interfaces (FortiWiFi models) and service set identifiers (SSIDs) add VDOM links on FortiGate units with multiple VDOMs enabled add an sFlow sampler to support sFlow (CLI only)
89
Configuring interfaces
System Network
configure the modem interface (on some models) detect interface status for gateway load balancing change the information displayed about the interfaces configure a virtual wireless access point (VAP) interface
Interface page Lists all the interfaces that are default and those that you have created. On this page you can view the status of each interface, create a new interface, edit an existing interface, or remove an interface. Create New Select Create New to add a new interface. When you select Create New, you are automatically redirected to the New Interface page. Depending on the model you can add a VLAN interface, a loopback interface, a IEEE 802.3ad aggregated interface, or a redundant interface. Adding VLAN interfaces on page 95 Adding loopback interfaces on page 95 Adding 802.3ad aggregate interfaces on page 96 Adding redundant interfaces on page 97 When VDOMs are enabled, you can also select Create New to add InterVDOM links. For more information see Inter-VDOM links on page 82. On supported models, select Switch Mode to change between switch mode and interface mode. Switch mode combines some FortiGate interfaces into one switch with one IP address. Interface mode allows you to configure them as separate interfaces. On some FortiGate models you can also select Hub Mode. Hub mode is similar to switch mode except that in hub mode the interfaces do not learn the MAC addresses of the devices on the network they are connected to and may also respond quicker to network changes. Normally, you would only select Hub Mode if you are having network performance issues when operating with switch mode. The configuration of the FortiGate unit is the same whether in switch mode or hub mode. Before switching modes, all configuration settings for the interfaces affected by the change must be set to defaults. When you select Switch Mode the web-based manager displays the list of affected interfaces. See Switch Mode on page 92. Select to make FortiGate -5000 series backplane interfaces visible. Once visible, these interfaces can be configured as regular physical interfaces. Select to change the columns of information that are displayed on the interface list. Fore more information, see Using column settings to control the columns displayed on page 35. Display a description for the interface is one has been added. For more information, see Configuring interface settings on page 92. The names of the physical interfaces on your FortiGate unit. This includes any alias names that have been configured. The names of the physical interfaces depend on the model. Some names indicate the default function of the interface such as internal, external, wan1 (wide are network), wlan (wireless LAN) and dmz. Other names are more generic such as port1, port20, and so on. Some FortiGate models also include a modem interface named modem. See Configuring the modem interface on page 107. When you combine several interfaces into an aggregate or redundant interface, only the aggregate or redundant interface is listed, not the component interfaces. See Adding 802.3ad aggregate interfaces on page 96 or Adding redundant interfaces on page 97. On FortiGate models that support switch mode, the individual interfaces in the switch are not displayed when in switch mode. For more information, see Switch Mode on page 92. If you have added VLAN interfaces, they also appear in the name list, below the physical or aggregated interface to which they have been added. See the FortiGate VLANs and VDOMs Guide.
Switch Mode
Description Name
90
System Network
Configuring interfaces
f you have added loopback interfaces, they also appear in the interface list, below the physical interface to which they have been added. If you have software switch interfaces configured, you will be able to view them. For more information, see Adding software switch interfaces on page 105. If you have interface mode enabled on a FortiGate model with a switch interface, you will see multiple internal interfaces. If switch mode is enabled, there will only be one internal interface. For more information see Switch Mode on page 92. If your FortiGate unit supports AMC modules and have installed an AMC module containing interfaces (for example, the ASM-FB4 contains 4 interfaces) these interfaces are added to the interface status display. The interfaces are named amc-sw1/1, amc-dw1/2, and so on. sw1 indicates it is a single width or double width card respectively in slot 1. The last number /1 indicates the interface number on that card - for the ASM-FB4 card there would be /1 through /4. IP/Netmask The current IP address/netmask of the interface. In VDOM mode, when VDOMs are not all in NAT or Transparent mode some values may not be available for display and will be displayed as - instead. When IPv6 Support is enabled on the web-based manager, IPv6 addresses may be displayed in this column. The administrative access configuration for the interface. For more information, see Configuring administrative access to an interface on page 101. The administrative status for the interface. If the administrative status is a green arrow, the interface is up and can accept network traffic. If the administrative status is a red arrow, the interface is administratively down and cannot accept traffic. To change the administrative status of an interface, select the Edit icon to edit the interface and change the Administrative Status setting for the interface. The status of the interface physical connection. Link status can be either up or down. If link status is up there is an active physical connection between the physical interface and a network switch. If link status is down the interface is not connected to the network or there is a problem with the connection. You cannot change link status from the web-based manager. Link status is only displayed for physical interfaces. The MAC address of the interface. Shows the addressing mode of the interface. The addressing mode can be manual, DHCP, or PPPoE. The maximum number of bytes per transmission unit (MTU) for the interface. See Changing interface MTU packet size on page 102. Displays the secondary IP addresses added to the interface. See Adding secondary IP addresses to an interface on page 103. The type of the interface. Valid types include: Physical - a physical network interface, including the modem interface VLAN - a VLAN interface Aggregate - a group of 802.3ad aggregated interfaces Redundant - a group of redundant interfaces VDOM Link - a pair of virtual interfaces that link two VDOMs Pair - one two interfaces that are joined together, such as 2 VDOM links Switch - two or more interfaces joined together to create a software switch interface Tunnel - a virtual IPSec VPN interface VAP - a wireless controller virtual access point (VAP or virtual AP) interface The virtual domain to which the interface belongs. This column is visible when VDOM configuration is enabled. The configured VLAN ID for VLAN subinterfaces.
Access
Administrative Status
Link Status
91
Configuring interfaces
System Network
Delete
Delete the interface. Available for interfaces added by selecting Create New. For example, you can delete VLAN, loopback, aggregate, and redundant interfaces. You can only deleted an interface if it is not used in another configuration. Change the interfaces configuration. View the interfaces configuration.
Edit View
Switch Mode
Switch mode allows you to switch a group of related FortiGate interfaces to operate as a multi-port switch with one IP address. Switch mode is available on FortiGate models with switch hardware. The switch mode feature has two states - switch mode and interface mode. Switch mode is the default mode with only one interface and one address for the entire internal switch. Interface mode allows you to configure each of the internal switch physical interface connections separately. This allows you to assign different subnets and netmasks to each of the internal physical interface connections. Before you are able to change between switch mode and interface mode, all configuration settings for the affected interfaces must be set to defaults. This includes firewall policies, routing, DNS forwarding, DHCP services, VDOM interface assignments, and routing. If they are not removed, you will not be able to switch modes, and you will see an error message. The web-based manager displays the list of affected interfaces. Selecting Switch Mode on the System > Network > Interface screen displays the Switch Mode Management screen. From the FortiGate CLI you can also add software switch interfaces. For more information, see Adding software switch interfaces on page 105.
Interface page (FortiWiFi models only) Provides settings for switching a group of related FortiGate interfaces to operate as a multi-port switch with one IP address. Switch Mode Interface Mode Hub Mode Select Switch Mode. Only one internal interface is displayed. This is the default mode. Select Interface Mode. All internal i nterfaces on the switch are displayed as individually configurable interfaces. On some FortiGate models you can select Hub Mode. Hub mode is similar to switch mode except t hat in hub mode the interfaces do not learn the MAC addresses of the devices on the network they are connected to and may also respond quicker to network changes in some circumstances. You should only select Hub Mode if you are having network performance issues when operating with switch mode. The configuration of the FortiGate unit is the same whether in switch mode or hub mode.
92
System Network
Configuring interfaces
New Interface page Provides settings for configuring a new interface. When you select Create New on the Interface page, you are automatically redirected to this page. If you are editing an existing interface, you are automatically redirected to the Edit Interface page. Name The name of the interface. You can specify and change the names of VLAN,
You cannot change the name of an existing interface. The interface display also includes the MAC address of the physical interface. Alias Enter another name for the interface that will easily distinguish this interface from another. This is available only for physical interfaces where you cannot configure the name. The alias can be a maximum of 15 characters. The alias name is not part of the interface name, but it will appear in brackets beside the interface name. It will not appears in logs. Indicates whether the interface is connected to a network (link status is Up) or not (link status is Down). When adding a new interface, set Type to the type of interface that you want to add: Set Type to VLAN to add a VLAN interface. SeeAdding VLAN interfaces on page 95 Set Type to Loopback Interface to add a loopback interface. See Adding loopback interfaces on page 95 On some models you can set Type to 802.3ad Aggregate to add an aggregate interface. SeeAdding 802.3ad aggregate interfaces on page 96) On some models you can set Type to Redundant Interface to add a redundant interface. SeeAdding redundant interfaces on page 97 Other types include: Software Switch - a software switch interface. See Adding software switch interfaces on page 105. Tunnel - a virtual IPSec VPN interface. See Configuring virtual IPSec interfaces on page 100. VAP Interface - a wireless controller virtual access point (VAP or virtual AP) interface. See Configuring a virtual wireless access point on page 480. You cannot change the Type except when adding a new interface.
Interface
Select the name of the physical interface to which to add a VLAN interface. Once created, the VLAN interface is listed below its physical interface in the Interface list. You cannot change the physical interface of a VLAN interface except when adding a new VLAN interface. Displayed when Type is set to VLAN. Enter the VLAN ID that matches the VLAN ID of the packets to be received by this VLAN subinterface. You cannot change the VLAN ID except when add a new VLAN interface. The VLAN ID can be any number between 1 and 4094 and must match the VLAN ID added by the IEEE 802.1Q-compliant router or switch connected to the VLAN subinterface. For more information, see Adding VLAN interfaces on page 95. Displayed when Type is set to VLAN.
VLAN ID
Virtual Domain Select the virtual domain to add the interface to. Admin accounts with super_admin profile can change the Virtual Domain. Physical Interface Members This section has two different forms depending on the interface type: Software switch interface - this section is a display-only field showing the interfaces that belong to the software switch virtual interface. See Adding software switch interfaces on page 105. 802.3ad aggregate or Redundant interface - this section includes available interface and selected interface lists to enable adding or removing interfaces from the interface. See Adding 802.3ad aggregate interfaces on page 96 and Adding redundant interfaces on page 97.
93
Configuring interfaces
System Network
Select interfaces from this list to include in the grouped interface - either redundant or aggregate interface. Select the right arrow to add an interface to the grouped interface. These interfaces are included in the aggregate or redundant interface. Select the left arrow to remove an interface from the grouped interface. For redundant interfaces, the interfaces will be activated during failover from the top of the list to the bottom Select the addressing mode for the interface. Select Manual and add an IP/Netmask for the interface. If IPv6 configuration is enabled you can add both a IPv4 and an IPv6 IP address. Select DHCP to get the interface IP address and other network settings from a DHCP server. See Configuring DHCP on an interface on page 98 Select PPPoE to get the interface IP address and other network settings from a PPPoE server. See Configuring PPPoE on an interface on page 99. If Addressing Mode is set to Manual, enter an IPv4 address/subnet mask for the interface. Two FortiGate interfaces cannot have IP addresses on the same subnet. If Addressing Mode is set to Manual and IPv6 support is enabled on the web-based manager, enter an IPv6 address/subnet mask for the interface. A single interface can have both an IPv4 and IPv6 address or just one or the other.
Addressing mode
IP/Netmask
IPv6 Address
Enable one-arm Select to configure this interface to operate as a one-armed sniffer as part of configuring a FortiGate unit to operate as an IDS appliance by sniffing packets for sniffer attacks without actually receiving and otherwise processing the packets. Once the interface is enabled for sniffing you cannot use the interface for other traffic. You must add sniffer policies for the interface to actually sniff packets. For more information on one-armed IPS, see Firewall Policy Using one-arm sniffer policies to detect network attacks on page 271. Enable explicit Select to enable explicit web proxying on this interface. When enabled, this interface will be displayed on System > Network > Web Proxy under Listen on Web Proxy Interfaces and web traffic on this interface will be proxied according to the Web Proxy settings. For more information, see Configuring the explicit web proxy on page 117. Enable DDNS Override Default MTU Value Select Enable DDNS to configure a Dynamic DNS service for this interface. For more information, see Configuring Dynamic DNS on an interface on page 99. To change the MTU, select Override default MTU value (1 500) and enter the MTU size based on the addressing mode of the interface 68 to 1 500 bytes for static mode 576 to 1 500 bytes for DHCP mode 576 to 1 492 bytes for PPPoE mode larger frame sizes if supported by the FortiGate model Only available on physical interfaces. Virtual interfaces associated with a physical interface inherit the physical interface MTU size. For more information on MTU size, see Changing interface MTU packet size on page 102. Note: In Transparent mode, if you change the MTU of an interface, you must change the MTU of all interfaces to match the new MTU. Select to configure the interface to accept DNS queries. Select recursive or nonrecursive. For more information, see Configuring FortiGate DNS services on page 113. Look up domain names in the FortiGate DNS database. If the entry is not found, relay the request to the DNS servers configured under System > Network > Options. Look up domain names in the FortiGate DNS database. Do not relay the request to the DNS servers configured under System > Network > Options.
nonrecursive
Administrative Select the types of administrative access permitted for IPv4 connections to this interface. Access
94
System Network
Configuring interfaces
Ipv6 Select the types of administrative access permitted for IPv6 connections to this Administrative interface. Access HTTPS PING HTTP SSH SNMP TELNET Allow secure HTTPS connections to the web-based manager through this interface. Interface responds to pings. Use this setting to verify your installation and for testing. Allow HTTP connections to the web-based manager through this interface. HTTP connections are not secure and can be intercepted by a third party. Allow SSH connections to the CLI through this interface. Allow a remote SNMP manager to request SNMP information by connecting to this interface. See Configuring SNMP on page 141. Allow Telnet connections to the CLI through this interface. Telnet connections are not secure and can be intercepted by a third party.
Detect Interface Configure interface status detection for the main interface IP address. See Configuring interface status detection for gateway load balancing on page 101. Status for Gateway Load Balancing Secondary IP Address Description Add additional IPv4 addresses to this interface. Select the blue arrow to expand or hide the section. See Adding secondary IP addresses to an interface on page 103. Enter a description up to 63 characters to describe the interface.
Administrative Select either Up (green arrow) or Down (red arrow) as the status of this interface. Status Up indicates the interface is active and can accept network traffic. Down indicates the interface is not active and cannot accept traffic.
95
Configuring interfaces
System Network
A loopback interface is not connected to hardware, so it is not affected by hardware problems. As long as the FortiGate unit is functioning, the loopback interface is active. This always up feature is useful in dynamic routing where the FortiGate unit relies on remote routers and the local Firewall policies to access to the loopback interface. To add a loopback interface - web-based manager 1 Go to System > Network > Interface. 2 Select Create New and set Type to Loopback Interface to add a loopback interface. 3 Configure the loopback interface settings. The loopback interface must have a Name. You can also configure administrative access and add a description. Fore more information, see Configuring interface settings on page 92. 4 Select OK. To add a loopback interface - CLI The CLI command to configure a loopback interface called loop1 with an IP address of 10.0.0.10 is:
config system interface edit loop1 set type loopback set ip 10.0.0.10 255.255.255.0 end
For more information, see the config system interface section in the FortiGate CLI Reference.
Interfaces included in an aggregate interface are not listed on the System > Network > Interface list. You cannot configure the interface individually and it is not available for inclusion in firewall policies, firewall virtual IPs, or routing.
96
System Network
Configuring interfaces
Note: You can add an accelerated interface (FA2 interfaces) to an aggregate link, but you will lose the FA2 acceleration. For example, if you aggregate two accelerated interfaces you will get slower throughput than if the two interfaces were separate.
To create an 802.3ad Aggregate interface 1 Go to System > Network > Interface. 2 Select Create New. 3 In the Name field, enter a name for the aggregated interface. The interface name must be different from any other interface, zone or VDOM. 4 From the Type list, select 802.3ad Aggregate. 5 In the Available Interfaces list, move two or more interfaces to include in the aggregate interface to the Selected Interfaces list. 6 Configure other interface options as required. See Configuring interface settings on page 92. 7 Select OK.
When an interface is included in a redundant interface, it is not listed on the System > Network > Interface page. You cannot configure the interface individually and it is not available for inclusion in firewall policies, VIPs, or routing. To create a redundant interface 1 Go to System > Network > Interface. 2 Select Create New. 3 In the Name field, enter a name for the redundant interface. The interface name must different from any other interface, zone or VDOM.
97
Configuring interfaces
System Network
4 From the Type list, select Redundant Interface. 5 In the Available Interfaces list, select each interface that you want to include in the redundant interface and move it to the Selected Interfaces list. In a failover situation, the interface activated will be the next interface down the Selected Interfaces list. 6 Configure other interface options as required. See Configuring interface settings on page 92. 7 Select OK.
Default Gateway
Distance
98
System Network
Configuring interfaces
Addressing mode section of New Interface page Status Displays PPPoE status messages as the FortiGate unit connects to the PPPoE server and gets addressing information. Select Status to refresh the addressing mode status message. Only displayed if you selected Edit. Status can be one of the following 4 messages. No activity. The interface is attempting to connect to the PPPoE server. The interface retrieves an IP address, netmask, and other settings from the PPPoE server. When the status is connected, PPPoE connection information is displayed. The interface was unable to retrieve an IP address and other information from the PPPoE server. Select to reconnect to the PPPoE server. Only displayed if Status is connected. The PPPoE account user name. The PPPoE account password. Specify the IP address for the interface. If your ISP has assigned you a block of IP addresses, use one of them. Otherwise, this IP address can be the same as the IP address of another interface or can be any IP address. Enter Initial discovery timeout. Enter the time to wait before starting to retry a PPPoE discovery. Enter Initial PPPoE Active Discovery Terminate (PADT) timeout in seconds. Use this timeout to shut down the PPPoE session if it is idle for this number of seconds. PADT must be supported by your ISP. Set initial PADT timeout to 0 to disable. Enter the administrative distance for the default gateway retrieved from the PPPoE server. The administrative distance, an integer from 1-255, specifies the relative priority of a route when there are multiple routes to the same destination. A lower administrative distance indicates a more preferred route. The default distance for the default gateway is 1. Enable to retrieve a default gateway IP address from a PPPoE server. The default gateway is added to the static routing table. Enable to replace the DNS server IP addresses on the System DNS page with the DNS addresses retrieved from the PPPoE server. When VDOMs are enabled, you can override the internal DNS only on the management VDOM.
99
Configuring interfaces
System Network
DDNS is available only in NAT/Route mode. To configure DDNS on an interface 1 Get the DDNS configuration information from your DDNS service. 2 Go to System > Network > Interface. 3 Select Create New. 4 Enable DDNS. 5 Enter DDNS configuration information. If at any time your FortiGate unit cannot contact the DDNS server, it will retry three times at one minute intervals and then change to retrying at three minute intervals. This is to prevent flooding the DDNS server.
The following appears after selecting Enable DDNS: Server Domain Username Password Select a DDNS server to use. The client software for these services is built into the FortiGate firmware. The FortiGate unit can connect only to one of these services. Enter the fully qualified domain name of the DDNS service. Enter the user name to use when connecting to the DDNS server. Enter the password to use when connecting to the DDNS server.
100
System Network
Configuring interfaces
Allow HTTP connections to the web-based manager through this interface. HTTP connections are not secure and can be intercepted by a third party. Allow SSH connections to the CLI through this interface. Allow a remote SNMP manager to request SNMP information by connecting to this interface. See Configuring SNMP on page 141. Allow Telnet connections to the CLI through this interface. Telnet connections are not secure and can be intercepted by a third party. Enter a description of the interface. It can be up to 63 characters.
For more information on configuring administrative access in Transparent mode, see Operation mode and VDOM management access on page 163. To control administrative access to an interface 1 Go to System > Network > Interface. 2 Edit the interface that you want to control administrative access on. 3 Select the Administrative Access methods for the interface. 4 Select OK.
101
Configuring interfaces
System Network
To configure gateway failover detection for an interface, from the web-based manager go to System > Network > Interface and edit an interface. Select Detect Interface Status for Gateway Load Balancing, enter the IP address of the server to test connecting to and select one or more protocols to use to test the connection to the server. If you have added secondary IP addresses to an interface you can also configure interface status detection separately for each secondary IP address.
Note: As long as the FortiGate unit receives responses for at least one of the protocols that you select, the FortiGate unit assumes the server is operating and can forward packets. Responses that are received to more than one protocol does not enhance the status of the server or interface, and receiving responses from fewer protocols does not reduce the status of the server or interface. The Detect Interface Status for Gateway Load Balancing section of the New Interface page Detect Server Ping TCP Echo The IP address of the server to test connecting to. Use standard ICMP ping to confirm that the server is responding. Ping confirms that the server can respond to an ICMP ping request. Use TCP echo to confirm that the server is responding. Select this option if the server is configured to provide TCP echo services. In some cases a server may be configured to reply to TCP echo requests but not to reply to ICMP pings. TCP echo uses TCP packets on port number 7 to send a text string to the server and expect an echo reply back from the server. The echo reply just echoes back the same text to confirm that the server can respond to TCP requests. FortiGate units do not recognize RST (reset) packets from TCP Echo servers as normal TCP echo replies. If the FortiGate receives an RST response to a TCP echo request, the FortiGate unit assumes the server is unreachable. Use UDP echo to detect the server. Select this option of the server is configured to provide UDP echo services. In some cases a server may be configured to reply to UDP echo requests but not to reply ICMP pings. UDP echo uses UDP packets on port number 7 to send a text string to the server and expects an echo reply from the server. The echo reply just echoes back the same text to confirm that the server can respond to UDP requests. Set the spillover threshold to limit the amount of bandwidth processed by the Interface. The Spillover Thresholds range is 0-2097000 KBps. The FortiGate unit sends all ECMP-routed sessions to the lowest numbered interface until the bandwidth being processed by this interface reaches its spillover threshold. The FortiGate unit then spills additional sessions over to the next lowest numbered interface. For more information, including the order in which interfaces are selected, see ECMP route failover and load balancing on page 235.
UDP Echo
Spillover Threshold
Note: For more information about TCP echo and UDP echo, see RFC 862.
102
System Network
Configuring interfaces
To be able to send larger frames over a route, all Ethernet devices on that route must support that larger frame size, otherwise your larger frames will not be recognized and are dropped. If you have standard size and larger size frame traffic on the same interface, routing alone cannot route them to different routes based only on frame size. However you can use VLANs to make sure the larger frame traffic is routed over network devices that support that larger size. VLANs will inherit the MTU size from the parent interface. You will need to configure the VLAN to include both ends of the route as well as all switches and routers along the route. For more information on VLAN configurations, see the VLAN and VDOM guide. To change the MTU size of the packets leaving an interface 1 Go to System > Network > Interface. 2 Choose a physical interface and select Edit. 3 Below Administrative Access, select Override default MTU value (1 500). 4 Set the MTU size. If you select an MTU size larger than your FortiGate unit supports, an error message will indicate this. In this situation, try a smaller MTU size until the value is supported.
Note: If you change the MTU, you need to reboot the FortiGate unit to update the MTU value of VLAN subinterfaces on the modified interface. In Transparent mode, if you change the MTU of an interface, you must change the MTU of all interfaces on the FortiGate unit to match the new MTU.
103
Configuring interfaces
System Network
7 Select OK or Apply at the bottom of the Edit Interface dialog to add the secondary IP addresses to the interface.
Tip: After adding secondary IP addresses and selecting OK to save changes to the Edit Interface dialog, you should view the interface again to make sure the secondary IP addresses have been added as expected. Secondary IP Address section of the New Interface page Lists the secondary IP addresses that you created. Add IP/Netmask Detect Server Enable Detect Server Detect Protocol Administrative Access Delete Edit Select to create a new secondary IP address. When you select Add, you are automatically redirected to the Edit Interface page. The IP address and netmask for the secondary IP. Indicates whether interface status detection is enabled for the secondary IP address. The IP address of the detect server for the secondary IP address. The same detect server can be shared by multiple secondary IP addresses. The detect protocols configured for the secondary IP address. The administrative access methods for this address. They can be different from the primary IP address. Select to remove this secondary IP address. Edit the selected secondary IP address. When you select the Edit icon the settings for the secondary IP address to edit appear in the fields above the secondary IP address table. You can edit these settings and select OK to save changes to the secondary IP address. Note: If you select the Edit icon to edit a secondary IP address and change the IP/Netmask, when you select OK a new secondary IP address is added. If you only wanted to change the IP/Netmask and not add a new secondary IP address you should delete the secondary IP address that you selected the Edit icon for.
Edit Interface page Provides settings for configuring the IP addresses. When you select Add, you are automatically redirected to this page. IP/Netmask Enter the IP address/subnet mask of the secondary IP address. The Secondary IP address must be on a different subnet than the Primary IP address. To Configure interface status detection for the secondary IP address. See Configuring interface status detection for gateway load balancing on page 101. Enter the server that will be used. Enter the protocols for the secondary IP address. You can choose from ping, udp-echo and tcp-echo. Select the types of administrative access permitted on the secondary IP. Allow secure HTTPS connections to the web-based manager through this secondary IP. Allow secondary IP to respond to pings. Use this setting to verify your installation and for testing. Allow HTTP connections to the web-based manager through this secondary IP. HTTP connections are not secure and can be intercepted by a third party. Allow SSH connections to the CLI through this secondary IP.
Detect Interface Status for Gateway Load Balancing Detect Server Detect Protocol Administrative Access HTTPS PING HTTP SSH
104
System Network
Configuring interfaces
SNMP TELNET
Allow a remote SNMP manager to request SNMP information by connecting to this secondary IP. See Configuring SNMP on page 141. Allow Telnet connections to the CLI through this secondary IP. Telnet connections are not secure and can be intercepted by a third party.
105
Configuring interfaces
System Network
To configure the FortiGate unit to send sFlow datagrams to an sFlow collector You can only configure sFlow from the CLI. To begin using sFlow you must add the IP address of your sFlow connector to the FortiGate configuration and then configure sFlow agents on FortiGate interfaces. 1 Enter the following command to set the IP address of your sFlow collector to 172.20.120.11: config system sflow set collector-ip 172.20.120.11 end 2 If required you can also change the UDP port number that the sFlow agent uses. You should only change this port if required by your network configuration or sFlow collector. The default sFlow port is 6343. The following command changes the sFlow agent port to 5345 config system sflow set collector-port 6345 end 3 Use the following command to enable sFlow for the port1 interface: config system interface edit port1 set sflow-sample enable end 4 Repeat this step to add sFlow agents to the FortiGate interfaces. 5 You can also change the sampling rate, polling interval, and sample direction for each sFlow agent: config system interface edit port1 set sample-rate <rate_number> set polling-interval <frequency> set sample-direction {both | rx | tx} end
106
System Network
Configuring zones
Configuring zones
Group interfaces into zones to simplify policy creation. By grouping interfaces into a zone you can add one set of firewall policies for the zone instead of adding separate policies for each interface. Once you add interfaces to a zone you cannot configure policies for the interfaces, but only for the zone. You can add all types of interfaces to a zone (physical, VLAN, switch, and so on) and a zone can consist of any combination of interface types. You can add zones, rename and edit zones, and delete zones from the zone list. When you add a zone, you select the names of the interfaces to add to the zone. Zones are configured from virtual domains. If you have added multiple virtual domains to your FortiGate configuration, make sure you are configuring the correct virtual domain before adding or editing zones.
Zone page Lists all of the zones that you created. On this page you can edit, delete and create new zones. Create New Name Select to create a new zone. Names of the zones.
Block intra-zone traffic Displays Yes if traffic between interfaces in the same zone is blocked and No if traffic between interfaces in the same zone is not blocked. Interface Members Edit Delete Names of the interfaces added to the zone. Interface names depend on the FortiGate model. Edit or view a zone. Delete a zone.
Edit Zone page Provides settings for configuring zones. When editing an existing zone, you are automatically redirected to this page. Zone Name Interface members Enter the name for the zone. Select the interface or interfaces that will be associated with this zone. The interfaces that appear reflect the interfaces that are on your specific FortiGate model. For example, on a FortiGate-50B the interfaces internal, wan1 and wan2 are available for zones. Block intra-zone traffic Enable blocking of intra-zone traffic.
107
System Network
In standalone mode, the modem interface is the connection from the FortiGate unit to the Internet.
In redundant or standalone mode when connecting to the ISP, you can configure the FortiGate unit to automatically have the modem dial up to three dialup accounts until the modem connects to an ISP. Other models can connect to an external modem through a USB-to-serial converter. For these models, you must configure modem operation using the CLI. Initially, modem interfaces are disabled and must be enabled in the CLI to be visible in the web-based manager. See the system modem command in the FortiGate CLI Reference.
Note: The modem interface is not the AUX port. While the modem and AUX port may appear similar, the AUX port has no associated interface and is used for remote console connection. The AUX port is only available on FortiGate models 1000A, 1000AFA2, and 3000A. For more information, see the config system aux command in the FortiGate CLI Reference.
This topic contains the following: Connecting and disconnecting the modem Redundant mode configuration Standalone mode configuration Adding firewall policies for modem connections Checking modem status
Modem page Provides settings for configuring the modem and dialup accounts. Enable Modem Select to enable the FortiGate modem.
108
System Network
Modem status can be: not active, connecting, connected, disconnecting, or hung up. (Standalone mode only) Select Dial Now to manually connect to a dialup account. If the modem is connected, you can select Hang Up to manually disconnect the modem. Select Standalone or Redundant mode. Select to dial the modem automatically if the connection is lost or the FortiGate unit is restarted. You cannot select Auto-dial if Dial on demand is selected. Select to dial the modem when packets are routed to the modem interface. The modem disconnects after the idle timeout period if there is no network activity. You cannot select Dial on demand if Auto-dial is selected. Enter the timeout duration in minutes. After this period of inactivity, the modem disconnects. Select the ethernet interface for which the modem provides backup service. (Redundant mode only) Enter the time (1-60 seconds) that the FortiGate unit waits before switching back to the primary interface from the modem interface, after the primary interface has been restored. The default is 1 second. Configure a higher value if you find the FortiGate unit switching repeatedly between the primary interface and the modem interface. The maximum number of times (1-10) that the FortiGate unit modem attempts to reconnect to the ISP if the connection fails. The default redial limit is 1. Select None to have no limit on redial attempts. Display a connected wireless modem if available. Display connections made on the modem interface. Information displayed about connections includes: date and time duration of the connection in hours, minutes, and seconds IP address connected to traffic statistics including received, sent, and total current status of the connection Configure up to three dialup accounts. The FortiGate unit tries connecting to each account in order until a connection can be established. The active dialup account is indicated with a green check mark. The phone number required to connect to the dialup account. Do not add spaces to the phone number. Make sure to include standard special characters for pauses, country codes, and other functions as required by your modem to connect to your dialup account. The user name (maximum 63 characters) sent to the ISP. The password sent to the ISP. An extra initialization string.
Idle timeout (Standalone mode) Redundant for (Redundant mode) Holddown Timer (Redundant mode) Redial Limit
Dialup Account
Phone Number
To configure the modem in Redundant mode, see Redundant mode configuration on page 110. To configure the modem in Standalone mode, see Standalone mode configuration on page 110. See also Configuring the modem interface
109
System Network
Adding firewall policies for modem connections Connecting and disconnecting the modem Checking modem status
To configure redundant mode 1 Go to System > Network > Modem. 2 Select Redundant mode. 3 Enter the following information:
Redundant for Holddown timer Redial Limit Dialup Account 1 Dialup Account 2 Dialup Account 3 From the list, select the interface to back up. Enter the number of seconds to continue using the modem after the network connectivity is restored. Enter the maximum number of times to retry if the ISP does not answer. Enter the ISP phone number, user name and password for up to three dialup accounts.
4 Select Apply. 5 Configure interface status detection for the ethernet interface the modem backs up. See Configuring interface status detection for gateway load balancing on page 101. 6 Configure firewall policies for network connectivity through the modem interface. See Adding firewall policies for modem connections on page 111.
110
System Network
If the connection to the dialup account fails, the FortiGate unit will redial the modem. The modem redials the number of times specified by the redial limit, or until it connects to a dialup account. The modem will disconnect after a period of network inactivity set by the value in idle timeout. This saves money on dialup connection charges. You must configure firewall policies for connections between the modem interface and other FortiGate interfaces. You must also go to Router > Static to configure static routes to route traffic to the modem interface. For example, if the modem interface is acting as the FortiGate unit external interface you must set the device setting of the FortiGate unit default route to modem. To configure standalone mode 1 Go to System > Network > Modem. 2 Select Standalone mode. 3 Enter the following information:
Auto-dial Dial on demand Idle timeout Redial Limit Select if you want the modem to dial when the FortiGate unit restarts. Select if you want the modem to connect to its ISP whenever there are unrouted packets. Enter the timeout duration in minutes. After this period of inactivity, the modem disconnects. Enter the maximum number of times to retry if the ISP does not answer.
Dialup Account 1 Enter the ISP phone number, user name and password for up to three Dialup Account 2 dialup accounts. Dialup Account 3
4 Select Apply. 5 Configure firewall policies for network connectivity through the modem interface. See Adding firewall policies for modem connections on page 111. 6 Go to Router > Static and set device to modem to configure static routes to route traffic to the modem interface. See Adding a static route to the routing table on page 234.
111
System Network
3 Verify the information in Dialup Accounts. 4 Select Apply. 5 Select Dial Now. The FortiGate unit dials into each dialup account in turn until the modem connects to an ISP. To disconnect from a dialup account 1 Go to System > Network > Modem. 2 Select Hang Up to disconnect the modem.
A green check mark indicates the active dialup account. The IP address and netmask assigned to the modem interface appears on the System Network Interface screen of the web-based manager.
112
System Network
Enter a number in seconds to specify how often the FortiGate unit detects interface status. Enter the number of times that interface status tests fail before the FortiGate unit assumes that the interface is no longer functioning.
DNS Servers
Several FortiGate functions use DNS, including alert email and URL blocking. You can specify the IP addresses of the DNS servers to which your FortiGate unit connects. DNS server IP addresses are usually supplied by your ISP. You can configure FortiGate models numbered 100 and lower to obtain DNS server addresses automatically. To obtain these addresses automatically, at least one FortiGate unit interface must use the DHCP or PPPoE addressing mode. See Configuring DHCP on an interface on page 98 or Configuring PPPoE on an interface on page 99. FortiGate models 100 and lower can provide DNS Forwarding on their interfaces. Hosts on the attached network use the interface IP address as their DNS server. DNS requests sent to the interface are forwarded to the DNS server addresses that you configured or that the FortiGate unit obtained automatically.
If virtual domains are not enabled you can create one DNS databases that can be shared by all the FortiGate interfaces. If virtual domains are enabled, you create a DNS database in each VDOM. All of the interfaces in a VDOM share the DNS database in that VDOM. This section describes: About split DNS Configuring FortiGate DNS services
113
System Network
A split DNS configuration can be used to provide internal users access to resources on your private network that can also be accessed from the Internet. For example, you could have a public web server behind a FortiGate unit operating in NAT/Route mode. Users on the Internet access this web server using a port forwarding virtual IP. So the web server has a public IP address for internet users. But you may want users on your internal network to access the server using its private IP address to keep traffic from internal users off of the Internet. To do this, you create a split DNS configuration on the FortiGate unit and add the host name of the server to the FortiGate DNS database, but include the internal IP address of server instead of the external IP address. Because the FortiGate unit checks the FortiGate DNS database first, all DNS lookups for the server host name will return the internal IP address of the server. For an example of how to configure split DNS, see To configure a split DNS configuration on page 116.
non-recursive
4 Go to System > Network > DNS Database and configure the FortiGate DNS database. Add zones and entries as required. See Configuring the FortiGate DNS database on page 116. 5 Configure the hosts on the internal network to use the FortiGate interface as their DNS server. If you are also using a FortiGate DHCP server to configure the hosts on this network, add the IP address of the FortiGate interface to the DNS Server IP address list.
114
System Network
To configure a FortiGate interface to relay DNS requests to external DNS servers Configure a FortiGate interface to relay DNS requests to the DNS servers configured for the FortiGate unit under System > Network > Options. 1 Go to System > Network > Options and add the IP addresses of a Primary and Secondary DNS server. These should be the DNS servers provided by your ISP or other public DNS servers. The FortiGate unit uses these DNS servers for its own DNS lookups and can be used to supply DNS look ups for your internal networks. See Configuring Networking Options on page 112. 2 Go to System > Network > Interface and edit the interface connected to a network that you want the FortiGate unit to be a DNS server for. 3 Select Enable DNS Query and select Recursive. The interface is configured to look up domain names in the FortiGate DNS database. and relay the requests for names not in the FortiGate DNS database to the DNS servers configured under System > Network > Options. If you do not add entries to the FortiGate DNS database all DNS requests are relayed to the DNS servers configured under System > Network > Options. 4 Configure the hosts on the internal network to use the FortiGate interface as their DNS server. If you are also using a FortiGate DHCP server to configure the hosts on this network, add the IP address of the FortiGate interface to the DNS Server IP address list. To configure a FortiGate interface to resolve DNS requests using only the FortiGate DNS database Configure a FortiGate interface to resolve DNS requests using the FortiGate DNS database and to drop requests for host names that not in the FortiGate DNS database. 1 Go to System > Network > Options and add the IP addresses of a Primary and Secondary DNS server. These should be the DNS servers provided by your ISP or other public DNS servers. The FortiGate unit uses these DNS servers for its own DNS lookups and can be used to supply DNS look ups for your internal networks. See Configuring Networking Options on page 112. 2 Go to System > Network > Interface and edit the interface connected to a network that you want the FortiGate unit to be a DNS server for. 3 Select Enable DNS Query and select Non-Recursive. When you select Non-Recursive only the entries in the FortiGate DNS database are used. 4 Go to System > Network > DNS Database and configure the FortiGate DNS database. Add zones and entries as required. See Configuring the FortiGate DNS database on page 116. 5 Configure the hosts on the internal network to use the FortiGate interface as their DNS server. If you are also using a FortiGate DHCP server to configure the hosts on this network, add the IP address of the FortiGate interface to the DNS Server IP address list.
115
System Network
To configure a split DNS configuration Configure an interface to resolve DNS requests using the FortiGate DNS database and relay DNS requests for host names not in the FortiGate DNS database to the DNS servers configured under System > Network > Options. This is called a split DNS configuration. See About split DNS on page 113. 1 Go to System > Network > Options and add the IP addresses of a Primary and Secondary DNS server. These should be the DNS servers provided by your ISP or other public DNS servers. The FortiGate unit uses these DNS servers for its own DNS lookups and can be used to supply DNS look ups for your internal networks. See Configuring Networking Options on page 112. 2 Go to System > Network > Interface and edit the interface connected to a network that you want the FortiGate unit to be a DNS server for. 3 Select Enable DNS Query and select Recursive. The interface is configured to look up domain names in the FortiGate DNS database. and relay the requests for names not in the FortiGate DNS database to the DNS servers configured under System > Network > Options. You can add entries to the FortiGate DNS database for users on the internal network. 4 Go to System > Network > DNS Database and configure the FortiGate DNS database. Add zones and entries as required for users on the internal network. See Configuring the FortiGate DNS database on page 116. 5 Configure the hosts on the internal network to use the FortiGate interface as their DNS server. If you are also using a FortiGate DHCP server to configure the hosts on this network, add the IP address of the FortiGate interface to the DNS Server IP address list.
116
System Network
New DNS Zone page Provides settings for configuring DNS zones which make up a DNS server. DNS Zone Domain Name TTL (seconds) Enter the DNS zone. Enter the domain name. Enter the TTL value. Enter 0 to use the Zone TTL value.
The web proxy uses FortiGate routing to route sessions through the FortiGate unit to a destination interface. Before a session leaves the exiting interface, the explicit web proxy changes the source addresses of the session packets to the IP address of the exiting interface. When the FortiGate unit is operating in Transparent mode the explicit web proxy changes the source addresses to the management IP address. Usually, to configure a web proxy server for users on a network you would enable the explicit web proxy on the FortiGate interface connected to that network. Users on the network would configure their web browsers to use a proxy server for HTTP and HTTPS, FTP, or SOCKS and set the proxy server IP address to the IP address of the FortiGate interface connected to their network. Users could also enter the PAC URL into their web browsers to automate their web proxy configuration using a PAC file stored on the FortiGate unit. On FortiGate units that support WAN optimization, you can also enable web caching for the explicit proxy. To enable the explicit web proxy 1 Go to System > Network > Interface and enable the explicit web proxy for one or more FortiGate interfaces.
Caution: Enabling the explicit web proxy on an interface connected to the Internet is a security risk because anyone on the Internet who finds the proxy could use it to hide their source address.
2 Go to System > Network > Web Proxy. Select Enable Explicit Web Proxy to turn on the Explicit Web Proxy. 3 Go to Firewall > Policy > Policy and select Create New and set the Source Interface/Zone to web-proxy.
117
System Network
4 Configure the firewall policy as required to accept the traffic that you want to be processed by the explicit web proxy. The source address of the policy should match client source IP addresses. The destination address of the policy should match the IP addresses of web sites that clients are connecting to. Traffic sent to the explicit web proxy that is not accepted by a web-proxy firewall policy is dropped. 5 You can select other firewall policy options as required. For example, you can apply UTM protection to web proxy sessions and log allowed web proxy traffic. 6 You can also select Enable Identity Based Policy to apply authentication to explicit web proxy sessions. A number of authentication options are available: IP Based authentication applies authentication by source IP address. Once the user authenticates, all sessions to the explicit web proxy from that IP address are accepted until the authentication times out. If you dont select IP Based the FortiGate unit applies HTTP authentication per session. This authentication is browser-based. When a client enters a user name and password in their browser to authenticate with the web proxy, this information is stored by the browser. Each new session started by the same web browser also has to be authenticated but the browser does this automatically. Since the authentication is browser-based, multiple clients with the same IP address can authenticate with the proxy using their own credentials. HTTP authentication provides authentication for multiple users sessions from the same source IP address. This can happen if there is a NAT device between the users and the FortiGate unit. HTTP authentication also supports authentication for other configurations that share one IP address among multiple users. These includes Citrix products and Windows Terminal Server and other similar virtualization solutions. 7 You can add multiple identity based policies to apply different authentication for different user groups and also apply different UTM and logging settings for different user groups.
118
System Network
HTTP Port
Enter the port number that HTTP traffic from client web browsers use to connect to the explicit proxy. The default port number is 8080. The range is 0 to 65535. Explicit proxy users must configure their web browsers HTTP proxy settings to use this port. Enter the port number that HTTPS traffic from client web browsers use to connect to the explicit proxy. The range is 0 to 65535. Explicit proxy users must configure their web browsers HTTPS proxy settings to use this port. The default value of 0 means use the same port as HTTP. Enter the port number that FTP traffic from client web browsers use to connect to the explicit proxy. The range is 0 to 65535. Explicit proxy users must configure their web browsers FTP proxy settings to use this port. The default value of 0 means use the same port as HTTP. Select the port that PAC traffic from client web browsers use to connect to the explicit proxy. The range is 0 to 65535. Explicit proxy users must configure their web browsers PAC proxy settings to use this port. The default value of 0 means use the same port as HTTP. Select the Edit icon beside this option to change the contents in a PAC file. You can also import a PAC file using this option. The maximum PAC file size is 8192 bytes. You can use any PAC file syntax that is supported by your userss browsers. The FortiGate unit does not parse the PAC file. To use PAC, users must add an automatic proxy configuration URL (or PAC URL) to their web browser proxy configuration. The default PAC file URL is: http://<interface_ip>:<PAC_port_int>/<pac_file_str> For example, if the interface with the explicit web proxy has IP address 172.20.120.122, the PAC port is the same as the default HTTP explicit proxy port (8080) and the PAC file name is proxy.pac the PAC file URL would be: http://172.20.120.122:8080/proxy.pac From the CLI you can use the following command to display the PAC file url: get web-proxy explicit Select the action to take when the proxy server must handle an unknown HTTP version request or message. Choose from either Reject or Best Effort. Best Effort attempts to handle the HTTP traffic as best as it can. Reject treats known HTTP traffic as malformed and drops it. The Reject option is more secure. Enter an authentication realm to identify the explicit web proxy. The realm can be any text string of up to 63 characters. If the ream includes spaces enclose it in quotes. When a user authenticates with the explicit proxy the HTTP authentication dialog includes the realm so you can use the realm to identify the explicitly web proxy for your users. Configure the explicit web proxy to block (deny) or accept sessions if firewall policies have note been added for the explicit web proxy. To add firewall policies for the explicit web proxy add a firewall policy and set the source interface to web-proxy. The default setting or Deny blocks access to the explicit web proxy before adding a firewall policy. If you set this option to Accept the explicit web proxy server accepts sessions even if you havent defined a firewall policy. Enter the fully qualified domain name (FQDN) for the proxy server. This is the domain name to enter into browsers to access the proxy server. Enter the maximum length of an HTTP request. Larger requests will be rejected.
HTTPS Port
FTP Port
PAC Port
Realm
General Options (Explicit Web Proxy and Transparent Web Cache) section Proxy FQDN Max HTTP request length
Max HTTP message Enter the maximum length of an HTTP message. Larger messages will be rejected. length
119
Configuring WCCP
System Network
Add headers to Forwarded Requests Client IP Header Via Header X-forwarded-for Header
The web proxy server will forward HTTP requests to the internal network. You can include the following headers in those requests: Enable to include the Client IP Header from the original HTTP request. Enable to include the Via Header from the original HTTP request. Enable to include the X-Forwarded-For (XFF) HTTP header. The XFF HTTP header identifies the originating IP address of a web client or browser that is connecting through an HTTP proxy, and the remote addresses it passed through to this point. Enable to include the Front-end HTTP Header from the original HTTPS request.
Configuring WCCP
All WCCP settings are configured in the CLI. Configure settings for Web Cache Communication Protocol (WCCP) version 2 to optimize web traffic, thus reducing transmission costs and downloading time. When a web client (on a computer) makes a request for web content, WCCP allows the routers on the local network to redirect the web content requests to the appropriate web cache server on the local network. If the web cache server contains the information in the web content request, the web cache server sends the content directly to the local client. If the web cache does not contain the requested information, the web cache server will download the HTTP information, cache it, and send it to the local client. The local client is not aware this caching is taking place. For web caching to function, local network traffic must be directed through one or more routers that are able to forward the HTTP requests to the web cache servers. The FortiGate unit can act as a WCCP version 2 enabled router and direct web content requests to configured web cache servers. The web caching will speed up downloads by not accessing remote websites for each HTTP request. It will also reduce the amount of data a company network sends and receives over the Internet, reducing costs. The following are the variables and commands that are used to configure WCCP. For the WCCP client: config system setting set wccp-cache-engine {enable | disable} end For WCCP services: config system wccp edit <service_id> set cache-id <ip_address> set group-address <ip_multicast_address> set router-list <ip_router_address> set authentication {enable | disable} set service-type {auto | standard | dynamic} set assignment-weight <weight_number> set assignment-bucket-form {cisco-implementation | wccp-v2} end
120
System Network
Routing Table page Lists all the static routes that you have created. On this page, you can edit, delete or create a new route. Create New IP/Mask Gateway Delete Edit Destination IP /Mask Add a new Transparent mode static route. The destination IP address and netmask for the route. The IP address of the next hop router to which the route directs traffic. For an Internet connection, the next hop routing gateway routes traffic to the Internet. Remove a route. Edit or view a route. When you edit an existing static route, you are automatically redirected to the Edit Static Route page. The destination IP address.
New Static Route page Provides settings for configuring a static route. When you edit an existing static router, you are automatically redirected to the Edit Static Route page. Destination IP/Netmask Gateway Priority Enter the IP address and netmask of the new static route. To create a default route, set the IP and netmask to 0.0.0.0. Enter the gateway IP address. Enter a number for the priority of the static route.
121
System Network
122
System Wireless
System Wireless
This section describes how to configure the Wireless LAN interfaces on FortiWiFi units. The majority of this section is applicable to all FortiWiFi units. If you enable virtual domains (VDOMs) on the FortiGate unit, MAC filters and wireless monitor are configured separately for each virtual domain. System wireless settings are configured globally. For more information, see Using virtual domains on page 73. This section describes: FortiWiFi wireless interfaces Wireless settings Wireless MAC Filter Wireless Monitor Rogue AP detection
or or
123
Wireless settings
System Wireless
Wireless settings
By default, the FortiWiFi unit includes one wireless interface, called wlan. If you are operating your FortiWiFi unit in access point mode, you can add up to three virtual wireless interfaces. All wireless interfaces use the same wireless parameters. That is, you configure the wireless settings once, and all wireless interfaces use those settings. For more information on adding more wireless interfaces, see Adding a wireless interface on page 125. When operating the FortiWiFi unit in Client mode, radio settings are not configurable. To configure the wireless settings, go to System > Wireless > Settings.
Wireless Parameters page Provides settings for configuring wireless parameters. On this page you can also change the operation mode. When you change modes, some settings are hidden. For example, in Client Mode, you cannot view the settings that were available when in Access Point, such as Band. When you are in Monitoring mode, only Operation Mode is available. Operation Mode Select Change to switch operation modes. When you select Change, you are automatically redirected to the Change operation mode for wireless page. Access Point The FortiWiFi unit acts as an access point for wireless users to connect to send and receive information over a wireless network. It enables multiple wireless network users access to the network without the need to connect to it physically. The FortiWiFi unit can connect to the internal network and act as a firewall to the Internet. Client The FortiWiFi unit is set to receive transmissions from another access point. This enables you to connect remote users to an existing network using wireless protocols. Monitoring Scan for other access points. These are listed in the Rogue AP list. See Rogue AP detection on page 128. Note: You cannot switch to Client mode or Monitoring mode if you have added virtual wireless interfaces. For these modes, there must be only one wireless interface, wlan. Select the wireless frequency band. Be aware what wireless cards or devices your users have as it may limit their use of the wireless network. For example, if you configure the FortiWiFi unit for 802.11g and users have 802.11b devices, they may not be able to use the wireless network. Select your country or region. This determines which channels are available. See Channel assignments on page 126 for channel information. Select a channel for your wireless network or select Auto. The channels that you can select depend on the Geography setting. See Channel assignments on page 126 for channel information. Set the transmitter power level. The higher the number, the larger the area the FortiWiFi will broadcast. If you want to keep the wireless signal to a small area, enter a smaller number. Set the interval between beacon packets. Access Points broadcast Beacons or Traffic Indication Messages (TIM) to synchronize wireless networks. A higher value decreases the number of beacons sent, however it may delay some wireless clients from connecting if it misses a beacon packet. Decreasing the value will increase the number of beacons sent, while this will make it quicker to find and connect to the wireless network, it requires more overhead, slowing throughput. Perform the Monitoring mode scanning function while the unit is in Access Point mode. Scanning occurs while the access point is idle. The scan covers all wireless channels. Background scanning can reduce performance if the access point is busy. See Rogue AP detection on page 128. The name of the wireless interface. To modify wireless interface settings, select the interface name. To add more wireless interfaces in Access Point mode, see Adding a wireless interface on page 125. The MAC address of the Wireless interface.
Band
Geography Channel
Tx Power
Beacon Interval
MAC Address
124
System Wireless
Wireless settings
SSID
The wireless service set identifier (SSID) or network name for the wireless interface. To communicate, an Access Point and its clients must use the same SSID. Green checkmark icon indicates that the wireless interface broadcasts its SSID. Broadcasting the SSID makes it possible for clients to connect to your wireless network without first knowing the SSID. This column is visible only in Access Point mode. The wireless interface security mode. For information about these modes, see Security Mode in Adding a wireless interface on page 125. Access Point mode: WEP64, WEP128, WPA, WPA2, WPA2 Auto or None. Client mode: WEP64, WEP128, WPA, or None. Note: In Client mode with WPA security, the FortiWiFi unit attempts to connect using WPA2 security. If this fails, it retries using WPA security.
SSID Broadcast
Security Mode
Wireless Settings section on the New Interface page SSID Enter the wireless service set identifier (SSID) or network name for this wireless interface. Users who want to use the wireless network must configure their computers with this network name.
SSID Broadcast Select to broadcast the SSID. Broadcasting the SSID enables clients to connect to your wireless network without first knowing the SSID. For better security, do not broadcast the SSID. If the interface is not broadcast, there is less chance of an unwanted user connecting to your wireless network. If you choose not to broadcast the SSID, you need to inform users of the SSID so they can configure their wireless devices. Security mode Select the security mode for the wireless interface. Wireless users must use the same security mode to be able to connect to this wireless interface. None has no security. Any wireless user can connect to the wireless network. WEP64 64-bit web equivalent privacy (WEP). To use WEP64 you must enter a Key containing 10 hexadecimal digits (0-9 a-f) and inform wireless users of the key. WEP128 128-bit WEP. To use WEP128 you must enter a Key containing 26 hexadecimal digits (0-9 a-f) and inform wireless users of the key. WPA Wi-Fi protected access (WPA) security. To use WPA you must select a data encryption method. You must also enter a pre-shared key containing at least eight characters or select a RADIUS server. If you select a RADIUS server the wireless clients must have accounts on the RADIUS server. WPA2 WPA with more security features. To use WPA2 you must select a data encryption method and enter a pre-shared key containing at least eight characters or select a RADIUS server. If you select a RADIUS server the wireless clients must have accounts on the RADIUS server. WPA2 Auto the same security features as WPA2, but also accepts wireless clients using WPA security. To use WPA2 Auto you must select a data encryption method You must also enter a pre-shared key containing at least 8 characters or select a RADIUS server. If you select a RADIUS server the wireless clients must have accounts on the RADIUS server.
125
Wireless settings
System Wireless
Key
Enter the security key. This field appears when selecting WEP64 or WEP128 security.
Data Encryption Select a data encryption method to be used by WPA, WPA2, or WPA Auto. Select TKIP to use the Temporal Key Integrity Protocol (TKIP). Select AES to use Advanced Encryption Standard (AES) encryption. AES is considered more secure that TKIP. Some implementations of WPA may not support AES. Pre-shared Key Enter the pre-shared key. This field appears when selecting WPA, WPA2, or WPA2 Auto security. RADIUS Server Select to use a RADIUS server when selecting WPA or WPA2 security. You can use WPA or WPA2 Radius security to integrate your wireless network configuration with a RADIUS or Windows AD server. Select a RADIUS server name from the list. You must configure the Radius server by going to User > RADIUS. For more information, see RADIUS on page 451. RTS Threshold Set the Request to Send (RTS) threshold. The RTS threshold is the maximum size, in bytes, of a packet that the FortiWiFi will accept without sending RTS/CTS packets to the sending wireless device. In some cases, larger packets being sent may cause collisions, slowing data transmissions. By changing this value from the default of 2346, you can configure the FortiWiFi unit to, in effect, have the sending wireless device ask for clearance before sending larger transmissions. There can still be risk of smaller packet collisions, however this is less likely. A setting of 2346 bytes effectively disables this option. Fragmentation Set the maximum size of a data packet before it is broken into smaller packets, reducing the chance of packet collisions. If the packet is larger than the threshold, Threshold the FortiWiFi unit will fragment the transmission. If the packet size less than the threshold, the FortiWiFi unit will not fragment the transmission. A setting of 2346 bytes effectively disables this option.
To add a wireless interface 1 Go to System > Network > Interface. 2 Select Create New. 3 Complete the following:
Name Type Address Mode Enter a name for the wireless interface. The name cannot be the same as an existing interface, zone or VDOM. Select Wireless. The wireless interface can only be set as a manual address. Enter a valid IP address and netmask. If the FortiWiFi is running in Transparent mode, this field does not appear. The interface will be on the same subnet as the other interfaces. Set the administrative access for the interface.
Administrative Access
4 In the Wireless Settings section, enter the required information and select OK. See also FortiWiFi wireless interfaces Configuring interface settings
126
System Wireless
MAC Filter Settings page Provides settings to modify the existing MAC addresses that you added to a wireless interface. List Access MAC Address Add Remove Select to allow or deny the addresses in the MAC Address list from accessing the wireless network. Enter the MAC address to add to the list. Add the entered MAC address to the list. Select one or more MAC addresses in the list and select Remove to deleted the MAC addresses from the list.
Wireless Monitor
Go to System > Wireless > Monitor to view information about your wireless network. In Access Point mode, you can see who is connected to your wireless LAN. In Client mode, you can see which access points are within radio range.
127
Rogue AP detection
System Wireless
Monitor page Lists the wireless interfaces and clients or neighbors that are currently active. The information is grouped and placed in their own section within the page. Statistics section Statistical information about wireless performance for each wireless interface. AP Name / Name Frequency The name of the wireless interface. The frequency that the wireless interface is operating with. Should be around 5-GHz for 802.11a interfaces and around 2.4GHz for 802.11b and 802.11g networks. The strength of the signal from the client. The received noise level. The signal-to-noise ratio in deciBels calculated from signal strength and noise level. The amount of data in kilobytes received this session. The amount of data in kilobytes sent this session.
Clients list section (AP mode) Real-time details about the client wireless devices that can reach this FortiWiFi unit access point. Only devices on the same radio band are listed. MAC Address IP Address AP Name The MAC address of the connected wireless client. The IP address assigned to the connected wireless client. The name of the wireless interface that the client is connected to.
Neighbor AP list section (Client mode) Real-time details about the access points that the client can receive. MAC Address SSID Channel Rate (M) RSSI The MAC address of the connected wireless client. The wireless service set identifier (SSID) that this access point broadcasts. The wireless radio channel that the access point uses. The data rate of the access point in Mbits/s. The received signal strength indication, a relative value between 0 (minimum) and 255 (maximum).
Rogue AP detection
On models that support Rogue Access Point Detection, you can select Monitoring mode to scan for available wireless access points. You can also enable scanning in the background while the unit is in Access Point mode. See Viewing wireless access points. To enable the monitoring mode 1 Go to System > Wireless > Settings. 2 Select Change beside the current operation mode. 3 Select Monitoring and then select OK. 4 Select OK to confirm the mode change. 5 Select Apply. To enable background scanning 1 While in Access Point mode, go to System > Wireless > Settings. 2 Enable Background Rogue AP Scan and then select Apply.
FortiGate Version 4.0 MR2 Administration Guide 01-420-89802-20100326 http://docs.fortinet.com/ Feedback
128
System Wireless
Rogue AP detection
Inactive Access Points Select which inactive access points to show: all, none, those detected less than one hour ago, or those detected less than one day ago. Online SSID MAC Address Channel Rate First Seen Last Seen Mark as Rogue AP Forget AP A green checkmark indicates an active access point. A grey X indicates that the access point is inactive. The wireless service set identifier (SSID) or network name for the wireless interface. The MAC address of the Wireless interface. The wireless radio channel that the access point uses. The data rate of the access point. The data and time when the FortiWifi unit first detected the access point. The data and time when the FortiWifi unit last detected the access point. Select the icon to move this entry to the Rogue Access Points list. Return item to Unknown Access Points list from Accepted Access Points list or Rogue Access Points list.
Mark as Accepted AP Select the icon to move this entry to the Accepted Access Points list.
You can also enter information about accepted and rogue APs in the CLI without having to detect them first. See the system wireless ap-status command in the FortiGate CLI Reference. See also Wireless settings
129
Rogue AP detection
System Wireless
130
An interface cannot provide both a server and a relay for connections of the same type (regular or IPSec). However, you can configure a Regular DHCP server on an interface only if the interface is a physical interface with a static IP address. You can configure an IPSec DHCP server on an interface that has either a static or a dynamic IP address. You can configure one or more DHCP servers on any FortiGate interface. A DHCP server dynamically assigns IP addresses to hosts on the network connected to the interface. The host computers must be configured to obtain their IP addresses using DHCP. If an interface is connected to multiple networks via routers, you can add a DHCP server for each network. The IP range of each DHCP server must match the network address range. The routers must be configured for DHCP relay. To configure a DHCP server, see Configuring a DHCP server on page 132. You can configure a FortiGate interface as a DHCP relay. The interface forwards DHCP requests from DHCP clients to an external DHCP server and returns the responses to the DHCP clients. The DHCP server must have appropriate routing so that its response packets to the DHCP clients arrive at the FortiGate unit. To configure a DHCP relay see Configuring an interface as a DHCP relay agent on page 132. DHCP services can also be configured through the Command Line Interface (CLI). See the FortiGate CLI Reference for more information.
131
You can disable or change this default DHCP Server configuration. However, you can not configure DHCP in Transparent mode. In Transparent mode DHCP requests pass through the FortiGate unit. An interface must have a static IP before you configure a DHCP server on it. These settings are appropriate for the default Internal interface IP address of 192.168.1.99. If you change this address to a different network, you need to change the DHCP server settings to match.
132
New DHCP Service page Provides settings for configuring a DHCP relay agent or a DHCP server. Name Mode Enable Type Enter a name for the DHCP server. Select Relay to configure a DHCP relay agent. Select Server to configure a DHCP server. Enable the DHCP server. Select Regular or IPSEC DHCP server. You cannot configure a Regular DHCP server on an interface that has a dynamic IP address. Enter the start and end for the range of IP addresses that this DHCP server assigns to DHCP clients. These fields are greyed out when IP Assignment Mode is set to User-group defined method. Enter the netmask of the addresses that the DHCP server assigns. Enter the IP address of the default gateway that the DHCP server assigns to DHCP clients. Select to use either a specific DNS server or the systems DNS settings. You can add multiple DNS servers by selecting the plus sign (+) beside DNS Server 1. Enter the DNS server. Enter the second DNS server. If you need to add more DNS servers, select the plus sign (+).
IP Range
Advanced section of the New DHCP Service page Select to configure advanced options. Domain Lease Time Enter the domain that the DHCP server assigns to DHCP clients. Select Unlimited for an unlimited lease time or enter the interval in days, hours, and minutes after which a DHCP client must ask the DHCP server for new settings. The lease time can range from 5 minutes to 100 days. Configure how the IP addresses for an IPSec DHCP server are assigned to Dialup IPSec VPN users. Select: Server IP Range - The IPSec DHCP server will assign the IP addresses as specified in IP Range, and Exclude Ranges. User-group defined method - The IP addresses will be assigned by a user group used to authenticate the user. The user group is used to authenticate XAUTH users. See Dynamically assigning VPN client IP addresses from a user group on page 464. When User-group defined method is selected, the IP Range fields are greyed out, and the Exclude Ranges table and controls are not visible. Add the IP addresses of one or two WINS servers that the DHCP server assigns to DHCP clients. Select to include options for the DHCP relay or server. When you enable this option, Code field and Options field appear. You can add multiple options (both Code and Options field appear) by selecting the plus sign beside the Options field. Add an range of IP addresses to exclude. You can add up to 16 exclude ranges of IP addresses that the DHCP server cannot assign to DHCP clients. No range can exceed 65536 IP addresses. Enter the first IP address of the exclude range. Enter the last IP address of the exclude range.
IP Assignment Mode
Starting IP End IP
133
134
System Config
HA
System Config
This section describes the configuration of several non-network features, such as HA, SNMP, custom replacement messages, and Operation mode. If you enable virtual domains (VDOMs) on the FortiGate unit, HA, SNMP, and replacement messages are configured globally for the entire FortiGate unit. Changing operation mode is configured for each individual VDOM. For more information, see Using virtual domains on page 73. The following topics are included in this section: HA SNMP Replacement messages Operation mode and VDOM management access
HA
FortiGate high availability (HA) provides a solution for two key requirements of critical enterprise networking components: enhanced reliability and increased performance. This section contains a brief description of HA web-based manager configuration options, the HA cluster members list, HA statistics, and disconnecting cluster members. If you enable virtual domains (VDOMs) on the FortiGate unit, HA is configured globally for the entire FortiGate unit. For more information, see Using virtual domains on page 73. For complete information about how to configure and operate FortiGate HA clusters see the FortiGate HA Overview, the FortiGate HA Guide. This topic contains the following:HA options Cluster members list Viewing HA statistics Changing subordinate unit host name and device priority Disconnecting a cluster unit from a cluster
HA options
Configure HA options so that a FortiGate unit can join a cluster or to change the configuration of an operating cluster or cluster member. To configure HA options so that a FortiGate unit can join an HA cluster, go to System > Config > HA.
Note: FortiGate HA is not compatible with PPP protocols such as PPPoE. FortiGate HA is also not compatible with DHCP. If one or more FortiGate unit interfaces is dynamically configured using DHCP or PPPoE, you cannot switch to operate in HA mode. Also, you cannot switch to operate in HA mode if one or more FortiGate unit interfaces is configured as a PPTP or L2TP client or if the FortiGate unit is configured for standalone session synchronization.
135
HA
System Config
If HA is already enabled, go to System > Config > HA to display the cluster members list. Select Edit for the FortiGate unit with Role of master (also called the primary unit). When you edit the HA configuration of the primary unit, all changes are synchronized to the other units in the cluster. You can configure HA options for a FortiGate unit with virtual domains (VDOMs) enabled by logging into the web-based manager as the global admin administrator and going to System > Config > HA. If HA is enabled, you will have to select Edit for the cluster member before you see the virtual cluster configuration screen for that cluster unit. For more information, seeCluster members list on page 137.
Note: If your FortiGate cluster uses virtual domains, you are configuring HA virtual clustering. Most virtual cluster HA options are the same as normal HA options. However, virtual clusters include VDOM partitioning options. Other differences between configuration options for regular HA and for virtual clustering HA are described below and in the FortiGate HA Overview and the FortiGate HA Guide. High Availability page Lists the existing settings for a configured HA cluster as well as allows you to configure a HA cluster if not already configured. You can also modify existing settings from this page as well. Mode Select an HA mode for the cluster or return the FortiGate units in the cluster to standalone mode. When configuring a cluster, you must set all members of the HA cluster to the same HA mode. You can select Standalone (to disable HA), Active-Passive, or Active-Active. If virtual domains are enabled you can select Active-Passive or Standalone. Optionally set the device priority of the cluster unit. Each unit in a cluster can have a different device priority. During HA negotiation, the unit with the highest device priority usually becomes the primary unit. In a virtual cluster configuration, each cluster unit can have two different device priorities, one for each virtual cluster. During HA negotiation, the unit with the highest device priority in a virtual cluster becomes the primary unit for that virtual cluster. Changes to the device priority are not synchronized. You can accept the default device priority when first configuring a cluster. When the cluster is operating you can change the device priority for different cluster units as required. Enter a name to identify the cluster. The maximum length of the group name is 32 characters. The group name must be the same for all cluster units before the cluster units can form a cluster. After a cluster is operating, you can change the group name. The group name change is synchronized to all cluster units. The default group name is FGT-HA. You can accept the default group name when first configuring a cluster, however two clusters on the same network cannot have the same group name. When the cluster is operating you can change the group name, if required. Enter a password to identify the cluster. The maximum password length is 15 characters. The password must be the same for all cluster units before the cluster units can form a cluster. The default is no password. You can accept the default password when first configuring a cluster. When the cluster is operating, you can add a password, if required. Two clusters on the same network must have different passwords.
Device Priority
Group Name
Password
Enable Session Select to enable session pickup so that if the primary unit fails, sessions are picked up by the cluster unit that becomes the new primary unit. pickup You must enable session pickup for session failover protection. If you do not require session failover protection, leaving session pickup disabled may reduce HA CPU usage and reduce HA heartbeat network bandwidth usage. Session pickup is disabled by default. You can accept the default setting for session pickup and later choose to enable session pickup after the cluster is operating.
136
System Config
HA
Port Monitor
Select to enable or disable monitoring FortiGate interfaces to verify the monitored interfaces are functioning properly and are connected to their networks. If a monitored interface fails or is disconnected from its network, the interface leaves the cluster and a link failover occurs. The link failover causes the cluster to reroute the traffic being processed by that interface to the same interface of another cluster unit that still has a connection to the network. This other cluster unit becomes the new primary unit. Port monitoring (also called interface monitoring) is disabled by default. Leave port monitoring disabled until the cluster is operating and then only enable port monitoring for connected interfaces. You can monitor up to 16 interfaces. This limit only applies to FortiGate units with more than 16 physical interfaces. Select to enable or disable HA heartbeat communication for each interface in the cluster and set the heartbeat interface priority. The heartbeat interface with the highest priority processes all heartbeat traffic. If two or more heartbeat interfaces have the same priority, the heartbeat interface with the lowest hash map order value processes all heartbeat traffic. The web-based manager lists interfaces in alphanumeric order: port1 port2 through 9 port10 Hash map order sorts interfaces in the following order: port1 port10 port2 through port9 The default heartbeat interface configuration is different for each FortiGate unit. This default configuration usually sets the priority of two heartbeat interfaces to 50. You can accept the default heartbeat interface configuration or change it as required. The heartbeat interface priority range is 0 to 512. The default priority when you select a new heartbeat interface is 0. You must select at least one heartbeat interface. If heartbeat communication is interrupted, the cluster stops processing traffic. For more information about configuring heartbeat interfaces, see the FortiGate HA Overview. You can select up to 8 heartbeat interfaces. This limit only applies to FortiGate units with more than 8 physical interfaces. If you are configuring virtual clustering, you can set the virtual domains to be in virtual cluster 1 and the virtual domains to be in virtual cluster 2. The root virtual domain must always be in virtual cluster 1. For more information about configuring VDOM partitioning, see the FortiGate HA Overview.
Heartbeat Interface
VDOM partitioning
137
HA
System Config
View HA Statistics
Displays the serial number, status, and monitor information for each cluster unit. See Viewing HA statistics on page 138.
Up and down arrows Changes the order of cluster members in the list. The operation of the cluster or of the units in the cluster are not affected. All that changes is the order of the units on the cluster members list. Cluster member Illustrations of the front panels of the cluster units. If the network jack for an interface is shaded green, the interface is connected. Pause the mouse pointer over each illustration to view the cluster unit host name, serial number, how long the unit has been operating (up time), and the interfaces that are configured for port monitoring. The host name of the FortiGate unit. The default host name of the FortiGate unit is the FortiGate unit serial number. To change the primary unit host name, go to System > Status and select Change beside the current host name. To change a subordinate unit host name, from the cluster members list select the Edit icon for a subordinate unit. The status or role of the cluster unit in the cluster. Role is MASTER for the primary (or master) unit Role is SLAVE for all subordinate (or backup) cluster units The device priority of the cluster unit. Each cluster unit can have a different device priority. During HA negotiation, the unit with the highest device priority becomes the primary unit. The device priority range is 0 to 255. Select to disconnect a selected cluster unit from the cluster. See Disconnecting a cluster unit from a cluster on page 139. Select to change a cluster unit HA configuration. For a primary unit, select Edit to change the cluster HA configuration (including the device priority) of the primary unit. For a primary unit in a virtual cluster, select Edit to change the virtual cluster HA configuration; including the virtual cluster 1 and virtual cluster 2 device priority of this cluster unit. For a subordinate unit, select Edit to change the subordinate unit host name and device priority. See Changing subordinate unit host name and device priority on page 139. For a subordinate unit in a virtual cluster, select Edit to change the subordinate unit host name and the device priority of the subordinate unit for the selected virtual cluster. See Changing subordinate unit host name and device priority on page 139.
Hostname
Role
Priority
Download debug log Select to download an encrypted debug log to a file. You can send this debug log file to Fortinet Technical Support (http://support.fortinet.com) for help diagnosing problems with the cluster or with individual cluster units.
Viewing HA statistics
From the cluster members list, you can select View HA Statistics to display the serial number, status, and monitor information for each cluster unit. To view HA statistics, go to System > Config > HA and select View HA Statistics.
Refresh every Select to control how often the web-based manager updates the HA statistics display. The host name and serial number of the cluster unit. Indicates the status of each cluster unit. A green check mark indicates that the cluster unit is operating normally. A red X indicates that the cluster unit cannot communicate with the primary unit. The time in days, hours, minutes, and seconds since the cluster unit was last started.
Back to HA monitor Select to close the HA statistics list and return to the cluster members list. Unit Status
Up Time
138
System Config
HA
Displays system status information for each cluster unit. The current CPU status of each cluster unit. The web-based manager displays CPU usage for core processes only. CPU usage for management processes (for example, for HTTPS connections to the web-based manager) is excluded. For more information about CPU usage, see System Resources on page 46. The current memory status of each cluster unit. The web-based manager displays memory usage for core processes only. Memory usage for management processes (for example, for HTTPS connections to the web-based manager) is excluded. For more information about memory usage, see System Resources on page 46. The number of communications sessions being processed by the cluster unit. The number of packets that have been processed by the cluster unit since it last started up. The number of viruses detected by the cluster unit. The total network bandwidth being used by all of the cluster unit interfaces. The number of bytes that have been processed by the cluster unit since it last started up. The number of intrusions or attacks detected by Intrusion Protection running on the cluster unit.
Memory Usage
Active Sessions Total Packets Virus Detected Network Utilization Total Bytes Intrusion Detected
IP/Netmask
139
SNMP
System Config
SNMP
Simple Network Management Protocol (SNMP) allows you to monitor hardware on your network. You can configure the hardware, such as the FortiGate SNMP agent, to report system information and send traps (alarms or event messages) to SNMP managers. An SNMP manager, or host, is a typically a computer running an application that can read the incoming trap and event messages from the agent and send out SNMP queries to the SNMP agents. A FortiManager unit can act as an SNMP manager, or host, to one or more FortiGate units. By using an SNMP manager, you can access SNMP traps and data from any FortiGate interface or VLAN subinterface configured for SNMP management access. Part of configuring an SNMP manager is to list it as a host in a community on the FortiGate unit it will be monitoring. Otherwise the SNMP monitor will not receive any traps from that FortiGate unit, or be able to query that unit. The FortiGate SNMP implementation is read-only. SNMP v1, v2c, and v3 compliant SNMP managers have read-only access to FortiGate system information through queries and can receive trap messages from the FortiGate unit. To monitor FortiGate system information and receive FortiGate traps, you must first compile the proprietary Fortinet and FortiGate Management Information Base (MIB) files. A MIB is a text file that describes a list of SNMP data objects that are used by the SNMP manager. These MIBs provide information the SNMP manager needs to interpret the SNMP trap, event, and query messages sent by the FortiGate unit SNMP agent. For information on how to download the MIB files, see the Fortinet Knowledge Base. The Fortinet implementation of SNMP includes support for most of RFC 2665 (Ethernetlike MIB) and most of RFC 1213 (MIB II). For more information, see Fortinet MIBs on page 143. RFC support for SNMP v3 includes Architecture for SNMP Frameworks (RFC 3411), and partial support of User-based Security Model (RFC 3414). SNMP traps alert you to events that happen, such as an a log disk being full or a virus being detected. For more information about SNMP traps, see Fortinet and FortiGate traps on page 144. SNMP fields contain information about your FortiGate unit, such as percent CPU usage or the number of sessions. This information is useful to monitor the condition of the unit, both on an ongoing basis and to provide more information when a trap occurs. For more information about SNMP fields, see Fortinet and FortiGate MIB fields on page 147. The FortiGate SNMP v3 implementation includes support for queries, traps, authentication, and privacy. Authentication and encryption are configured in the CLI. See the system snmp user command in the FortiGate CLI Reference.
Note: There were major changes to the MIB files between FortiOS v3.0 and v4.0. You need to use the new MIBs for FortiOS v4.0 or you may be accessing the wrong traps and fields.
This topic contains the following:Fortinet and FortiGate traps Fortinet and FortiGate MIB fields
140
System Config
SNMP
Configuring SNMP
Go to System > Config > SNMP v1/v2c to configure the SNMP agent.
SNMP v1/v2c page Provides settings for configuring the SNMP agent. SNMP Agent Description Location Contact Apply Create New Communities Name Queries Traps Enable Delete Edit Enable the FortiGate SNMP agent. Enter descriptive information about the FortiGate unit. The description can be up to 35 characters long. Enter the physical location of the FortiGate unit. The system location description can be up to 35 characters long. Enter the contact information for the person responsible for this FortiGate unit. The contact information can be up to 35 characters. Save changes made to the description, location, and contact information. Select Create New to add a new SNMP community. See Configuring an SNMP community on page 141. The list of SNMP communities added to the FortiGate configuration. You can add up to 3 communities. The name of the SNMP community. The status of SNMP queries for each SNMP community. The query status can be enabled or disabled. The status of SNMP traps for each SNMP community. The trap status can be enabled or disabled. Select Enable to activate an SNMP community. Select Delete to remove an SNMP community. Select to view or modify an SNMP community.
New SNMP Community page Provides settings for configuring an SNMP community.
141
SNMP
System Config
Community Name
Hosts section Enter the IP address and Identify the SNMP managers that can use the settings in this SNMP community to monitor the FortiGate unit. IP Address The IP address of an SNMP manager than can use the settings in this SNMP community to monitor the FortiGate unit. You can also set the IP address to 0.0.0.0 to so that any SNMP manager can use this SNMP community. Optionally select the name of the interface that this SNMP manager uses to connect to the FortiGate unit. You only have to select the interface if the SNMP manager is not on the same subnet as the FortiGate unit. This can occur if the SNMP manager is on the Internet or behind a router. In virtual domain mode, the interface must belong to the management VDOM to be able to pass SNMP traps. Select a Delete icon to remove an SNMP manager. Add a blank line to the Hosts list. You can add up to 8 SNMP managers to a single community.
Interface
Delete Add
Queries section Enter the Port number (161 by default) that the SNMP managers in this community use for SNMP v1 and SNMP v2c queries to receive configuration information from the FortiGate unit. Select the Enable check box to activate queries for each SNMP version. Note: The SNMP client software and the FortiGate unit must use the same port for queries. Protocol Port Enable The SNMP protocol. The port that the protocol uses. You can change the port if required. Select to enable that SNMP protocol
Traps section Enter the Local and Remote port numbers (port 162 for each by default) that the FortiGate unit uses to send SNMP v1 and SNMP v2c traps to the SNMP managers in this community. Select the Enable check box to activate traps for each SNMP version. Note: The SNMP client software and the FortiGate unit must use the same port for traps. SNMP Event Enable each SNMP event for which the FortiGate unit should send traps to the SNMP managers in this community. CPU overusage traps sensitivity is slightly reduced, by spreading values out over 8 polling cycles. This prevents sharp spikes due to CPU intensive shortterm events such as changing a policy. Power Supply Failure event trap is available only on some FortiGate models. AMC interfaces enter bypass mode event trap is available only on FortiGate models that support AMC modules. Select to enable the SNMP event.
Enable
To configure SNMP access (NAT/Route mode) Before a remote SNMP manager can connect to the FortiGate agent, you must configure one or more FortiGate interfaces to accept SNMP connections. 1 Go to System > Network > Interface. 2 Choose an interface that an SNMP manager connects to and select Edit. 3 In Administrative Access, select SNMP. 4 Select OK. To configure SNMP access (Transparent mode) 1 Go to System > Config > Operation. 2 Enter the IP address that you want to use for management access and the netmask in the Management IP/Netmask field. 3 Select Apply.
142
System Config
SNMP
Fortinet MIBs
The FortiGate SNMP agent supports Fortinet proprietary MIBs as well as standard RFC 1213 and RFC 2665 MIBs. RFC support includes support for the parts of RFC 2665 (Ethernet-like MIB) and the parts of RFC 1213 (MIB II) that apply to FortiGate unit configuration. There are two MIB files for FortiGate units - the Fortinet MIB, and the FortiGate MIB. The Fortinet MIB contains traps, fields and information that is common to all Fortinet products. The FortiGate MIB contains traps, fields and information that is specific to FortiGate units. Each Fortinet product has its own MIBif you use other Fortinet products you will need to download their MIB files as well. The Fortinet MIB and FortiGate MIB along with the two RFC MIBs are listed in tables in this section. You can download the two FortiGate MIB files from Fortinet Customer Support. For information on how to download the MIB files, see the Fortinet Knowledge Base. Your SNMP manager may already include standard and private MIBs in a compiled database that is ready to use. You must add the Fortinet proprietary MIB to this database to have access to the Fortinet specific information. You need to obtain and compile the two MIBs for this release. For more information about Fortinet MIBs and traps, see the FortiGate Administration Guide.
Note: There were major changes to the MIB files between FortiOS v3.0 and v4.0. You need to use the new MIBs for FortiOS v4.0 or you may mistakenly access the wrong traps and fields. Table 10: Fortinet MIBs MIB file name or RFC FORTINET-CORE-MIB.mib Description The proprietary Fortinet MIB includes all system configuration information and trap information that is common to all Fortinet products. Your SNMP manager requires this information to monitor FortiGate unit configuration settings and receive traps from the FortiGate SNMP agent. For more information, see Fortinet and FortiGate traps on page 144 and Fortinet and FortiGate MIB fields on page 147. The proprietary FortiGate MIB includes all system configuration information and trap information that is specific to FortiGate units. Your SNMP manager requires this information to monitor FortiGate configuration settings and receive traps from the FortiGate SNMP agent. FortiManager systems require this MIB to monitor FortiGate units. For more information, see Fortinet and FortiGate traps on page 144 and Fortinet and FortiGate MIB fields on page 147. The FortiGate SNMP agent supports MIB II groups with the following exceptions. No support for the EGP group from MIB II (RFC 1213, section 3.11 and 6.10). Protocol statistics returned for MIB II groups (IP/ICMP/TCP/UDP/etc.) do not accurately capture all FortiGate traffic activity. More accurate information can be obtained from the information reported by the Fortinet MIB.
FORTINET-FORTIGATE-MIB.mib
143
SNMP
System Config
Table 10: Fortinet MIBs MIB file name or RFC RFC-2665 (Ethernet-like MIB) Description The FortiGate SNMP agent supports Ethernet-like MIB information with the following exception. No support for the dot3Tests and dot3Errors groups.
Table 11: Generic Fortinet traps (OID 1.3.6.1.4.1.12356.1.3.0) Index Trap message .1 .2 .3 .4 ColdStart WarmStart LinkUp LinkDown Description Standard traps as described in RFC 1215.
144
System Config
SNMP
Table 12: System traps (OID1.3.6.1.4.1.12356.1.3.0) Index Trap message .101 CPU usage high (fnTrapCpuThreshold) Memory low (fnTrapMemThreshold) Log disk too full (fnTrapLogDiskThreshold) Temperature too high (fnTrapTempHigh) Voltage outside acceptable range (fnTrapVoltageOutOfRange) Power supply failure (fnTrapPowerSupplyFailure) Interface IP change (fnTrapIpChange) Description CPU usage exceeds 80%. This threshold can be set in the CLI using config system snmp sysinfo, set trap-high-cpu-threshold. Memory usage exceeds 90%. This threshold can be set in the CLI using config system snmp sysinfo, set trap-low-memory-threshold. Log disk usage has exceeded the configured threshold. Only available on devices with log disks. This threshold can be set in the CLI using config system snmp sysinfo, set trap-log-full-threshold. A temperature sensor on the device has exceeded its threshold. Not all devices have thermal sensors. See manual for specifications. Power levels have fluctuated outside of normal levels. Not all devices have voltage monitoring instrumentation. Power supply failure detected. Not available on all models. Available on some devices which support redundant power supplies. The IP address for an interface has changed. The trap message includes the name of the interface, the new IP address and the serial number of the Fortinet unit. You can use this trap to track interface IP address changes for interfaces with dynamic IP addresses set using DHCP or PPPoE. This trap is sent for diagnostic purposes. It has an OID index of .999.
.102
.103
.104
.105
.106
.201
.999
Table 13: FortiGate VPN traps (OID1.3.6.1.4.1.12356.1.3.0) Index Trap message .301 .302 VPN tunnel is up (fgTrapVpnTunUp) VPN tunnel down (fgTrapVpnTunDown) Local gateway address (fgVpnTrapLocalGateway) Description An IPSec VPN tunnel has started. An IPSec VPN tunnel has shut down. Address of the local side of the VPN tunnel. This information is associated with both of the VPN tunnel traps. (OID1.3.6.1.4.1.12356.101.12.3.2)
Remote gateway address Address of remote side of the VPN tunnel. (fgVpnTrapRemoteGateway) This information is associated with both of the VPN tunnel traps. (OID1.3.6.1.4.1.12356.101.12.3.2)
145
SNMP
System Config
Table 14: FortiGate IPS traps (OID1.3.6.1.4.1.12356.1.3.0) Index Trap message .503 .504 .505 IPS Signature (fgTrapIpsSignature) IPS Anomaly (fgTrapIpsAnomaly) IPS Package Update (fgTrapIpsPkgUpdate) (fgIpsTrapSigId) (fgIpsTrapSrcIp) (fgIpsTrapSigMsg) Description IPS signature detected. IPS anomaly detected. The IPS signature database has been updated. ID of IPS signature identified in trap. (OID 1.3.6.1.4.1.12356.101.9.3.1) IP Address of the IPS signature trigger. (OID 1.3.6.1.4.1.12356.101.9.3.2) Message associated with IPS event. (OID 1.3.6.1.4.1.12356.101.9.3.3)
Table 15: FortiGate antivirus traps (OID1.3.6.1.4.1.12356.1.3.0) Index Trap message .601 Virus detected (fgTrapAvVirus) Oversize file/email detected (fgTrapAvOversize) Filename block detected (fgTrapAvPattern) Fragmented file detected (fgTrapAvFragmented) (fgTrapAvEnterConserve) (fgTrapAvBypass) (fgTrapAvOversizePass) (fgTrapAvOversizeBlock) (fgAvTrapVirName) Description The antivirus engine detected a virus in an infected file from an HTTP or FTP download or from an email message. The antivirus scanner detected an oversized file. The antivirus scanner blocked a file that matched a known virus pattern. The antivirus scanner detected a fragmented file or attachment. The AV engine entered conservation mode due to low memory conditions. The AV scanner has been bypassed due to conservation mode. An oversized file has been detected, but has been passed due to configuration. An oversized file has been detected, and has been blocked. The virus name that triggered the event. (OID1.3.6.1.4.1.12356.101.8.3.1)
146
System Config
SNMP
Table 16: FortiGate HA traps (OID1.3.6.1.4.1.12356.1.3.0) Index Trap message .401 .402 HA switch (fgTrapHaSwitch) HA State Change (fgTrapHaStateChange) HA Heartbeat Failure (fgTrapHaHBFail) HA Member Unavailable (fgTrapHaMemberDown) HA Member Available (fgTrapHaMemberUp) (fgHaTrapMemberSerial) Description The specified cluster member has transitioned from a slave role to a master role. The trap sent when the HA cluster member changes its state. . The heartbeat failure count has exceeded the configured threshold. An HA member becomes unavailable to the cluster. An HA member becomes available to the cluster. Serial number of an HA cluster member. Used to identify the origin of a trap when a cluster is configured. (OID1.3.6.1.4.1.12356.101.13.3.1)
147
SNMP
System Config
Table 17: FortiGate HA MIB Information fields (OID 1.3.6.1.4.1.12356.101.13.1) MIB field fgHaSystemMode fgHaGroupId fgHaPriority fgHaOverride fgHaAutoSync fgHaSchedule fgHaGroupName fgHaTrapMemberSerial Description High-availability mode (Standalone, A-A or A-P). HA cluster group ID. HA clustering priority (default - 127). Status of a master override flag. Status of an automatic configuration synchronization. Load balancing schedule for cluster in Active-Active mode. HA cluster group name. Serial number of an HA cluster member. Index .1 .2 .3 .4 .5 .6 .7 .8
Table 18: FortiGate HA unit stats fields (OID 1.3.6.1.4.1.12356.101.13.2) MIB field fgHaStatsTable Description Statistics for the individual FortiGate unit in the HA cluster. fgHaStatsIndex fgHaStatsSerial fgHaStatsCpuUsage fgHaStatsNetUsage fgHaStatsSesCount fgHaStatsPktCount The index number of the unit in the cluster. The FortiGate unit serial number. The current FortiGate unit CPU usage (%). The current unit network utilization (Kbps). The number of active sessions. The number of packets processed. .1 .2 .3 .4 .5 .6 .7 .8 Index
fgHaStatsByteCount The number of bytes processed by the FortiGate unit fgHaStatsIdsCount fgHaStatsAvCount fgHaStatsHostname
The number of attacks that the IPS detected in .9 the last 20 hours. The number of viruses that the antivirus system detected in the last 20 hours. Hostname of HA Cluster's unit. .10 .11
Table 19: FortiGate Administrator accounts (OID 1.3.6.1.4.1.12356.101) MIB field fgAdminIdleTimeout fgAdminLcdProtection fgAdminTable Description Idle period after which an administrator is automatically logged out of the system. Status of the LCD protection, either enabled or disabled. Table of administrators on this FortiGate unit. fgAdminVdom The virtual domain the administrator belongs to. (OID 1.3.6.1.4.1.12356.101.6.1.2.1.1.1) Index .1 .2
148
System Config
SNMP
Table 20: FortiGate Virtual domains (OID 1.3.6.1.4.1.12356.101.3.1) MIB field fgVdInfo Description FortiGate unit Virtual Domain related information. fgVdNumber fgVdMaxVdoms The number of virtual domains configured on this FortiGate unit. .1 Index
The maximum number of virtual domains allowed on .2 the FortiGate unit as allowed by hardware or licensing. Whether virtual domains are enabled on this FortiGate unit. .3
fgVdEnabled
Table 21: FortiGate Virtual domain table entries (OID 1.3.6.1.4.1.12356.101.3.2.1.1) MIB field Description Index
fgVdTable.fgV Table of information about each virtual domaineach virtual domain has an fgVdEntry. Each entry has the following fields. dEntry fgVdEntIndex Internal virtual domain index used to uniquely identify .1 entries in this table. This index is also used by other tables referencing a virtual domain. fgVdEntName fgVdEntOpMode The name of the virtual domain. .2 Operation mode of this virtual domain - either NAT or .3 Transparent.
Table 22: FortiGate Active IP sessions table (OID 1.3.6.1.4.1.12356.101.11.2.1.1) MIB field fgIpSessIndex fgIpSessProto fgIpSessFromPort fgIpSessToAddr fgIpSessToPort fgIpSessExp fgIpSessVdom Description The index number of the IP session within the fgIpSessTable table The IP protocol the session is using (IP, TCP, UDP, etc.). The source port of the active IP session (UDP and TCP only). The destination IPv4 address of the active IP session. The destination port of the active IP session (UDP and TCP only). The number of seconds remaining until the sessions expires (if idle). Virtual domain the session is part of. Corresponds to the index in fgVdTable. fgIpSessStatsEntry. Total sessions on this virtual domain. fgIpSessNumber (OID 1.3.6.1.4.1.12356.101.11.2.1.2.1.1) Index .1 .2 .3 .4 .5 .6 .7 .8
149
SNMP
System Config
Table 23: FortiGate Firewall policy statistics table (OID 1.3.6.1.4.1.12356.101.5.1.2.1.1) MIB field fgFwPolicyStatsTable.fg FwPolicyStatsEntry fgFwPolicyID Description Index
Entries in the table for firewall policy statistics on a virtual domain. Firewall policy ID. Only enabled policies are available for querying. Policy IDs are only unique within a virtual domain. .1
fgFwPolicyPktCount
Number of packets matched to policy (passed or blocked, .2 depending on policy action). Count is from the time the policy became active. Number of bytes matched to policy (passed or blocked, .3 depending on policy action). Count is from the time the policy became active.
fgFwPolicyByteCount
Table 24: FortiGate Dialup VPN peers (OID 1.3.6.1.4.1.12356.101.12.2.1.1) MIB field fgVpnDialupIndex fgVpnDialupGateway fgVpnDialupLifetime fgVpnDialupTimeout fgVpnDialupSrcBegin fgVpnDialupSrcEnd fgVpnDialupDstAddr fgVpnDialupVdom fgVpnDialUpInOctets fgVpnDialUpOutOctets Description An index value that uniquely identifies an VPN dial-up peer in the table. The remote gateway IP address on the tunnel. VPN tunnel lifetime in seconds. Time remaining until the next key exchange (seconds) for this tunnel. Remote subnet address of the tunnel. Remote subnet mask of the tunnel. Local subnet address of the tunnel. The virtual domain this tunnel is part of. This index corresponds to the index in fgVdTable. The number of bytes received over the tunnel. The number of byes send over the tunnel. Index .1 .2 .3 .4 .5 .6 .7 .8 .9 .10
150
System Config
Replacement messages
Table 25: VPN Tunnel table (OID 1.3.6.1.4.1.12356.101.12.2.2.1) MIB field fgVpnTunEntIndex fgVpnTunEntPhase1Name fgVpnTunEntPhase2Name fgVpnTunEntRemGwyIp fgVpnTunEntRemGwyPort fgVpnTunEntLocGwyIp fgVpnTunEntLocGwyPort Description An index value that uniquely identifies a VPN tunnel within the VPN tunnel table. The descriptive name of the Phase1 configuration for the tunnel. The descriptive name of the Phase2 configuration for the tunnel. The IP of the remote gateway used by the tunnel. Index .1 .2 .3 .4
The port of the remote gateway used by the tunnel, if it .5 is UDP. The IP of the local gateway used by the tunnel. .6 The port of the local gateway used by the tunnel, if it is .7 UDP.
fgVpnTunEntSelectorSrcBegin Beginning of the address range of the source selector. .8 Ip fgVpnTunEntSelectorSrcEndIp Ending of the address range of the source selector. fgVpnTunEntSelectorSrcPort Source selector port. fgVpnTunEntSelectorDstBegin Beginning of the address range of the destination selector. Ip fgVpnTunEntSelectorDstPort fgVpnTunEntSelectorProto fgVpnTunEntLifeSecs fgVpnTunEntLifeBytes fgVpnTunEntTimeout fgVpnTunEntInOctets fgVpnTunEntOutOctets fgVpnTunEntStatus fgVpnTunEntVdom Destination selector port. Protocol number for the selector. .9 .10 .11
fgVpnTunEntSelectorDstEndIp Ending of the address range of the destination selector. .12 .13 .14
Lifetime of the tunnel in seconds, if time based lifetime .15 is used. Lifetime of the tunnel in bytes, if byte transfer based lifetime is used. Timeout of the tunnel in seconds. Number of bytes received on the tunnel. Number of bytes sent out on the tunnel. Current status of the tunnel - either up or down. Virtual domain the tunnel belongs to. This index corresponds to the index used in fgVdTable. .16 .17 .18 .19 .20 .21
Replacement messages
The FortiGate unit adds replacement messages to a variety of content streams. For example, if a virus is found in an email message attachment, the file is removed from the email and replaced with a replacement message. The same applies to pages blocked by web filtering and email blocked by email filtering. Go to System > Config > Replacement Message to change replacement messages and customize alert email and information that the FortiGate unit adds to content streams such as email messages, web pages, and FTP sessions.
151
Replacement messages
System Config
Note: FortiOS uses HTTP to send the Authentication Disclaimer page for the user to accept before the firewall policy is in effect. Therefore, the user must initiate HTTP traffic first in order to trigger the Authentication Disclaimer page. Once the Disclaimer is accepted, the user can send whatever traffic is allowed by the firewall policy.
See also Changing replacement messages VDOM and global replacement messages
152
System Config
Replacement messages
153
Replacement messages
System Config
Table 26: Mail replacement messages Message name Description Virus message File block message Oversized file message Fragmented email Data leak prevention message Subject of data leak prevention message Antivirus Virus Scan enabled for an email protocol in a protection profile deletes a infected file from an email message and replaces the file with this message. When the antivirus File Filter enabled for an email protocol in a protection profile deletes a file that matches an entry in the selected file filter list, the file is blocked and the email is replaced with this message. When the antivirus Oversized File/Email is set to Block for an email protocol in a protection profile and removes an oversized file from an email message, the file is replaced with this message. In a protection profile, antivirus Pass Fragmented Emails is not enabled so a fragmented email is blocked. This message replaces the first fragment of the fragmented email. In a DLP sensor, a rule with action set to Block replaces a blocked email message with this message. This message is added to the subject field of all email messages replaced by the DLP sensor Block, Ban, Ban Sender, Quarantine IP address, and Quarantine interface actions.
Banned by data In a DLP sensor, a rule with action set to Ban replaces a blocked email message leak prevention with this message. This message also replaces any additional email messages message that the banned user sends until they are removed from the banned user list. Sender banned by data leak prevention message Virus message (splice mode) In a DLP sensor, a rule with action set to Ban Sender replaces a blocked email message with this message. This message also replaces any additional email messages that the banned user sends until the user is removed from the banned user list. Splice mode is enabled and the antivirus system detects a virus in an SMTP email message. The FortiGate unit aborts the SMTP session and returns a 554 SMTP error message to the sender that includes this replacement message.
File block Splice mode is enabled and the antivirus file filter deleted a file from an SMTP message (splice email message. The FortiGate unit aborts the SMTP session and returns a 554 mode) SMTP error message to the sender that includes this replacement message. Oversized file Splice mode is enabled and antivirus Oversized File/Email set to Block and the message (splice FortiGate unit blocks an oversize SMTP email message. The FortiGate unit mode) aborts the SMTP session and returns a 554 SMTP error message to the sender that includes this replacement message.
154
System Config
Replacement messages
Table 27: HTTP replacement messages Message name Description Virus message Antivirus Virus Scan enabled for HTTP or HTTPS in a protection profile deletes an infected file being downloaded using an HTTP GET and replaces the file with this web page that is displayed by the client browser. Client comforting is enabled in a protection profile and the FortiGate unit blocks a URL added to the client comforting URL cache and replaces the blocked URL with this web page. For more information about the client comforting URL cache, see HTTP and FTP client comforting on page 472. Antivirus File Filter enabled for HTTP or HTTPS in a protection profile blocks a file being downloaded using an HTTP GET that matches an entry in the selected file filter list and replaces it with this web page that is displayed by the client browser. Antivirus Oversized File/Email set to Block for HTTP or HTTPS in a protection profile blocks an oversized file being downloaded using an HTTP GET and replaces the file with this web page that is displayed by the client browser. In a DLP sensor, a rule with action set to Block replaces a blocked web page or file with this web page.
Banned by data In a DLP sensor, a rule with action set to Ban replaces a blocked web page or file leak prevention with this web page. This web page also replaces any additional web pages or message files that the banned user attempts to access until the user is removed from the banned user list. Banned word message Web content filtering enabled in a protection profile blocks a web page being downloaded with an HTTP GET that contains content that matches an entry in the selected Web Content Filter list. The blocked page is replaced with this web page. Email headers include information about content types such as image for pictures, and so on. If a specific content-type is blocked, the blocked message is replaced with this web page. Web URL filtering enabled in a protection profile blocks a web page with a URL that matches an entry in the selected URL Filter list. The blocked page is replaced with this web page. Antivirus File Filter enabled for HTTP or HTTPS in a protection profile blocks a file being uploaded by an HTTP POST that matches an entry in the selected file filter list and replaces it with this web page that is displayed by the client browser. Antivirus Virus Scan enabled for HTTP or HTTPS in a protection profile deletes an infected file being uploaded using an HTTP PUT and replaces the file with this a web page that is displayed by the client browser. In a protection profile, antivirus Oversized File/Email set to Block for HTTP or HTTPS and an oversized file that is being uploaded with an HTTP PUT is blocked and replaced with this web page. Web content filtering enabled in a protection profile blocks a web page being uploaded with an HTTP PUT that contains content that matches an entry in the selected Web Content Filter list. The client browser displays this web page. HTTP POST Action is set to Block in a protection profile and the FortiGate unit blocks an HTTP POST and displays this web page.
Client anti-virus
Client filesize
155
Replacement messages
System Config
Table 28: FTP replacement messages Message name Description Virus message Blocked message Oversized message DLP message DLP ban message Antivirus Virus Scan enabled for FTP in a protection profile deletes an infected file being downloaded using FTP and sends this message to the FTP client. Antivirus File Filter enabled for FTP in a protection profile blocks a file being downloaded using FTP that matches an entry in the selected file filter list and sends this message to the FTP client. Antivirus Oversized File/Email set to Block for FTP in a protection profile blocks an oversize file from being downloaded using FTP and sends this message to the FTP client. In a DLP sensor, a rule with action set to Block replaces a blocked FTP download with this message. In a DLP sensor, a rule with action set to Ban blocks an FTP session and displays this message. This message is displayed whenever the banned user attempts to access until the user is removed from the banned user list.
Banned by data In a DLP sensor, a rule with action set to Ban replaces a blocked NNTP leak prevention message with this message. This message also replaces any additional NNTP message messages that the banned user sends until they are removed from the banned user list.
156
System Config
Replacement messages
Table 30: Alert mail replacement messages Message name Description Virus message Block message Virus detected must be enabled for alert email. Antivirus Virus Scan must be enabled in a protection profile and detect a virus. Virus detected must be enabled for alert email. Antivirus File Filter must be enabled in a protection profile, and block a file that matches an entry in a selected file filter list. Intrusion detected enabled for alert email. An IPS Sensor or a DoS Sensor detects and attack. Whenever a critical level event log message is generated, this replacement message is sent unless you configure alert email to enable Send alert email for logs based on severity and set the Minimum log level to Alert or Emergency. Disk usage enabled and disk usage reaches the % configured for alert email.
If you enable Send alert email for logs based on severity for alert email, whether or not replacement messages are sent by alert email depends on how you set the alert email Minimum log level.
DNSBL/ORDBL From the CLI, spamrbl enabled for an email protocol in a protection profile identifies an email message as spam and adds this replacement message. HELO/EHLO domain Email address Mime header HELO DNS lookup enabled for SMTP in a protection profile identifies an email message as spam and adds this replacement message. HELO DNS lookup is not available for SMTPS. E-mail address BWL check enabled for an email protocol in a protection profile identifies an email message as spam and adds this replacement message. From the CLI, spamhdrcheck enabled for an email protocol in a protection profile identifies an email message as spam and adds this replacement message. Return e-mail DNS check enabled for an email protocol in a protection profile identifies an email message as spam and adds this replacement message. Banned word check enabled for an email protocol in a protection profile identifies an email message as spam and adds this replacement message. Any Email Filtering option enabled for an email protocol in a protection profile identifies an email message as spam and adds this replacement message. Email Filtering adds this message to all email tagged as spam. The message describes a button that the recipient of the message can select to submit the email signatures to the FortiGuard Antispam service if the email was incorrectly tagged as spam (a false positive).
157
Replacement messages
System Config
158
System Config
Replacement messages
<TR><TH>Username:</TH> <TD><INPUT NAME="%%USERNAMEID%%" SIZE="25" TYPE="text"> </TD></TR> <TR><TH>Password:</TH> <TD><INPUT NAME="%%PASSWORDID%%" SIZE="25" TYPE="password"> </TD></TR> <TR><TD COLSPAN="2" ALIGN="center" BGCOLOR="#00cccc"> <INPUT NAME="%%STATEID%%" VALUE="%%STATEVAL%%" TYPE="hidden"> <INPUT NAME="%%REDIRID%%" VALUE="%%PROTURI%%" TYPE="hidden"> <INPUT VALUE="Continue" TYPE="submit"> </TD></TR> </TBODY></TABLE></FORM></BODY></HTML>
Table 32: Authentication replacement messages Message name Description Disclaimer page Enable Disclaimer and Redirect URL to selected in a firewall policy that includes identity based policies. After a firewall user authenticates with the FortiGate unit using HTTP or HTTPS, this disclaimer page is displayed. The CLI includes auth-disclaimer-page-1, auth-disclaimer-page-2, and auth-disclaimer-page-3 that you can use to increase the size of the authentication disclaimer page replacement message. For more information, see the FortiGate CLI Reference. Declined When a firewall user selects the button on the Disclaimer page to decline access disclaimer page through the FortiGate unit, the Declined disclaimer page is displayed. Login page Login failed page The HTML page displayed for firewall users who are required to authenticate using HTTP or HTTPS before connecting through the FortiGate unit. The HTML page displayed if firewall users enter an incorrect user name and password combination.
Login challenge The HTML page displayed if firewall users are required to answer a question to page complete authentication. The page displays the question and includes a field in which to type the answer. This feature is supported by RADIUS and uses the generic RADIUS challenge-access auth response. Usually, challenge-access responses contain a Reply-Message attribute that contains a message for the user (for example, Please enter new PIN). This message is displayed on the login challenge page. The user enters a response that is sent back to the RADIUS server to be verified. The Login challenge page is most often used with RSA RADIUS server for RSA SecurID authentication. The login challenge appears when the server needs the user to enter a new PIN. You can customize the replacement message to ask the user for a SecurID PIN. Keepalive page The HTML page displayed with firewall authentication keepalive is enabled using the following command: config system global set auth-keepalive enable end Authentication keepalive keeps authenticated firewall sessions from ending when the authentication timeout ends. Go to User > Options to set the Authentication Timeout.
159
Replacement messages
System Config
If the FortiGate unit supports SSL content scanning and inspection and if Protocol Recognition > HTTPS Content Filtering Mode is set to Deep Scan in the protection profile, these replacement messages can also replace web pages downloaded using the HTTPS protocol. For more information about SSL content scanning and inspection, see the UTM chapter of the FortiOS Handbook.
Table 33: FortiGuard Web Filtering replacement messages Message name Description URL block message HTTP error message Enable FortiGuard Web Filtering enabled in a protection profile for HTTP or HTTPS blocks a web page. The blocked page is replaced with this web page. Provide details for blocked HTTP 4xx and 5xx errors enabled in a protection profile for HTTP or HTTPS blocks a web page. The blocked page is replaced with this web page.
FortiGuard Web Override selected for a FortiGuard Web Filtering category and FortiGuard Web Filtering Filtering blocks a web page in this category and displays this web page. Using override form this web page users can authenticate to get access to the page. Go to UTM > Web Filter > Override to add override rules. For more information, see Configuring administrative override rules on page 558. The %%OVRD_FORM%% tag provides the form used to initiate an override if FortiGuard Web Filtering blocks access to a web page. Do not remove this tag from the replacement message.
File name block Antivirus File Filter enabled for IM in a protection profile deletes a file with a message name that matches an entry in the selected file filter list and replaces it with this message. Virus message Oversized file message Data leak prevention message Antivirus Virus Scan enabled for IM in a protection profile deletes a infected file from and replaces the file with this message. Antivirus Oversized File/Email set to Block for IM in a protection profile removes an oversized file and replaces the file with this message. In a DLP sensor, a rule with action set to Block replaces a blocked IM or P2P message with this message.
Banned by data In a DLP sensor, a rule with action set to Ban replaces a blocked IM or P2P leak prevention message with this message. This message also replaces any additional message messages that the banned user sends until they are removed from the banned user list. Voice chat block In an Application Control list, the Block Audio option is selected for AIM, ICQ, message MSN, or Yahoo! and the application control list is added to a protection profile. Photo share block message In an Application Control list, the block-photo CLI keyword is enabled for MSN, or Yahoo and the application control list is added to a protection profile. You enable photo blocking from the CLI.
160
System Config
Replacement messages
Endpoint NAC Download Portal The FortiGate unit sends this page if the Endpoint NAC profile has the Quarantine Hosts to User Portal (Enforce compliance) option selected. The user can download the FortiClient Endpoint Security application installer. If you modify this replacement message, be sure to retain the %%LINK%% tag which provides the download URL for the FortiClient installer. Endpoint NAC Recommendation Portal The FortiGate unit sends this page if the Endpoint NAC profile has the Notify Hosts to Install FortiClient (Warn only) option selected. The user can either download the FortiClient Endpoint Security application installer or select the Continue to link to access their desired destination. If you modify this replacement message, be sure to retain both the %%LINK%% tag which provides the download URL for the FortiClient installer and the %%DST_ADDR%% link that contains the URL that the user requested.
To modify these messages, go to System > Config > Replacement Messages. Expand Endpoint NAC and select the Edit icon of the message that you want to modify. For more information about Endpoint NAC, see Endpoint on page 471.
DoS Message
161
Replacement messages
System Config
Table 35: NAC quarantine replacement messages (Continued) Message name Description IPS Message Quarantine Attackers enabled in an IPS sensor filter or override and the IPS sensor added to a protection profile adds a source IP address, a destination IP address, or a FortiGate interface to the banned user list. The FortiGate unit displays this replacement message as a web page when the blocked user attempts to connect through the FortiGate unit using HTTP on port 80 or when any user attempts to connect through a FortiGate interface added to the banned user list using HTTP on port 80. This replacement message is not displayed if method is set to Attacker and Victim IP Address. Action set to Quarantine IP address or Quarantine Interface in a DLP sensor and the DLP sensor added to a protection profile adds a source IP address or a FortiGate interface to the banned user list. The FortiGate unit displays this replacement message as a web page when the blocked user attempts to connect through the FortiGate unit using HTTP on port 80 or when any user attempts to connect through a FortiGate interface added to the banned user list using HTTP on port 80.
DLP Message
%%AUTH_REDIR_URL%% The auth-keepalive page can prompt the user to open a new window which links to this tag. %%CATEGORY%% %%DEST_IP%% The name of the content category of the web site. The IP address of the request destination from which a virus was received. For email this is the IP address of the email server that sent the email containing the virus. For HTTP this is the IP address of web page that sent the virus.
162
System Config
Table 36: Replacement message tags (Continued) Tag %%EMAIL_FROM%% %%EMAIL_TO%% Description The email address of the sender of the message from which the file was removed. The email address of the intended receiver of the message from which the file was removed. The name of a file that has been removed from a content stream. This could be a file that contained a virus or was blocked by antivirus file blocking. %%FILE%% can be used in virus and file block messages. The FortiGuard - Web Filtering logo. The Fortinet logo. The link to the FortiClient Host Security installs download for the Endpoint Control feature. The HTTP error code. 404 for example. The HTTP error description. The IPS attack message. %%NIDSEVENT%% is added to alert email intrusion messages. The link to the FortiGuard Web Filtering override form. This is visible only if the user belongs to a group that is permitted to create FortiGuard web filtering overrides. The FortiGuard web filter block override form. This tag must be present in the FortiGuard Web Filtering override form and should not be used in other replacement messages. The protocol (http, ftp, pop3, imap, or smtp) in which a virus was detected. %%PROTOCOL%% is added to alert email virus messages. The name of a file that has been removed from a content stream and added to the quarantine. This could be a file that contained a virus or was blocked by antivirus file blocking. %%QUARFILENAME%% can be used in virus and file block messages. Quarantining is only available on FortiGate units with a local disk. Display information about the traffic shaping quota setting that is blocking the user. Used in traffic quota control replacement messages. Authentication challenge question on auth-challenge page. Prompt to enter username and password on auth-login page. The name of the web filtering service. The IP address of the request originator who would have received the blocked file. For email this is the IP address of the users computer that attempted to download the message from which the file was removed. Configured number of seconds between authentication keepalive connections. Used on the auth-keepalive page. The URL of a web page. This can be a web page that is blocked by web filter content or URL blocking. %%URL%% can also be used in http virus and file block messages to be the URL of the web page from which a user attempted to download a file that is blocked. The name of a virus that was found in a file by the antivirus system. %%VIRUS%% can be used in virus messages
%%FAILED_MESSAGE%% The failed to login message displayed on the auth-login-failed page. %%FILE%%
%%OVRD_FORM%%
%%PROTOCOL%% %%QUARFILENAME%%
%%TIMEOUT%% %%URL%%
%%VIRUS%%
163
System Config
Management access to a VDOM can be restricted based on which interfaces and protocols can be used to connect to the FortiGate unit.
Default Gateway
To switch from Transparent to NAT/Route mode 1 Go to System > Config > Operation or select Change beside Operation Mode on the System Status page for the virtual domain. 2 From the Operation Mode list, select NAT. 3 Enter the following information and select Apply.
Interface IP/Netmask Enter a valid IP address and netmask for the network from which you want to manage the FortiGate unit. Device Default Gateway Gateway Device Select the interface to which the Interface IP/Netmask settings apply. Enter the default gateway required to reach other networks from the FortiGate unit. Select the interface to which the default gateway is connected.
Management access
Management access defines how administrators are able to log on to the FortiGate unit to perform management tasks such as configuration and maintenance. Methods of access can include local access through the console connection, or remote access over a network or modem interface using various protocols including Telnet and HTTPS. You can configure management access on any interface in your VDOM. See Configuring administrative access to an interface on page 101. In NAT/Route mode, the interface IP address is used for management access. In Transparent mode, you configure a single management IP address that applies to all interfaces in your VDOM that permit management access. The FortiGate also uses this IP address to connect to the FDN for virus and attack updates (see Configuring the FortiGate unit for FDN and FortiGuard subscription services on page 203).
164
System Config
The system administrator (admin) can access all VDOMs, and create regular administrator accounts. A regular administrator account can access only the VDOM to which it belongs. The management computer must connect to an interface in that VDOM. It does not matter to which VDOM the interface belongs. In both cases, the management computer must connect to an interface that permits management access and its IP address must be on the same network. Management access can be via HTTP, HTTPS, telnet, or SSH sessions if those services are enabled on the interface. HTTPS and SSH are preferred as they are more secure. You can allow remote administration of the FortiGate unit. However, allowing remote administration from the Internet could compromise the security of the FortiGate unit. You should avoid this unless it is required for your configuration. To improve the security of a FortiGate unit that allows remote administration from the Internet: Use secure administrative user passwords. Change these passwords regularly. Enable secure administrative access to this interface using only HTTPS or SSH. Use Trusted Hosts to limit where the remote access can originate from. Do not change the system idle timeout from the default value of 5 minutes (see Settings on page 183).
165
System Config
166
System Admin
Administrators
System Admin
This section describes how to configure administrator accounts on your FortiGate unit. Administrators access the FortiGate unit to configure its operation. The factory default configuration has one administrator, admin. After connecting to the web-based manager or the CLI, you can configure additional administrators with various levels of access to different parts of the FortiGate unit configuration. If you enable virtual domains (VDOMs) on the FortiGate unit, system administrators are configured globally for the entire FortiGate unit. For more information, see Using virtual domains on page 73. The following topics are included in this section: Administrators Admin profiles Central Management Settings Monitoring administratorsFortiGate IPv6 support
Note: Always end your FortiGate session by logging out, in the CLI or the web-based manager. If you do not, the session remains open.
Administrators
There are two levels of administrator accounts:
Regular administrators An administrator with any admin profile other than super_admin. A regular administrator account has access to configuration options as determined by its Admin Profile. If virtual domains are enabled, the regular administrator is assigned to one VDOM and cannot access global configuration options or the configuration for any other VDOM. For information about which options are global and which are per VDOM, see VDOM configuration settings on page 74 and Global configuration settings on page 76. Includes the factory default system administrator admin, any other administrators assigned to the super_admin profile, and any administrator that is assigned to the super_admin_readonly profile. Any administrator assigned to the super_admin admin profile, including the default administrator account admin, has full access to the FortiGate unit configuration and general system settings that includes the ability to: enable VDOM configuration create VDOMs configure VDOMs assign regular administrators to VDOMs configure global options customize the FortiGate web-based manager. The super_admin admin profile cannot be changed; it does not appear in the list of profiles in System > Admin > Admin Profile, but it is one of the selections in the Admin Profile drop-down list in System > Admin New/Edit Administrator dialog box.
System administrators
Users assigned to the super_admin profile: cannot delete logged-in users who are also assigned the super_admin profile
167
Administrators
System Admin
can delete other users assigned the super_admin profile and/or change the configured authentication method, password, or admin profile, only if the other users are not logged in can delete the default admin account only if the default admin user is not logged in.
By default, admin has no password. The password should be 32 characters or less. The password of users with the super_admin admin profile can be reset in the CLI. If the password of a user who is logged in is changed, the user will be logged out and prompted to re-authenticate with the new password. Example: For the user ITAdmin with the admin profile super_admin, to set that users password to 123456: config sys admin edit ITAdmin set password 123456 end Example: For the user ITAdmin with the admin profile super_admin, to reset the password from 123456 to the default empty: config sys admin edit ITAdmin unset password 123456 end There is also an admin profile that allows read-only super admin privileges called super_admin_readonly. This profile cannot be deleted or changed, similar to the super_admin profile. The read-only super_admin profile is suitable in a situation where it is necessary for a system administrator to troubleshoot a customer configuration without being able to make changes. Other than being read-only, the super_admin_readonly profile can view all the FortiGate configuration tools. You can authenticate an administrator by using a password stored on the FortiGate unit, a remote authentication server (such as LDAP, RADIUS, or TACACS+), or by using PKI certificate-based authentication. To authenticate an administrator with an LDAP or TACACS+ server, you must add the server to an authentication list, include the server in a user group, and associate the administrator with the user group. The RADIUS server authenticates users and authorizes access to internal network resources based on the admin profile of the user. Users authenticated with the PKI-based certificate are permitted access to internal network resources based on the user group they belong to and the associated admin profile. A VDOM/admin profile override feature supports authentication of administrators via RADIUS. The admin user will have access depending on which VDOM and associated admin profile he or she is restricted to. This feature is available only to wildcard administrators, and can be set only through the FortiGate CLI. There can only be one VDOM override user per system. For more information, see the FortiGate CLI Reference. This topic contains the following: Viewing the administrators list Configuring an administrator account Changing an administrator account password Configuring regular (password) authentication for administrators Configuring remote authentication for administrators Configuring PKI certificate authentication for administrators
168
System Admin
Administrators
Administrators page Lists the default super_admin administrator account and all administrator accounts that you created. Create New Name Add an administrator account. The login name for an administrator account.
Trusted Hosts The IP address and netmask of trusted hosts from which the administrator can log in. For more information, see Using trusted hosts on page 177. Profile Type Local Remote The admin profile for the administrator. The type of authentication for this administrator, one of: Authentication of an account with a local password stored on the FortiGate unit. Authentication of a specific account on a RADIUS, LDAP, or TACACS+ server.
Remote+ Authentication of any account on an LDAP, RADIUS, or TACACS+ server. Wildcard PKI Delete PKI-based certificate authentication of an account. Delete the administrator account. You cannot delete the original admin account until you create another user with the super_admin profile, log out of the admin account, and log in with the alternate user that has the super_admin profile. Edit or view the administrator account. Change the password for the administrator account. See Changing an administrator account password on page 170.
Type
169
Administrators
System Admin
Remote
Select to authenticate the administrator using a RADIUS, LDAP, or TACACS+ server. Server authentication for administrators must be configured first. For more information, see Configuring remote authentication for administrators on page 171. Select to enable certificate-based authentication for the administrator. Only one administrator can be logged in with PKI authentication enabled. For more information, see Configuring PKI certificate authentication for administrators on page 176. Select the administrator user group that includes the Remote server/PKI (peer) users as members of the User Group. The administrator user group cannot be deleted once the group is selected for authentication. This is available only if Type is Remote or PKI. Select to allow all accounts on the RADIUS, LDAP, or TACACS+ server to be administrators. This is available only if Type is Remote. Only one wildcard user is permitted per VDOM. Enter a password for the administrator account. For improved security, the password should be at least 6 characters long. This is not available if Wildcard is selected or when Type is PKI. For more information see the Fortinet Knowledge Base article Recovering lost administrator account passwords if you forget or lose an administrator account password and cannot log in to your FortiGate unit. Type the password for the administrator account a second time to confirm that you have typed it correctly. This is not available if Wildcard is selected or when PKI authentication is selected. Enter the trusted host IP address and netmask this administrator login is restricted to on the FortiGate unit. You can specify up to three trusted hosts. These addresses all default to 0.0.0.0/0 or 0.0.0.0/0.0.0.0. For more information, see Using trusted hosts on page 177.
PKI
User Group
Wildcard
Password
Confirm Password
IPv6 Trusted Host #1 Enter the trusted host IPv6 address and netmask this administrator login is IPv6 Trusted Host #2 restricted to on the FortiGate unit. You can specify up to three trusted hosts. IPv6 Trusted Host #3 These addresses all default to ::/0. For more information, see Using trusted hosts on page 177. Admin Profile Select the admin profile for the administrator. You can also select Create New to create a new admin profile. For more information on admin profiles, see Configuring an admin profile on page 181.
170
System Admin
Administrators
A password for the administrator to use to authenticate. The password entered in Password. The admin profile to apply to the administrator.
4 Configure additional features as required. For more information, see Configuring an administrator account on page 169. 5 Select OK. When you select Regular for Type, you will see Local as the entry in the Type column when you view the list of administrators. For more information, see Viewing the administrators list on page 169.
Note: If you forget or lose an administrator account password and cannot log in to your FortiGate unit, see the Fortinet Knowledge Base article Recovering a lost FortiGate administrator account passwords.
The following instructions assume there is a RADIUS server on your network populated with the names and passwords of your administrators. For information on how to set up a RADIUS server, see the documentation for your RADIUS server. To view the RADIUS server list, go to User > Remote > RADIUS.
RADIUS page Lists all RADIUS servers that you configured. On this page, you can edit, delete and create a new RADIUS server. Create New Name Server Name/IP Add a new RADIUS server. The name that identifies the RADIUS server on the FortiGate unit. The domain name or IP address of the RADIUS server.
171
Administrators
System Admin
Delete
Delete a RADIUS server configuration. You cannot delete a RADIUS server that has been added to a user group. Edit a RADIUS server configuration.
Edit
Note: Access to the FortiGate unit depends on the VDOM associated with the administrator account.
To configure the FortiGate unit to access the RADIUS server 1 Go to User > Remote > RADIUS. 2 Select Create New, or select the Edit icon beside an existing RADIUS server. 3 Enter the following information:
Name A name that identifies the RADIUS server. Primary Server Enter the domain name or IP address of the RADIUS server. Name/IP Primary Server Enter the RADIUS server secret. The RADIUS server administrator can provide this information. Secret Secondary Enter the domain name or IP address of a second RADIUS server (optional). Server Name/IP Secondary Server Secret Enter the secondary RADIUS server secret (optional).
Authentication Select one of Use Default Authentication Scheme or Specify Authentication Protocol. If you chose to specify the scheme, select one of the schemes from Scheme the drop-down menu. NAS IP/Called Station ID Enter the Network Attached Storage (NAS) IP address.
Include in every Select to add this RADIUS server to every user group in this VDOM (optional). User Group
4 Select OK. For further information about RADIUS authentication, see Configuring a RADIUS server on page 452. To create the user group (RADIUS) 1 Go to User > User Group > User Group. 2 Select Create New or select the Edit icon beside an existing RADIUS group. 3 Enter the name that identifies the user group. 4 For Type, enter Firewall. 5 In the Available Users/Groups list, select the RADIUS server name and move it to the Members list. 6 Select OK. To configure an administrator to authenticate with a RADIUS server 1 Go to System > Admin > Administrators. 2 Select Create New, or select the Edit icon beside an existing administrator.
172
System Admin
Administrators
4 Configure additional features as required. For more information, see Configuring an administrator account on page 169. 5 Select OK. For more information about using a RADIUS server to authenticate system administrators, see the Fortinet Knowledge Base article Using RADIUS for Admin Access and Authorization.
To view the LDAP server list, go to User > Remote > LDAP.
LDAP page Lists all LDAP servers that you created. On this page, you can edit, delete or create a new LDAP page. Create New Name Server Name/IP Port Distinguished Name Delete Edit Add a new LDAP server. The name that identifies the LDAP server on the FortiGate unit. The domain name or IP address of the LDAP server. The TCP port used to communicate with the LDAP server. The distinguished name used to look up entries on the LDAP server. Delete the LDAP server configuration. Edit the LDAP server configuration.
Common Name Identifier The common name identifier for the LDAP server.
173
Administrators
System Admin
2 Select Create New or select the Edit icon beside an existing LDAP server. 3 Enter or select the following and select OK.
Name Server Name/IP Server Port Common Name Identifier Distinguished Name Query The name that identifies the LDAP server on the FortiGate unit. The domain name or IP address of the LDAP server. The TCP port used to communicate with the LDAP server. The common name identifier for the LDAP server. The base distinguished name for the server in the correct X.500 or LDAP format. View the LDAP server Distinguished Name Query tree for the LDAP server that you are configuring so that you can cross-reference to the Distinguished Name. For more information, see Using Query on page 455. The type of binding for LDAP authentication. Bind using anonymous user search. Bind using a user name/password and then search. Bind using a simple password authentication without a search. Filter used for group searching. Available only if Bind Type is Anonymous or Regular. Distinguished name of user to be authenticated. Available only if Bind Type is Regular. Password of user to be authenticated. Available only if Bind Type is Regular. A check box that enables a secure LDAP server connection for authentication. The secure LDAP protocol to use for authentication. Available only if Secure Connection is selected. The certificate to use for authentication. Available only if Secure Connection is selected.
Bind Type Anonymous Regular Simple Filter User DN Password Secure Connection Protocol Certificate
For further information about LDAP authentication, see Configuring an LDAP server on page 454. To create the user group (LDAP) 1 Go to User > User Group > User Group. 2 Select Create New or select the Edit icon beside an existing user group. 3 Enter a Name that identifies the LDAP user group. 4 For Type, enter Firewall. 5 In the Available Users/Groups list, select the LDAP server name and move it to the Members list. 6 Select OK. To configure an administrator to authenticate with an LDAP server 1 Go to System > Admin > Administrators. 2 Select Create New or select the Edit icon beside an existing administrator account. 3 Enter or select the following:
Administrator Type A name that identifies the administrator. Remote. FortiGate Version 4.0 MR2 Administration Guide 01-420-89802-20100326 http://docs.fortinet.com/ Feedback
174
System Admin
Administrators
The user group that includes the LDAP server as a member. A check box that allows all accounts on the LDAP server to be administrators. The password the administrator uses to authenticate. Not available if Wildcard is enabled. The re-entered password that confirms the original entry in Password. Not available if Wildcard is enabled. The admin profile to apply to the administrator.
4 Configure additional features as required. For more information, see Configuring an administrator account on page 169. Select OK.Configuring
Terminal Access Controller Access-Control System (TACACS+) is a remote authentication protocol that provides access control for routers, network access servers, and other networked computing devices via one or more centralized servers. If you have configured TACACS+ support and an administrator is required to authenticate using a TACACS+ server, the FortiGate unit contacts the TACACS+ server for authentication. If the TACACS+ server cannot authenticate the administrator, the connection is refused by the FortiGate unit. If you want to use an TACACS+ server to authenticate administrators in your VDOM, you must configure the authentication before you create the administrator accounts. To do this you need: To configure the FortiGate unit to access the TACACS+ server To create the user group (TACACS+) To configure an administrator to authenticate with a TACACS+ server
To view the TACACS+ server list, go to User > Remote > TACACS+.
TACACS+ page Lists all TACACS+ servers that you created. On this page, you can edit, delete or create a new TACACS+ server. Create New Server Authentication Type Delete Edit Add a new TACACS+ server. The server domain name or IP address of the TACACS+ server. The supported authentication method. TACACS+ authentication methods include: Auto, ASCII, PAP, CHAP, and MSCHAP. Delete this TACACS+ server Edit this TACACS+ server.
To configure the FortiGate unit to access the TACACS+ server 1 Go to User > Remote > TACACS+. 2 Select Create New, or select the Edit icon beside an existing TACACS+ server. 3 Enter or select the following:
Name Server Key Enter a name that identifies the TACACS+ server. Enter the key to access the TACACS+ server. The maximum number is 16.
Server Name/IP Enter the server domain name or IP address of the TACACS+ server. Authentication Enter one of Auto, ASCII, PAP, CHAP, and MSCHAP. Auto authenticates using PAP, MSCHAP, and CHAP (in that order). Type
4 Select OK.
FortiGate Version 4.0 MR2 Administration Guide 01-420-89802-20100326 http://docs.fortinet.com/ Feedback
175
Administrators
System Admin
For further information about TACACS+ authentication, see Configuring TACACS+ servers on page 456. To create the user group (TACACS+) 1 Go to User > User Group. 2 Select Create New, or select the Edit icon beside an existing user group. 3 Enter a Name that identifies the TACAS+ user group. 4 For Type, select Firewall. 5 In the Available Users/Groups list, select the TACACS+ server name and move it to the Members list. 6 Select OK. To configure an administrator to authenticate with a TACACS+ server 1 Go to System > Admin > Administrators. 2 Select Create New, or select the Edit icon beside an existing administrator. 3 Enter or select the following:
Administrator Type User Group Wildcard Password Confirm Password Admin Profile A name that identifies the administrator. Remote. The user group that includes the TACACS+ server as a member. Select to allow all accounts on the TACACS+ server to be administrators. The password the administrator uses to authenticate. Not available if Wildcard is enabled. The re-entered password that confirms the original entry in Password. Not available if Wildcard is enabled. The admin profile to apply to the administrator.
4 Configure additional features as required. For more information, see Configuring an administrator account on page 169. 5 Select OK.
To view the PKI user list, go to User > PKI > PKI.
PKI page Lists all PKI user lists that you created. On this page you can edit, delete or create a new PKI user list. Create New Name Add a new PKI user. The name of the PKI user. FortiGate Version 4.0 MR2 Administration Guide 01-420-89802-20100326 http://docs.fortinet.com/ Feedback
176
System Admin
Administrators
The text string that appears in the subject field of the certificate of the authenticating user. The CA certificate that is used to authenticate this user. Delete this PKI user. Edit this PKI user.
To configure a PKI user 1 Go to User > PKI > PKI. 2 Select Create New, or select the Edit icon beside an existing PKI user. 3 Enter the Name of the PKI user. 4 For Subject, enter the text string that appears in the subject field of the certificate of the authenticating user. 5 Select the CA certificate used to authenticate this user. 6 Select OK. To create the user group (PKI) 1 Go to User > User Group > User Group. 2 Select Create New, or select the Edit icon beside an existing user group. 3 Enter or select the following:
Name Type Available Users/Groups The name that identifies the PKI user group. Firewall. Select the PKI user name and move it to the Members list.
4 Select OK. To configure an administrator to authenticate with a PKI certificate 1 Go to System > Admin > Administrators. 2 Select Create New, or select the Edit icon beside an existing administrator. 3 Enter or select the following:
Administrator Type User Group Admin Profile A name that identifies the administrator. PKI. The user group that includes the PKI user as a member. The admin profile to apply to the administrator.
4 Configure additional features as required. For more information, see Configuring an administrator account on page 169. 5 Select OK.
177
Admin profiles
System Admin
When you set trusted hosts for all administrators, the FortiGate unit does not respond to administrative access attempts from any other hosts. This provides the highest security. If you leave even one administrator unrestricted, the unit accepts administrative access attempts on any interface that has administrative access enabled, potentially exposing the unit to attempts to gain unauthorized access. The trusted hosts you define apply both to the web-based manager and to the CLI when accessed through Telnet or SSH. CLI access through the console connector is not affected. The trusted host addresses all default to 0.0.0.0/0.0.0.0 for IPv4, or ::/0 for IPv6. If you set one of the zero addresses to a non-zero address, the other zero addresses will be ignored. The only way to use a wildcard entry is to leave the trusted hosts at 0.0.0.0/0.0.0.0 or ::0. However, this configuration is less secure.
Admin profiles
Each administrator account belongs to an admin profile. The admin profile separates FortiGate features into access control categories for which an administrator with read/write access can enable none (deny), read only, or read/write access. The following table lists the web-based manager pages to which each category provides access.
Table 37: Admin profile control of access to Web-based manager pages Access control Admin Users Antivirus Configuration Application Control Auth Users Data Leak Prevention (DLP) Email Filter Firewall Configuration FortiGuard Update IM, P2P & VoIP Configuration Affected web-based manager pages System > Admin > Administrators System > Admin > Admin Profile UTM > AntiVirus UTM > Application Control User UTM > Data Leak Prevention UTM > Email Filter Firewall System > Maintenance > FortiGuard IM, P2P & VoIP > Statistics IM, P2P & VoIP > User > Current Users IM, P2P & VoIP > User > User List IM, P2P & VoIP > User > Config UTM > Intrusion Protection Log&Report System > Maintenance System > Network > Interface System > Network > Zone System > Network > Web Proxy System > DHCP Router UTM > AntiSpam
178
System Admin
Admin profiles
Table 37: Admin profile control of access to Web-based manager pages (Continued) System Configuration System > Status, including Session info System > Config System > Hostname System > Network > Options System > Admin > Central Management System > Admin > Settings System > Status > System Time WIreless Controller VPN UTM > Web Filter
Read-only access for a web-based manager page enables the administrator to view that page. However, the administrator needs write access to change the settings on the page. You can expand the firewall configuration access control to enable more granular control of access to the firewall functionality. You can control administrator access to policy, address, service, schedule, profile, and other virtual IP (VIP) configurations.
Note: When Virtual Domain Configuration is enabled (see Settings on page 183), only the administrators with the admin profile super_admin have access to global settings. Other administrator accounts are assigned to one VDOM and cannot access global configuration options or the configuration for any other VDOM. For information about which settings are global, see VDOM configuration settings on page 74.
The admin profile has a similar effect on administrator access to CLI commands. The following table shows which command types are available in each Access Control category. You can access get and show commands with Read Only access. Access to config commands requires Read-Write access.
Table 38: Admin profile control of access to CLI commands Access control Admin Users (admingrp) Antivirus Configuration (avgrp) Application Control Auth Users (authgrp) Data Leak Prevention (DLP) Email Filter Firewall Configuration (fwgrp) Available CLI commands system admin system accprofile antivirus application user dlp spamfilter firewall Use the set fwgrp custom and config fwgrppermission commands to set some firewall permissions individually. You can make selections for policy, address, service, schedule, profile, and other (VIP) configurations. For more information, see the FortiGate CLI Reference. system autoupdate execute update-av execute update-ips execute update-now ips
179
Admin profiles
System Admin
Table 38: Admin profile control of access to CLI commands (Continued) Access control Log & Report (loggrp) Available CLI commands system alertemail log system fortianalyzer execute log execute execute execute execute execute formatlogdisk restore backup batch usb-disk
Maintenance (mntgrp)
system arp-table system dhcp system interface system zone execute dhcp lease-clear execute dhcp lease-list execute clear system arp table execute interface router execute router execute mrouter spamfilter system (except admingrp, loggrp, and netgrp commands). gui wireless-controller execute cfg execute cli execute date execute disconnect-admin-session execute enter execute factoryreset execute fortiguard-log execute ha execute ping execute ping-options execute ping6 execute ping6-options execute reboot execute send-fds-statistics execute set-next-reboot execute shutdown execute ssh execute telnet execute time execute traceroute execute usb-disk vpn execute vpn webfilter
180
System Admin
Admin profiles
To add admin profiles for FortiGate administrators, go to System > Admin > Admin Profile. Each administrator account belongs to an admin profile. An administrator with read/write access can create admin profiles that deny access to, allow read-only, or allow both read and write-access to FortiGate features. When an administrator has read-only access to a feature, the administrator can access the web-based manager page for that feature but cannot make changes to the configuration. There are no Create or Apply buttons and lists display only the View ( ) icon instead of icons for Edit, Delete or other modification commands.
Edit
To configure an admin profile 1 Go to System > Admin > Admin Profile. 2 Select Create New or select the Edit icon beside an existing profile. 3 Enter or select the profile options you want, and then select OK.
181
Central Management
System Admin
Central Management
The Central Management tab provides the option of remotely managing your FortiGate unit by either a FortiManager unit or the FortiGuard Analysis and Management Service. From System > Admin > Central Management, you can configure your FortiGate unit to back up or restore configuration settings automatically to the specified central management server. The central management server is the type of service you enable, either a FortiManager unit or the FortiGuard Analysis and Management Service. If you have a subscription for FortiGuard Analysis and Management Service, you can also remotely upgrade the firmware on the FortiGate unit. When configuring central management settings, you can also specify the source IP address of the self-originated traffic; however, it is available only in the CLI (set fmgsource-ip).
Central Management page Provides the settings for configuring central management options, as well as enabling or disabling the service on the FortiGate unit. Enable Central Management Type FortiManager Enables the Central Management feature on the FortiGate unit. Select the type of central management for this FortiGate unit. You can select FortiManager or the FortiGuard Management Service. Select to use FortiManager as the central management service for the FortiGate unit. Enter the IP address or name of the FortiManager unit in the IP/Name field. If your organization is operating a FortiManager cluster, add the IP address or name of the primary FortiManager unit to the IP/Name field and add the IP address or name of the backup FortiManager units to the Trusted FortiManager list. Status indicates whether or not the FortiGate unit can communicate with the FortiManager unit added to the IP/Name field. Select Register to include the FortiManager unit in the Trusted FortiManager List. A red arrow-down indicates that there is no connection enabled. A green arrow-up indicates that there is a connection. A yellow caution symbol appears when your FortiGate unit is considered an unregistered device by the FortiManager unit. Select to use the FortiGuard Management Service as the central management service for the FortiGate unit. Enter the Account ID in the Account ID field. If you do not have an account ID, register for the FortiGuard Management Service on the FortiGuard Management Service website. Select Change to go directly to System > Maintenance > FortiGuard. Under Analysis & Management Service Options, enter the account ID in the Account ID field.
When you are configuring your FortiGate unit to connect to and communicate with a FortiManager unit, the following steps must be taken because of the two different deployment scenarios. FortiGate is directly reachable from FortiManager: In the FortiManager GUI, add the FortiGate unit to the FortiManager database in the Device Manager module Change the FortiManager IP address Change the FortiGate IP address
182
System Admin
Settings
FortiGate behind NAT In System > Admin > Central Management, choose FortiManager Add the FortiManager unit to the Trusted FortiManager List, if applicable Change the FortiManager IP address Change the FortiGate IP address Contact the FortiManager administrator to verify the FortiGate unit displays in the Device list in the Device Manager module
Configuration revision
The Configuration Revision menu, located in System > Maintenance > Configuration Revision, displays a list of the backed up configuration files. Revision control requires either a configured central management server, or the local hard drive. The central management server can either be a FortiManager unit or the FortiGuard Analysis & Management Service. For more information, see Configuration Revision on page 198.
Settings
The Settings tab includes the following features that you can configure: ports for HTTP/HTTPS administrative access and SSL VPN login password policy for administrators and IPsec pre-shared keys the idle timeout setting settings for the language of the web-based manager and the number of lines displayed in generated reports PIN protection for LCD and control buttons (LCD-equipped models only) SCP capability for users logged in via SSH Wireless controller capability IPv6 support on the web based manager.
To configure settings, go to System > Admin > Settings, enter or select the following and select OK.
Administrators Settings page Provides settings for configuring different system options, such as enabling IPv6 on the web-based manager. Web Administration Ports HTTP HTTPS SSLVPN Login Port Telnet Port SSH Port Enable SSH v1 compatibility Password Policy Enable FortiGate Version 4.0 MR2 Administration Guide 01-420-89802-20100326 http://docs.fortinet.com/ Feedback Select to enable the password policy. TCP port to be used for administrative HTTP access. The default is 80. TCP port to be used for administrative HTTPS access. The default is 443. An alternative HTTPS port number for remote client web browsers to connect to the FortiGate unit. The default port number is 10443. TCP port to be used for administrative telnet access. The default is 23. TCP port to be used for administrative SSH access. The default is 22. Enable compatibility with SSH v1 in addition to v2. (Optional)
183
Monitoring administrators
System Admin
Set the minimum acceptable length for passwords. Select any of the following special character types to require in a password. Each selected type must occur at least once in the password. Upper Case Letters A, B, C, ... Z Lower Case Letters a, b, c, ... z Numerical digits 0, 1, 2, 3, 4, 5, 6, 7 8, 9 Non-alphanumeric Letters punctuation marks, @,#, ... % Select where to apply the password policy: Admin Password Apply to administrator passwords. If any password does not conform to the policy, require that administrator to change the password at the next login. IPSEC Preshared Key Apply to preshared keys for IPSec VPNs. The policy applies only to new preshared keys. You are not required to change existing preshared keys.
Admin Password Require administrators to change password after a specified number Expires after n days of days. Specify 0 to remove required periodic password changes. Timeout Settings Idle Timeout The number of minutes an administrative connection must be idle before the administrator has to log in again. The maximum is 480 minutes (8 hours). To improve security, keep the idle timeout at the default value of 5 minutes. The language the web-based manager uses. Choose from English, Simplified Chinese, Japanese, Korean, Spanish, Traditional Chinese or French. You should select the language that the operating system of the management computer uses. Number of lines per page to display in table lists. The default is 50. Range is from 20 - 1000.
IPv6 Support on GUI Enable to configure IPv6 options from the GUI (Firewall policy, route, address and address group). Default allows configuration from CLI only. For more information on IPv6, see the sections that include IPv6 related fields, or see FortiGate IPv6 support on page 185. LCD Panel (LCD-equipped models only) PIN Protection Enable SCP Select and enter a 6-digit PIN. Administrators must enter the PIN to use the control buttons and LCD. Enable users logged in through the SSH to be able to use Secure Copy (SCP) to copy the configuration file.
Enable Wireless Controller Enable the Wireless Controller feature. Then you can access the Wireless Controller menu in the web-based manager and the corresponding CLI commands. For more information, see Wireless Controller on page 479. Note: If you make a change to the default port number for HTTP, HTTPS, Telnet, or SSH, ensure that the port number is unique.
Monitoring administrators
To see the number of logged-in administrators, go to System > Dashboard > Status. Under System Information, you will see Current Administrators. Select Details to view information about the administrators currently logged in to the FortiGate unit.
184
System Admin
Current Administrators information page (System Information widget) Lists the administrators that are currently logged into the web-based manager and CLI. You can disconnect administrators from this page as well as refresh the information on the page. Disconnect Refresh Close Select to disconnect the selected administrators. This is available only if your admin profile gives you System Configuration write permission. Select to update the list. Select to close the window. Select an administrator session, then select Disconnect to log off this administrator. This is available only if your admin profile gives you System Configuration write access. You cannot log off the default admin user. User Name Type From Time The administrator account name. The type of access: http, https, jsconsole, sshv2. If Type is jsconsole, the value in From is N/A. Otherwise, Type contains the administrators IP address. The date and time the administrator logged on.
FortiGate units are dual IP layer IPv6/IPv4 nodes, and support IPv6 in both NAT/Route, and Transparent operation modes. They support IPv6 overIPv4 tunneling as well as IPv6 routing, firewall policies and IPSec VPN. You can assign both an IPv4 and an IPv6 address to any interface on a FortiGate unitthe interface functions as two interfaces, one for IPv4-addressed packets and another for IPv6-addressed packets. For more information, see the FortiGate IPv6 Support Technical Note.
185
System Admin
perform antivirus scanning on IPv6 traffic perform website filtering on IPv6 traffic create VPNs that use IPv6 addressing (see IPsec VPN)
Once IPv6 support is enabled, you can configure the IPv6 options using the web-based manager or the CLI. Note that some IPv6 configuration is only available in the CLI. For more information on configuring IPv6 support using the CLI, see the FortiGate CLI Reference.
IP version 6 address
While 32-bits of addresses, or just under 5 billion addresses, seems like a lot, they have been used up quickly. Between servers and routers that provide the backbone communications of the Internet, to large companies and governments with thousands of computers large portions of the IP address space were either reserved or used up. In 1998, IP version 6 was designed mainly to provide more addresses but also improve slightly on IP version 4 (IPv4). IP version 6 (IPv6) is defined in RFC 2460. With four bytes of addresses there are a total just under 5 billion addresses. IPv6 addresses are 32 bytes long, and have no problems of ever running out. This very large address space also allows for more logical organization of addresses which in turn promotes more efficient network management and routing.
186
System Admin
IPv6 Netmasks
As with IP addresses, hexadecimal notation replaces the dotted decimal notation of IPv4. CIDR notation can also be used. This notation appends a slash (/) to the IP address, followed by the number of bits in the network portion of the address.
Table 39: IPv6 netmasks IP Address Netmask Network CIDR IP/Netmask 3ffe:ffff:1011:f101:0210:a4ff:fee3:9566 ffff:ffff:ffff:ffff:0000:0000:0000:0000 3ffe:ffff:1011:f101:0000:0000:0000:0000 3ffe:ffff:1011:f101:0210:a4ff:fee3:9566/64
IPv4-compatible ::/96 IPv4-mapped Multicast Anycast ::FFFF/96 ::FF00/8 all prefixes except those listed above
Link-local
FE80::/10
Site-local
FEC0::/10
Global
all others
FortiGate units are dual IP layer IPv6/IPv4 nodesthey support both IPv4, and IPv6. FortiGate units also support IPv6 over IPv4 tunneling.
187
System Admin
IPv4-compatible addresses are used for hosts and routers to dynamically tunnel IPv6 packets over IPv4 routing infrastructure. IPv4-mapped addresses are used for nodes that do not support IPv6.
IPv6 tunneling
Networks using IPv6 addressing can be linked through IPv4-addressed infrastructure using several tunneling techniques:
Table 42: Tunneling techniques IPv6-over-IPv4 Configured Automatic Encapsulates IPv6 packets within IPv4 so that they can be carried across IPv4 routing infrastructures. The endpoint address is determined by configuration information on the encapsulating node. The IPv4 tunnel endpoint address is determined from the IPv4 address embedded in the IPv4-compatible destination address of the IPv6 packet being tunneled. IPv4 tunnel endpoint address is determined using Neighbor Discovery. No address configuration is required, but the IPv4 infrastructure must support IPv4 multicast.
IPv4 multicast
188
System Certificates
System Certificates
This section explains how to manage X.509 security certificates using the FortiGate webbased manager. Certificate authentication allows administrators to generate certificate requests, install signed certificates, import CA root certificates and certificate revocation lists, and back up and restore installed certificates and private keys. Authentication is the process of determining if a remote host can be trusted with access to network resources. To establish its trustworthiness, the remote host must provide an acceptable authentication certificate by obtaining a certificate from a certification authority (CA). The FortiGate unit can then use certificate authentication to reject or allow administrative access via HTTPS, and to authenticate IPSec VPN peers or clients, as well as SSL VPN user groups or clients. If you enable virtual domains (VDOMs) on the FortiGate unit, system certificates are configured globally for the entire FortiGate unit. For more information, see Using virtual domains on page 73. There are several certificates on the FortiGate unit that have been automatically generated.
Table 43: Automatically generated FortiGate certificates Fortinet_Firmware Embedded inside the firmware. Signed by Fortinet_CA. Same on all FortiGate units. Used so FortiGate units without Fortinet_Factory2 certificates have a built-in certificate signed by a FortiGate CA. Listed under Certificates > Local, or in FortiGate CLI under vpn certificate local. Embedded inside BIOS. Signed by Fortinet_CA. Unique to each FortiGate unit. Used for FortiGate/FortiManager tunnel, HTTPS administrative access if Fortinet_Factory2 is not available. Listed under Certificates > Local, or in FortiGate CLI under vpn certificate local. Embedded inside BIOS. Signed by Fortinet_CA2. Unique to each FortiGate unit. Used for FortiGate/FortiManager tunnel and HTTPS administrative access. Listed under Certificates > Local, or in FortiGate CLI under vpn certificate local. Found only on units shipped at the end of 2008 onward. Embedded inside firmware and BIOS. Fortinets CA certificate. Used to verify certificates that claim to be signed by Fortinet, for example with a FortiGate/FortiManager tunnel or an SSL connection to a FortiGuard server. Listed under Certificates > CA, or in FortiGate CLI under vpn certificate ca or vpn certificate ocsp. Embedded inside BIOS. Fortinets CA certificate. Will eventually replace Fortinet_CA, as Fortinet_CA will expire in 2020. Listed under Certificates > CA, or in FortiGate CLI under vpn certificate ca or vpn certificate ocsp. Found only on units shipped at the end of 2008 onward.
Fortinet_Factory
Fortinet_Factory2
Fortinet_CA
Fortinet_CA2
System administrators can use these certificates wherever they may be required, for example, with SSL VPN, IPSec, LDAP, and PKI. For additional background information on certificates, see the FortiGate Certificate Management User Guide.
189
Local Certificates
System Certificates
The following topics are included in this section: Local Certificates Remote Certificates CA Certificates CRL
Note: SSL sessions that use client-certificates can now bypass the SSL inspection. For this to work properly, an SSL server should be set up that requires client-side certificates. These certificates are then uploaded to the client, making a connection through the FortiGate unit with the SSL inspection feature enabled on the FortiGate unit.
Local Certificates
Certificate requests and installed server certificates are displayed in the Local Certificates list. After you submit the request to a CA, the CA will verify the information and register the contact information on a digital certificate that contains a serial number, an expiration date, and the public key of the CA. The CA will then sign the certificate and send it to you to install on the FortiGate unit. Local certificates can update automatically online prior to expiry. This must be configured in the CLI. See the vpn certificate local command in the FortiGate CLI Reference. To view certificate requests and/or import signed server certificates, go to System > Certificates > Local Certificates. To view certificate details, select the View Certificate Detail icon in the row that corresponds to the certificate.
Local Certificates page Lists the default local certificates as well as the certificates that you have imported. You can also generate certificates from this page. Generate Import Name Subject Comments Status View Certificate Detail Delete Generate a local certificate request. For more information, see Generating a certificate request on page 191. Import a signed local certificate. For more information, see Importing a signed server certificate on page 192. The names of existing local certificates and pending certificate requests. The Distinguished Names (DNs) of local signed certificates. A description of the certificate. The status of the local certificate. PENDING designates a certificate request that needs to be downloaded and signed. Display certificate details such as the certificate name, issuer, subject, and valid certificate dates. Delete the selected certificate request or installed server certificate from the FortiGate configuration. This is available only if the certificate has PENDING status. Save a copy of the certificate request to a local computer. You can send the request to your CA to obtain a signed server certificate for the FortiGate unit (SCEP-based certificates only). Select to edit the description of a certificate.
Download
Edit Comments
For detailed information and step-by-step procedures related to obtaining and installing digital certificates, see the FortiGate Certificate Management User Guide.
190
System Certificates
Local Certificates
Domain Name
Organization Locality (City) State/Province Country e-mail Key Type Key Size Enrollment Method File Based Online SCEP
191
Local Certificates
System Certificates
192
System Certificates
Remote Certificates
Certificate with key file Enter the full path to and file name of the previously exported PKCS12 file. Browse Alternatively, browse to the location on the management computer where the PKCS12 file has been saved, select the file, and then select OK. Type the password needed to upload the PKCS12 file.
Password
Note: The certificate file must not use 40-bit RC2-CBC encryption.
Remote Certificates
For dynamic certificate revocation, you need to use an Online Certificate Status Protocol (OCSP) server. Remote certificates are public certificates without a private key. The OCSP is configured in the CLI only. For more information, see the FortiGate CLI Reference. Installed Remote (OCSP) certificates are displayed in the Remote Certificates list. To view installed Remote (OCSP) certificates or import a Remote (OCSP) certificate, go to System > Certificates > Remote. To view certificate details, select the View Certificate Detail icon in the row that corresponds to the certificate.
Note: There is one OCSP per VDOM.
Remote page Lists the public certificates. On this page you can import, delete and view certificates. Import Name Import a public OCSP certificate. See Importing CA certificates on page 195. The names of existing Remote (OCSP) certificates. The FortiGate unit assigns unique names (REMOTE_Cert_1, REMOTE_Cert_2, REMOTE_Cert_3, and so on) to the Remote (OCSP) certificates when they are imported.
193
CA Certificates
System Certificates
Information about the Remote (OCSP) certificate. Delete a Remote (OCSP) certificate from the FortiGate configuration. Display certificate details. Save a copy of the Remote (OCSP) certificate to a local computer.
CA Certificates
When you apply for a signed personal or group certificate to install on remote clients, you must obtain the corresponding root certificate and CRL from the issuing CA. When you receive the certificate, install it on the remote clients according to the browser documentation. Install the corresponding root certificate and CRL from the issuing CA on the FortiGate unit. CA certificates can update automatically online prior to expiry. This must be configured in the CLI. See the vpn certificate local command in the FortiGate CLI Reference. Installed CA certificates are displayed in the CA Certificates list. You cannot delete the Fortinet_CA certificate. To view installed CA root certificates or import a CA root certificate, go to System > Certificates > CA Certificates. To view root certificate details, select the View Certificate Detail icon in the row that corresponds to the certificate. For detailed information and step-by-step procedures related to obtaining and installing digital certificates, see the FortiGate Certificate Management User Guide.
CA Certificates page Lists the CA certificates that you have created as well as the default CA certificate. You can also import a CA certificate. Import Name Import a CA root certificate. See Importing CA certificates on page 195. The names of existing CA root certificates. The FortiGate unit assigns unique names (CA_Cert_1, CA_Cert_2, CA_Cert_3, and so on) to the CA certificates when they are imported. Information about the issuing CA. Delete a CA root certificate from the FortiGate configuration. Display certificate details. Save a copy of the CA root certificate to a local computer.
194
System Certificates
CRL
Importing CA certificates
After you download the root certificate of the CA, save the certificate on a PC that has management access to the FortiGate unit. If you choose SCEP, the system starts the retrieval process as soon as you select OK. The system assigns a unique name to each CA certificate. The names are numbered consecutively (CA_Cert_1, CA_Cert_2, CA_Cert_3, and so on). To import a CA root certificate, go to System > Certificates > CA Certificates and select Import.
Import CA Certificate Provides settings for importing certificates using an SCEP server or Local PC. SCEP Select to use an SCEP server to access CA certificate for user authentication. Enter the URL of the SCEP server from which to retrieve the CA certificate. Optionally, enter identifying information of the CA, such as the file name. Select OK. Select to use a local administrators PC to upload a public certificate. Enter the location, or browse to the location on the management computer where the certificate has been saved, select the certificate, and then select OK.
Local PC
CRL
A Certificate Revocation List (CRL) is a list of CA certificate subscribers paired with certificate status information. Installed CRLs are displayed in the CRL list. The FortiGate unit uses CRLs to ensure that the certificates belonging to CAs and remote clients are valid. To view installed CRLs, go to System > Certificates > CRL.
CRL page Lists each individual CRL. On this page you can import, view or download CRLs. Import Name Import a CRL. For more information, see Importing a certificate revocation list on page 195. The names of existing certificate revocation lists. The FortiGate unit assigns unique names (CRL_1, CRL_2, CRL_3, and so on) to certificate revocation lists when they are imported. Information about the certificate revocation lists. Delete the selected CRL from the FortiGate configuration. Display CRL details such as the issuer name and CRL update dates. Save a copy of the CRL to a local computer.
195
CRL
System Certificates
Import CRL page Provides settings to import CRLs from a HTTP, LDAP, SCEP server, or local PC. HTTP LDAP SCEP Select to use an HTTP server to retrieve the CRL. Enter the URL of the HTTP server. Select to use an LDAP server to retrieve the CRL, then select the LDAP server from the list. Select to use an SCEP server to retrieve the CRL, then select the Local Certificate from the list. Enter the URL of the SCEP server from which the CRL can be retrieved. Select to use a local administrators PC to upload a public certificate. Enter the location, or browse to the location on the management computer where the certificate has been saved, select the certificate, and then select OK.
Local PC
Note: When the CRL is configured with an LDAP, HTTP, and/or SCEP server, the latest version of the CRL is retrieved automatically from the server when the FortiGate unit does not have a copy of it or when the current copy expires.
196
System Maintenance
Maintenance overview
System Maintenance
This section describes how to maintain your system configuration as well as how to enable and update FDN services. This section also explains the types of FDN services that are available for your FortiGate unit. If you enable virtual domains (VDOMs) on the FortiGate unit, system maintenance is configured globally for the entire FortiGate unit. For more information, see Using virtual domains on page 73. The following topics are included in this section: Maintenance overview Configuration Revision Firmware FortiGuard Troubleshooting FDN connectivity Updating antivirus and attack definitions Enabling push updates Advanced Adding VDOM Licenses Disk
Maintenance overview
The maintenance menu provides help with maintaining and managing firmware, configuration revisions, script files, and FortiGuard subscription-based services. From this menu, you can upgrade or downgrade the firmware, view historical backups of configuration files, or update FortiGuard services. The maintenance menu has the following menus: Revision Control - displays all system configuration backups with the date and time of when they were backed up. Before you can use revision control, a Central Management server must be configured and enabled. Firmware - displays the firmware images that are currently stored on the FortiGate unit as well as the firmware image currently running on the FortiGate unit. Advanced - displays advanced settings for scripts, USB auto-install and allows downloads of the debug log. FortiGuard - displays all FDN subscription services, such as antivirus and IPS definitions as well as the FortiGuard Analysis & Management Service. This tab also provides configuration options for antivirus, IPS, web filtering, and antispam services. License - allows you to increase the maximum number of VDOMs (on some FortiGate models). Disk - displays detailed information about the status of multiple local disks.
197
Configuration Revision
System Maintenance
When backing up the system configuration, web content files and email filtering files are also included. You can save the configuration to the management computer, a USB disk if your FortiGate unit includes a USB port (see Formatting USB Disks on page 200), or to its local hard disk. You can also restore the system configuration from previously downloaded backup files in the Backup & Restore menu. When virtual domain configuration is enabled, the content of the backup file depends on the administrator account that created it. A backup of the system configuration from the super_admin account contains global settings and the settings included in each VDOM. Only the super_admin can restore the configuration from this file. When you back up the system configuration from a regular administrator account, the backup file contains the global settings and the settings for the VDOM that the regular administrator belongs to. A regular administrator is the only user account that can restore the configuration from this file. Some FortiGate models support FortiClient by storing a FortiClient image that users can download. The FortiClient section of Backup & Restore is available if your FortiGate model supports FortiClient.
Tip: For simplified procedures on managing firmware, including backup and restore options as well as uploading and downloading firmware for your FortiGate unit, see Firmware management practices on page 61.
Configuration Revision
The Configuration Revisions menu enables you to manage multiple versions of configuration files. Revision control requires either a configured central management server, or the local hard drive. The central management server can either be a FortiManager unit or the FortiGuard Analysis & Management Service. If central management is not configured on your FortiGate unit, a message appears to tell you to do one of the following: enable central management (see Central Management on page 182) obtain a valid license.
When revision control is enabled on your FortiGate unit, and configurations have been backed up, a list of saved revisions of those backed-up configurations appears. To view the configuration revisions, go to System > Maintenance > Configuration Revision.
Configuration Revision page Lists all the configuration revisions. On this page, you can delete, edit or upload a configuration file. This page also allows you to change comments, view the differences between revisions, and revert to a previous configuration. OS Version <firmware_version_build> (appears as sections on the page) Revision The section of the page that contains the configuration files that belong to the specified FortiOS firmware version and build number. For example, if you have four configuration revisions for 4.0 MR1 (build178) they appear in the section OS Version 4.00 build178 on the Configuration Revision page. An incremental number indicating the order in which the configurations were saved. These may not be consecutive numbers if configurations are deleted. The most recent, and highest, number is first in the list. The date and time this configuration was saved on the FortiGate unit. The administrator account that was used to back up this revision.
Date/Time Administrator
198
System Maintenance
Firmware
Comments
Any relevant information saved with the revision, such as why the revision was saved, who saved it, and if there is a date when it can be deleted to free up space. Select to compare two revisions. A window will appear, from which you can view and compare the selected revision to one of: the current configuration a selected revision from the displayed list including revision history and templates a specified revision number. Download this revision to your local PC. Restore the previous selected revision. You will be prompted to confirm this action. Select to remove a configuration revision from the list. Select to view the CLI settings of a configuration revision. Select to modify the description. Select to upload a configuration file to the FortiGate unit, which is then added to the list.
Diff
Firmware
The Firmware menu allows you to install firmware on your FortiGate unit, as well as upload a firmware image to install at a later date. You can also view what firmware is currently running on the FortiGate unit from this menu. To view firmware images, as well as upload and install an image, go to System > Maintenance > Firmware.
Firmware page Lists all firmware images that have been uploaded to the FortiGate unit. Currently Running Firmware Delete Change Comments Upgrade Upload Displays the firmware image that is currently running on the FortiGate unit. Select to remove the firmware image from the list. Select to change the description for the firmware image. You must select the firmware image in the list to install that image on the FortiGate unit. When you select Upload, you are automatically redirected to the Upload page. On this page you can select the firmware image to upload, enable Boot New Firmware (which installs the selected firmware on the FortiGate unit), and enter any description about the firmware that you want. The firmware version number of the firmware image. The date the firmware image was created on. The administrator who uploaded the firmware image. The description about the image.
This topic contains the following: Backing up and restoring configuration files Formatting USB Disks Remote FortiManager backup and restore options Remote FortiGuard backup and restore options
199
Firmware
System Maintenance
FortiGate units with USB ports support USB disks for backing up and restoring configurations. FortiUSB and generic USB disks are supported, but the generic USB disk must be formatted as a FAT16 disk. No other partition type is supported. There are two ways that you can format the USB disk, either by using the CLI or a Windows system. You can format the USB disk in the CLI using the command syntax, exe usb-disk format. When using a Windows system to format the disk, at the command prompt type, format <drive_letter>: /FS:FAT /V:<drive_label> where <drive_letter> is the letter of the connected USB drive you want to format, and <drive_label> is the name you want to give the USB drive for identification.
200
System Maintenance
FortiGuard
When restoring the configuration from a remote location, a list of revisions is displayed so that you can choose the configuration file to restore.
Note: The FortiGuard-FortiManager protocol is used when connecting to the FortiGuard Analysis & Management Service. This protocol runs over SSL using IPv4/TCP port 541 and includes the following functions: detects FortiGate unit dead or alive status detects management service dead or alive status notifies the FortiGate units about configuration changes, AV/IPS database update and firewall changes.
FortiGuard
Go to System > Maintenance > FortiGuard to configure your FortiGate unit to use the FortiGuard Distribution Network (FDN) and FortiGuard Services. The FDN provides updates to antivirus definitions, IPS definitions, and the Antispam rule set. FortiGuard Services include FortiGuard web filtering and the FortiGuard Analysis and Management Service. This topic contains the following: FortiGuard Distribution Network FortiGuard services Configuring the FortiGate unit for FDN and FortiGuard subscription services
201
FortiGuard
System Maintenance
hourly, daily, or weekly scheduled antivirus definition, IPS definition, and antispam rule set updates from the FDN push updates from the FDN update status including version numbers, expiry dates, and update dates and times push updates through a NAT device.
Registering your FortiGate unit on the Fortinet Support web page provides a valid license contract and connection to the FDN. On the Fortinet Support web page, go to Product Registration and follow the instructions. The FortiGate unit must be able to connect to the FDN using HTTPS on port 443 to receive scheduled updates. For more information, see To enable scheduled updates on page 208. You can also configure the FortiGate unit to receive push updates. When the FortiGate unit is receiving push updates, the FDN must be able to route packets to the FortiGate unit using UDP port 9443. For more information, see Enabling push updates on page 209. If the FortiGate unit is behind a NAT device, see Enabling push updates through a NAT device on page 210.
FortiGuard services
Worldwide coverage of FortiGuard services is provided by FortiGuard service points. When the FortiGate unit is connecting to the FDN, it is connecting to the closest FortiGuard service point. Fortinet adds new service points as required. If the closest service point becomes unreachable for any reason, the FortiGate unit contacts another service point and information is available within seconds. By default, the FortiGate unit communicates with the service point via UDP on port 53. Alternately, you can switch the UDP port used for service point communication to port 8888 by going to System > Maintenance > FortiGuard. If you need to change the default FortiGuard service point host name, use the hostname keyword in the system fortiguard CLI command. You cannot change the FortiGuard service point name using the web-based manager. For more information about FortiGuard services, see the FortiGuard Center web page.
202
System Maintenance
FortiGuard
Configuring the FortiGate unit for FDN and FortiGuard subscription services
FDN updates, as well as FortiGuard services, are configured in System > Maintenance > FortiGuard. The FDN page contains four sections of FortiGuard services: Support Contract and FortiGuard Subscription Services Downloading antivirus and IPS updates Configuring Web Filtering and Email Filtering Options Configuring FortiGuard Analysis & Management Service Options
[Register]
203
FortiGuard
System Maintenance
Availability and status information for each of the FortiGuard subscription services including: AntiVirus Intrusion Protection Vulnerability Compliance and Management Web Filtering AntiSpam Analysis & Management Service The availability of this service on this FortiGate unit, dependent on your service subscription. The status can be Unreachable, Not Registered, Valid License, or Valid Contract. The option Subscribe appears if Availability is Not Registered. The option Renew appears if Availability has expired. Select to manually update this service on your FortiGate unit. This will prompt you to download the update file from your local computer. Select Update Now to immediately download current updates from FDN directly. Select to register the service. This is displayed in Analysis & Management Service. Indicates the status of the subscription service. The icon corresponds to the availability description. Gray (Unreachable) FortiGate unit is not able to connect to service. Orange (Not Registered) FortiGate unit can connect, but is not subscribed to this service. Yellow (Expired) FortiGate unit had a valid license that has expired. Green (Valid license) FortiGate unit can connect to FDN and has a registered support contract. If the Status icon is green, the expiry date is displayed. The version number of the definition file currently installed on the FortiGate unit for this service.
[Availability]
[Update]
[Version]
[Last update date and The date of the last update and method used for last attempt to download definition updates for this service. method] [Date] Local system date when the FortiGate unit last checked for updates for this service.
204
System Maintenance
FortiGuard
Select to allow push updates. Updates are then sent automatically to your FortiGate unit when they are available, eliminating any need for you to check if they are available. The status of the FortiGate unit for receiving push updates: Gray (Unreachable) - theFortiGate unit is not able to connect to push update service Yellow (Not Available) - the push update service is not available with current support license Green (Available) - the push update service is allowed. See Enabling push updates on page 209. If the icon is gray or yellow, see Troubleshooting FDN connectivity on page 207. Available only if both Use override server address and Allow Push Update are enabled. Select to allow you to create a forwarding policy that redirects incoming FDS push updates to your FortiGate unit. Enter the IP address of the NAT device in front of your FortiGate unit. FDS will connect to this device when attempting to reach the FortiGate unit. The NAT device must be configured to forward the FDS traffic to the FortiGate unit on UDP port 9443. See Enabling push updates through a NAT device on page 210. Select the port on the NAT device that will receive the FDS push updates. This port must be forwarded to UDP port 9443 on the FortiGate unit. Available only if Use override push is enabled. Select this check box to enable scheduled updates. Attempt to update once every 1 to 23 hours. Select the number of hours between each update request. Attempt to update once a day. You can specify the hour of the day to check for updates. The update attempt occurs at a randomly determined time within the selected hour. Attempt to update once a week. You can specify the day of the week and the hour of the day to check for updates. The update attempt occurs at a randomly determined time within the selected hour. Select to manually initiate an FDN update. Fortinet recommends that you select this check box. It helps to improve the quality of IPS signature.
Port
Weekly
205
FortiGuard
System Maintenance
TTL
Time to live. The number of seconds to store blocked IP addresses and URLs in the cache before contacting the server again.TTL must be between 300 and 86400 seconds. Available only if both Enable Web Filter and Enable Cache are selected. Select to enable the FortiGuard AntiSpam service. Select to enable caching of antispam queries. This improves performance by reducing FortiGate unit requests to the FortiGuard server. The cache uses 6 percent of the FortiGate memory. When the cache is full, the least recently used IP address or URL is deleted. Available only if Enable Email Filter is selected. Time to live. The number of seconds to store blocked IP addresses and URLs in the cache before contacting the server again.TTL must be between 300 and 86400 seconds. Select one of the following ports for your web filtering and antispam requirements: Select to use port 53 for transmitting with FortiGuard Antispam servers. Select to use port 8888 for transmitting with FortiGuard Antispam servers. Select to test the connection to the servers. Results are shown below the button and on the Status indicators.
TTL
Port Section Use Default Port (53) Use Alternate Port (8888) Test Availability
To have a URL's category Select to re-evaluate a URLs category rating on the FortiGuard Web rating re-evaluated, please Filter service. click here.
To configure FortiGuard Select the link please click here to configure and enable logging to the Analysis Service options, FortiGuard Analysis & Management server. The link redirects you to Log&Report > Log Config > Log Setting. please click here This appears only after registering for the service. To purge logs older than n Select the number of months from the list that will remove those logs months, please click here from the FortiGuard Analysis & Management server and select the link please click here. For example, if you select 2 months, the logs from the past two months will be removed from the server. You can also use this option to remove logs that may appear on a current report. This appears only after logging is enabled and log messages are sent to the FortiGuard Analysis server.
206
System Maintenance
See also Central Management Support Contract and FortiGuard Subscription Services Configuring the FortiGate unit for FDN and FortiGuard subscription services Remote logging to the FortiGuard Analysis and Management Service
To make sure the FortiGate unit can connect to the FDN 1 Go to System > Dashboard > Status and select Change on the System Time line in the System Information section. Verify that the time zone is set correctly, corresponding to the region where your FortiGate unit is located. 2 Go to System > Maintenance > FortiGuard. 3 Select the expand arrow beside Web Filtering and Email Filtering Options to reveal the available options. 4 Select Test Availability. The FortiGate unit tests its connection to the FDN. The test results displays at the top of the FortiGuard page. To update antivirus and attack definitions 1 Go to System > Maintenance > FortiGuard.
207
System Maintenance
2 Select the expand arrow beside Antivirus and IPS Options to reveal the available options. 3 Select Update Now to update the antivirus and attack definitions. If the connection to the FDN or override server is successful, the web-based manager displays a message similar to the following: Your update request has been sent. Your database will be updated in a few minutes. Please check your update page for the status of the update. After a few minutes, if an update is available, the FortiGuard page lists new version information for antivirus definitions and IPS attack definitions. The page also displays new dates and version numbers for the updated definitions and engines. Messages are recorded to the event log, indicating whether the update was successful or not. To enable scheduled updates 1 Go to System > Maintenance > FortiGuard. 2 Select the expand arrow beside AntiVirus and IPS Options to reveal the available options. 3 Select the Scheduled Update check box. 4 Select one of the following:
Every Daily Weekly Once every 1 to 23 hours. Select the number of hours and minutes between each update request. Once a day. You can specify the time of day to check for updates. Once a week. You can specify the day of the week and the time of day to check for updates.
5 Select Apply. The FortiGate unit starts the next scheduled update according to the new update schedule. Whenever the FortiGate unit runs a scheduled update, the event is recorded in the FortiGate event log. If you cannot connect to the FDN, or if your organization provides antivirus and IPS attack updates using its own FortiGuard server, you can use the following procedure to add the IP address of an override FortiGuard server. To add an override server 1 Go to System > Maintenance > FortiGuard. 2 Select the expand arrow beside AntiVirus and IPS Options to reveal the available options. 3 Select the Use override server address check box. 4 Type the fully qualified domain name or IP address of the FortiGuard server.
208
System Maintenance
5 Select Apply. The FortiGate unit tests the connection to the override server. If the FortiGuard Distribution Network availability icon changes from gray to green, the FortiGate unit has successfully connected to the override server. If the FortiGuard Distribution Network availability icon stays gray, the FortiGate unit cannot connect to the override server. Check the FortiGate configuration and network configuration for settings that may prevent the FortiGate unit from connecting to the override FortiGuard server. To enable scheduled updates through a proxy server If your FortiGate unit must connect to the Internet through a proxy server, you can use the config system autoupdate tunneling command syntax to allow the FortiGate unit to connect (or tunnel) to the FDN using the proxy server. For more information, see the FortiGate CLI Reference.
The FDN must be able to connect to this IP address so that your FortiGate unit can receive push update messages. If your FortiGate unit is behind a NAT device, see Enabling push updates through a NAT device on page 210.
209
System Maintenance
If you have redundant connections to the Internet, the FortiGate unit also sends the SETUP message when one Internet connection goes down and the FortiGate unit fails over to another Internet connection. In transparent mode, if you change the management IP address, the FortiGate unit also sends the SETUP message to notify the FDN of the address change.
To configure FortiGuard options on the FortiGate unit on the internal network 1 Go to System > Maintenance > FortiGuard. 2 Select the expand arrow beside AntiVirus and IPS Options to reveal the available options. 3 Select the Allow Push Update check box. 4 Select the Use override push IP check box. 5 Enter the IP address of the external interface of the NAT device. UDP port 9943 is changed only if it is blocked or in use. 6 Select Apply. You can change to the push override configuration if the external IP address of the external service port changes; select Apply to have the FortiGate unit send the updated push information to the FDN.
FortiGate Version 4.0 MR2 Administration Guide 01-420-89802-20100326 http://docs.fortinet.com/ Feedback
210
System Maintenance
When the FortiGate unit sends the override push IP address and port to the FDN, the FDN uses this IP address and port for push updates to the FortiGate unit. However, push updates will not actually work until a virtual IP is added to the NAT device so that the NAT device accepts push update packets and forwards them to the FortiGate unit on the internal network. If the NAT device is also a FortiGate unit, the following procedure, To add a port forwarding virtual IP to the FortiGate NAT device, allows you to configure the NAT device to use port forwarding to push update connections from the FDN to the FortiGate unit on the internal network. To add a port forwarding virtual IP to the FortiGate NAT device 1 Go to Firewall > Virtual IP > Virtual IP. 2 Select Create New. 3 Enter the appropriate information for the following:
Name External Interface External IP Address/Range Enter a name for the Virtual IP. Select an external interface from the list. This is the interface that connects to the Internet. Enter the IP address and/or range. This is the IP address to which the FDN sends the push updates. This is usually the IP address of the external interface of the NAT device. This IP address must be the same as the IP address in User override push update for the FortiGate unit on the internal network. Enter the IP address and/or range of the FortiGate unit on the internal network. Select Port Forwarding. When you select Port Forwarding, the options Protocol, External Services Port and Map to Port appear. Select UDP. Enter the external service port. The external service port is the port that the FDN connects to. The external service port for push updates is usually 9443. If you changed the push update port in the FortiGuard configuration of the FortiGate unit on the internal network, you must set the external service port to the changed push update port. Enter 9443. This is the port number to which the NAT FortiGate unit will send the push update after it comes through the virtual IP. FortiGate units expect push update notifications on port 9443.
Map to Port
4 Select OK. To add a firewall policy to the FortiGate NAT device 1 Go to Firewall > Policy > Policy. 2 Select Create New. 3 Configure the external to internal firewall policy.
Source Interface/Zone Source Address Destination Interface/Zone Destination Address Schedule Service Select the name of the interface that connects to the Internet. Select All Select the name of the interface of the NAT device that connects to the internal network. Select the virtual IP added to the NAT device. Select Always. Select ANY.
211
Advanced
System Maintenance
Action NAT
4 Select OK. Verify that push updates to the FortiGate unit on the internal network are working by going to System > Maintenance > FortiGuard and selecting Test Availability under Web Filtering and AntiSpam Options. The Push Update indicator should change to green.
Advanced
The Advanced menu allows you to configure and upload script files, configure settings for the USB Auto-install feature, and download the debug log. Scripts are text files containing CLI command sequences. These can be uploaded and executed to run complex command sequences easily. Scripts can be used to deploy identical configurations to many devices. For example, if all of your devices use identical administrator admin profiles, you can enter the commands required to create the admin profiles in a script, and then deploy the script to all the devices which should use those same settings. If you are using a FortiGate unit without a FortiManager unit or the FortiGuard Analysis & Management Service, the scripts you upload are executed and discarded. If you want to execute a script more than once, you must keep a copy on your management PC. If your FortiGate unit is configured to use a FortiManager unit, you can upload your scripts to the FortiManager unit, and run them from any FortiGate unit configured to use the FortiManager unit. If you upload a script directly to a FortiGate unit, it is executed and discarded. If your FortiGate unit is configured to use the FortiGuard Analysis & Management Service, scripts you upload are executed and stored. You can run uploaded scripts from any FortiGate unit configured with your FortiGuard Analysis & Management Service account. The uploaded script files appear on the FortiGuard Analysis & Management Service portal web site. After executing scripts, you can view the script execution history on the script page. The list displays the last 10 executed scripts. Go to System > Maintenance > Advanced to configure settings for scripts, the USB autoinstall, and to download the debug log.
Advanced page Lists all settings for configuring scripts, USB-Auto install, and download the debug log. Scripts section Provides settings for uploading script files. You can also view script execution history from this section. Execute Script from Scripts can be uploaded directly to the FortiGate unit from the management PC. If you have configured either a FortiManager unit or the FortiGuard Analysis & Management Service, scripts that have been stored remotely can also be run on the FortiGate unit. Select Browse to locate the script file and then select Apply to upload and execute the file. If the FortiGate unit is configured to use the FortiGuard Analysis & Management Service, the script will be saved on the server for later use.
212
System Maintenance
Advanced
Select From remote management station Script Execution History (past 10 scripts) Name Type
Select to execute a script from the FortiManager unit or the FortiGuard Analysis & Management Service. Choose the script you want to run from the list of all scripts stored remotely. A list of the 10 most recently executed scripts. The name of the script file. The source of the script file. A local file is uploaded directly to the FortiGate unit from the management PC and executed. A remote file is executed on the FortiGate unit after being sent from a FortiManager unit or the FortiGuard Analysis & Management Service. The date and time the script file was executed. The status of the script file, if its execution succeeded or failed. Delete the script entry from the list.
USB Auto-Install section Provides settings for uploading a specific firmware image and configuration file whenever there is a system restart. You must have a USB key inserted into the USB port on the FortiGate unit for this feature. On system restart Select to upload a specific firmware image when the system restarts. Enter the name of the firmware image in the field. When the system restarts, the FortiGate unit will look for that firmware image name on the USB key. Select to upload a specific configuration file when the system restarts. Enter the name of the configuration file in the field. When the system restarts, the FortiGate unit will look for that configuration file name on the USB key.
On system restart
Download Debug Log section Provides a debug log rule for diagnostic purposes. You can send this debug log to Fortinet Technical Support where they use it to help diagnose problems with your FortiGate unit. Download Debug Log Select to download an encrypted debug log file to your local PC.
213
System Maintenance
After you have created a script file, you can then upload it through System > Maintenance > Advanced. When a script is uploaded, it is automatically executed. To execute a script 1 Go to System > Maintenance > Advanced. 2 Verify that Upload Bulk CLI Command File is selected. 3 Select Browse to locate the script file. 4 Select Apply. If the FortiGate unit is not configured for remote management, or if it is configured to use a FortiManager unit, uploaded scripts are discarded after execution. Save script files to your management PC if you want to execute them again later. If the FortiGate unit is configured to use the FortiGuard Analysis & Management Service, the script file is saved to the remote server for later reuse. You can view the script or run it from the FortiGuard Analysis & Management Service portal web site. For more information about viewing or running an uploaded script on the portal web site, see the FortiGuard Analysis & Management Service Users Guide.
Note: VDOMs created on a registered FortiGate unit are recognized as real devices by any connected FortiAnalyzer unit. The FortiAnalyzer unit includes VDOMs in its total number of registered devices. For example, if three FortiGate units are registered on the FortiAnalyzer unit and they contain a total of four VDOMs, the total number of registered FortiGate units on the FortiAnalyzer unit is seven. For more information, see the FortiAnalyzer Administration Guide.
214
System Maintenance
Disk
Disk
You can view the status of each available local disk on your FortiGate unit from System > Maintenance > Disk. The Disk menu allows you to view the amount of storage space that is currently left as well as what has been stored on and how much storage space that data is taking up. This menu provides detailed information about that storage space for each of the following: Disk logging SQL database Historic reports IPS Packet archives Quarantine WAN optimization and Web Cache
The Disk menu also provides information about quota usage, for each of the above features. The Disk menu appears only on FortiGate models with multiple disks.
Disk page Displays the detailed information about the status of each disk and how each disk is managing the storage of the information on the disk. You can view the storage of information for each feature in the Disk Management section of this page. Disk Status section Displays a pie chart explaining the storage space on the disk. There is a pie chart for each disk currently installed on that FortiGate unit. # Name Total Used Free The order of the disk within the list. The name of the disk, such as internal. The total amount of disk space available on that disk. The total amount of space that is already used on the disk. The total amount of space that is available for storage. You can select Format to format the disk; however, formatting the disk will remove all data from the disk.
Disk Management section Provides detailed information about how much disk space is used, free space that is available, and quota usage. Feature The feature that will be storing information on the disk. The following are the available features: Disk logging DLP archive Historic reports IPS Packet archive Quarantine SQL Database WAN optimization and Web Cache The size of the storage space on the disk. The amount of space that is allowed for storage of a feature. The current amount of space that has been used to store information of a feature. The quota amount that is currently being used. This number is in percent. If there is no quota being used, the number is 100 percent. Select to modify the current amount of space that is being used.
215
Disk
System Maintenance
216
217
2 Power down the FortiGate unit. 3 Insert the FortiGate-ADM-FB8 module into the double-width AMC slot. 4 Power up the FortiGate unit. As long as the slot that you have inserted the FortiGate-ADM-FB8 module into is set to auto the FortiGate unit should automatically find the module when it powers up. 5 Add the name of the FortiGate-ADM-FB8 module to the FortiGate configuration. config system amc set dw1 adm-fb8 end
218
get system amc sw1 : auto 3 Power down the FortiGate unit. 4 Insert the FortiGate-ASM-CX4 or FortiGate-ASM-FX2 module into a single-width AMC slot. 5 Power up the FortiGate unit. As long as the slot that you have inserted the module into is set to auto the FortiGate unit should automatically find the module when it powers up. 6 Add the name of the module to the FortiGate configuration and configure bypass and recovery settings. The following command configures AMC single width slot 1 (sw1) for a FortiGate-ASMCX4. This command also enables the bypass watchdog and increases the bypass timeout from the default value of 10 seconds to 60 seconds. This means that if a failure occurs the bridge module will change to bypass mode 60 seconds after the bypass watchdog detects the failure. This command also enables watchdog recovery and sets the watchdog recovery period to 30 seconds. This means that if a failure occurs, while the FortiGate-ASM-CX4 module is bridging the connection the AMC bypass watchdog monitors FortiGate processes and will revert to normal operating mode (that is disable the bridging the interfaces with the FortiGate-ASM-CX4 module) if the FortiGate unit recovers from the failure. config system amc set sw1 asm-cx4 set bypass-watchdog enable set bypass-timeout 60 set watchdog-recovery enable set watchdog-recovery-period 30 end
219
2 Use the following diagnose command to view the status of the AMC modules installed in a FortiGate unit, including whether they are operating in bypass mode. For example if you have installed a FortiGate-ASM-CX4 module in AMC slot 2 of a FortiGate-3810A and bypass mode is enabled: diagnose sys amc bypass status ASM-CX4 in slot 2: amc-sw2/1 <--> amc-sw2/2: mode=bypass (admin action) amc-sw2/3 <--> amc-sw2/4: mode=bypass (admin action) Daemon heartbeat status: normal Last heartbeat received: 0 second(s) ago 3 Log into the web-based manager and go to System > Dashboard > Status and view the Unit Operation widget to see the status of the AMC bridge module. To manually disable bypass mode 1 Use the following command to manually disable bypass mode: execute amc bypass disable 2 Use the following diagnose command to view the status of the AMC modules installed in a FortiGate unit, including whether they are operating in bypass mode. For example if you have installed a FortiGate-ASM-CX4 module in AMC slot 2 of a FortiGate-3810A and bypass mode is disabled: diagnose sys amc bypass status ASM-CX4 in slot 2: amc-sw2/1 <--> amc-sw2/2: mode=normal amc-sw2/3 <--> amc-sw2/4: mode=normal Daemon heartbeat status: normal Last heartbeat received: 1 second(s) ago 3 Log into the web-based manager and go to System > Dashboard > Status and view the Unit Operation widget to see the status of the AMC bridge module.
220
Configuring RAID
Configuring RAID
This section explains how to configure RAID on a FortiGate unit with multiple disk support. RAID arrays can provide faster disk access, redundancy in case of partial failure, or both depending on the RAID level that is selected. The following topics are included in this section: Configuring the RAID array RAID levels Rebuilding the RAID array
Some FortiGate models have two or more disk drives configured in a RAID array to store log messages locally on the FortiGate unit. RAID arrays can provide faster disk access, redundancy in case of partial failure, or both depending on the RAID level that is selected. When switching RAID levels, you may see the message RAID status is OK and RAID is doing background synchronization. Synchronization of the disks in the array will take considerable time it will take longer for larger arrays and for disks with more storage capacity.
221
RAID levels
Configuring RAID
Status
The status, or health, of RAID array. This status can be one of: OK standard status, everything is normal OK (Background-Synchronizing) (%) synchronizing the disks after changing RAID level, Synchronizing progress bar shows percent complete Degraded One or more of the disks in the array has failed, been removed, or is not working properly. A warning is displayed about the lack of redundancy in this state. Also, a degraded array is slower than a healthy array. Select Rebuild RAID to fix the array. Degraded (Background-Rebuilding) (%) The same as degraded, but the RAID array is being rebuilt in the background. The array continues to be in a fragile state until the rebuilding is completed. The size of the RAID array in gigabytes (GB). The size of the array depends on the RAID level selected, and the number of disks in the array. Select to rebuild the array after a new disk has been added to the array, or after a disk has been swapped in for a failed disk. If you try to rebuild a RAID array with too few disks you will get a rebuild error. After inserting a functioning disk, the rebuild will start. This button is only available when the RAID array is in a degraded state and has enough disks to be rebuilt. You cannot restart a rebuild once a rebuild is already in progress. Note: If a disk has failed, the number of working disks may not be enough for the RAID level to function. In this case, replace the failed disk with a working disk to rebuild the RAID array. The disks position in the array. This corresponds to the physical slot of the disk. If a disk is removed from the FortiGate unit, the disk is marked as not a member of the array and its position is retained until a new disk is inserted in that drive bay. The status of this disk. Options include OK, and unavailable. A disk is unavailable if it is removed or has failed. Display if the selected disk is part of the RAID array. A green icon with a check mark indicates the disk is part of the array. A grey icon with an X indicates the disk is not part of the RAID array. A disk may be displayed as healthy on the dashboard display even when it is not a member in the RAID array. A disk may be available but not used in the RAID array. For example three disks in a RAID 1 array, only two are used. The storage capacity that this drive contributes to the RAID array. The full storage capacity of the disk is used for the RAID array automatically. The total storage capacity of the RAID array depends on the capacity and numbers of the disks, and the RAID level of the array.
Disk#
Status Member
Capacity
RAID levels
When changing the RAID level, the available levels depend on the number of working disks that are actually present in the unit. For example, RAID 5 is not available on units with fewer than three disks. When a disk fails, becomes corrupt, or is removed you must rebuild the RAID array. For more information, see Rebuilding the RAID array on page 223. If the FortiGate unit only has one disk installed, the RAID monitor widget will not be displayed as it is not possible to configure a RAID array with only one disk. Available RAID levels include: RAID 0 RAID 1 RAID 5
222
Configuring RAID
RAID 0
A RAID 0 array is also referred to as striping. The FortiGate unit writes information evenly across all hard disks. The total space available is that of all the disks in the RAID array. There is no redundancy available. If any single drive fails, the data on that drive cannot be recovered. This RAID level is beneficial because it provides better performance, since the FortiGate unit can distribute disk writing across multiple disks. For example if your FortiGate unit has three disks each with a one TeraByte (TB) capacity, your RAID 0 array will have a three TB capacity.
RAID 1
A RAID 1 array is also referred to as mirroring. The FortiGate unit writes information to one hard disk, and writes a copy (a mirror image) of all information to all other hard disks. The total disk space available is that of only one hard disk, as the others are solely used for mirroring. This provides redundant data storage with no single point of failure. Should any of the hard disks fail, there are several backup hard disks available. For example, if one disk fails, the unit can still access three other hard disks and continue functioning. In a RAID 1 array, if you have four disks of one TB capacity, the array will have a two TB capacity. Since RAID 1 pairs disks for mirroring, if you have an odd number of disks then one disk will not be used. If you have three disks, only two will be used in the RAID 1 array.
RAID 5
A RAID 5 array employs striping with a parity check. Similar to RAID 0, the FortiGate unit writes information evenly across all drives but additional parity blocks are written on the same stripes. The parity block is staggered for each stripe. The total disk space is the total number of disks in the array, minus one disk for parity storage. For example, with four hard disks, the total capacity available is actually the total for three hard disks. RAID 5 performance is typically better with reading than with writing, although performance is degraded when one disk has failed or is missing. With RAID 5, one disk can fail without the loss of data. If a drive fails, it can be replaced and the FortiGate unit will restore the data on the new disk by using reference information from the parity volume.
223
Configuring RAID
224
Configuring RAID
4 Insert the new disk into the FortiGate unit that is replacing the failed disk. Insert the disk carefully into the FortiGate unit. Push the front panel of the disk to make the connectionthe lever will start to move to the right. Ensure that both sides of the disk are in line with the other disks. When in place push the bar fully to the right, until the green button clicks. 5 Refresh your display to ensure the new disk is installed properly. If it is not recognized, repeat steps 3 and 4 with the new disk to ensure it is properly installed. 6 On the configure screen, select Rebuild RAID. Rebuilding the RAID array will normally take several hours. You can follow its progress on the RAID Monitor display on the dashboard. 7 When the rebuild is complete, the status of the RAID array will change to OK.
225
Configuring RAID
226
Router Static
Routing concepts
Router Static
This section explains some general routing concepts, and how to define static routes and route policies. A route provides the FortiGate unit with the information it needs to forward a packet to a particular destination on the network. A static route causes packets to be forwarded to a destination other than the factory configured default gateway. The factory configured static default route provides you with a starting point to configure the default gateway. You must either edit the factory configured static default route to specify a different default gateway for the FortiGate unit, or delete the factory configured route and specify your own static default route that points to the default gateway for the FortiGate unit. For more information, see Default route and default gateway on page 232. You define static routes manually. Static routes control traffic exiting the FortiGate unit you can specify through which interface the packet will leave and to which device the packet should be routed. As an option, you can define route policies. Route policies specify additional criteria for examining the properties of incoming packets. Using route policies, you can configure the FortiGate unit to route packets based on the IP source and destination addresses in packet headers and other criteria such as on which interface the packet was received and which protocol (service) and port are being used to transport the packet. If you enable virtual domains (VDOMs) on the FortiGate unit, static routing is configured separately for each virtual domain. For more information, see Using virtual domains on page 73. The following topics are included in this section: Routing concepts Static Route ECMP route failover and load balancing Policy Route
Routing concepts
The FortiGate unit functions as a security device on a network and packets must pass through it. You need to understand a number of basic routing concepts in order to configure the FortiGate unit appropriately. Whether you administer a small or large network, this section will help you understand how the FortiGate unit performs routing functions. This topic contains the following: How the routing table is built How routing decisions are made Multipath routing and determining the best route Route priority Blackhole Route
227
Routing concepts
Router Static
Administrative Distance
Administrative distance is based on the expected reliability of a given route. It is determined through a combination of the number of hops from the source and the routing protocol being used. More hops from the source means more possible points of failure. The administrative distance can be from 1 to 255, with lower numbers being preferred. A distance of 255 is seen as infinite and will not be installed in the routing table. Here is an example to illustrate how administration distance worksif there are two possible routes traffic can take between 2 destinations with administration distances of 5 (always up) and 31 (sometimes not available), the traffic will use the route with an administrative distance of 5. whenever possible. Different routing protocols have different default administrative distances. The default administrative distances for any of these routing protocols are configurable. For more information on changing the administrative distance associated with a routing protocol, see the config routing in the FortiGate CLI Reference.
FortiGate Version 4.0 MR2 Administration Guide 01-420-89802-20100326 http://docs.fortinet.com/ Feedback
228
Router Static
Routing concepts
Table 44: Default administrative distances for routing protocols Routing protocol Direct physical connection Static EBGP OSPF RIP IBGP Default administrative distance 1 10 20 110 120 200
Another method to manually resolve multiple routes to the same destination is to manually change the priority of both of the routes. If the next-hop administrative distances of two routes on the FortiGate unit are equal, it may not be clear which route the packet will take. Configuring the priority for each of those routes will make it clear which next-hop will be used in the case of a tie. You can set the priority for a route only from the CLI. Lower priorities are preferred. For more information, see the FortiGate CLI Reference. All entries in the routing table are associated with an administrative distance. If the routing table contains several entries that point to the same destination (the entries may have different gateways or interface associations), the FortiGate unit compares the administrative distances of those entries, selects the entries having the lowest distances, and installs them as routes in the FortiGate forwarding table. As a result, the FortiGate forwarding table contains only those routes having the lowest distances to each destination. For information about how to change the administrative distance associated with a static route, see Adding a static route to the routing table on page 234.
Route priority
After the FortiGate unit selects static routes for the forwarding table based on their administrative distances, the priority field of those routes determines routing preference. You configure the priority field through the CLI. The route with the lowest value in the priority field is considered the best route, and the primary route. The command to set the priority field is: set priority <integer> under the config route static command. For more information, see the FortiGate CLI Reference. In summary, because you can use the CLI to specify which priority field settings to use when defining static routes, you can prioritize routes to the same destination according to their priority field settings. For a static route to be the preferred route, you must create the route using the config router static CLI command and specify a low priority for the route. If two routes have the same administrative distance and the same priority, then they are equal cost multipath (ECMP) routes. Since this means there is more than one route to the same destination, it can be confusing which route or routes to install and use. However, you can configure ECMP Route Failover and Load Balancing to control how sessions are load balanced among ECMP routes. See ECMP route failover and load balancing on page 235.
Blackhole Route
A blackhole route is a route that drops all traffic sent to it. It is very much like a /dev/null interface in Linux programming. Blackhole routes are used to dispose of packets instead of responding to suspicious inquiries. This provides added security since the originator will not discover any information from the target network.
229
Static Route
Router Static
Blackhole routes can also limit traffic on a subnet. If some subnet addresses are not in use, traffic to those addresses (traffic which may be valid or malicious) can be directed to a blackhole for added security and to reduce traffic on the subnet. The loopback interface, a virtual interface that does not forward traffic enables easier configuration of blackhole routing. Similar to a normal interface, this loopback interface has fewer parameters to configure, and all traffic sent to it stops there. Since it cannot have hardware connection or link status problems, it is always available, making it useful for other dynamic routing roles. Once configured, you can use a loopback interface in firewall policies, routing, and other places that refer to interfaces. Loopback interfaces can be configured from both the web-based manager and the CLI. For more information, see Adding loopback interfaces on page 95 or the system chapter of the FortiGate CLI Reference.
Static Route
You configure static routes by defining the destination IP address and netmask of packets that you intend the FortiGate unit to intercept, and by specifying a (gateway) IP address for those packets. The gateway address specifies the next-hop router to which traffic will be routed.
Edit Delete ECMP Route Failover & Load Balance Method Source based
230
Router Static
Static Route
Weighted
The FortiGate unit load balances sessions among ECMP routes based on weights added to ECMP routes. More traffic is directed to routes with higher weights. After selecting weight-based you must add weights to static routes. For more information, see Configuring weighted static route load balancing on page 240. The FortiGate unit distributes sessions among ECMP routes based on how busy the FortiGate interfaces associated with the routes are. After selecting spill-over you add route Spillover Thresholds to interfaces added to ECMP routes. For more information, see Configuring interface status detection for gateway load balancing on page 101. The FortiGate unit sends all ECMP-routed sessions to the lowest numbered interface until the bandwidth being processed by this interface reaches its spillover threshold. The FortiGate unit then spills additional sessions over to the next lowest numbered interface. For more information, including the order in which interfaces are selected, see Configuring spill-over or usage-based ECMP on page 237. Select to save the ECMP Route Failover and load balance method. Select the Expand Arrow to display or hide the IPv4 static routes. By default these routes are displayed. This is displayed only when IPv6 is enabled in the web-based manager. Select the Expand Arrow to display or hide the IPv6 static routes. By default these routes are hidden. This is displayed only when IPv6 is enabled in the web-based manager. The destination IP addresses and network masks of packets that the FortiGate unit intercepts. The IP addresses of the next-hop routers to which intercepted packets are forwarded. The names of the FortiGate interfaces through which intercepted packets are received and sent. The administrative distances associated with each route. The values represent distances to next-hop routers. If ECMP Route Failover & Load Balance Method is set to weighted, add weights for each route. Add higher weights to routes that you want to assign more sessions to when load balancing. For more information, see Configuring weighted static route load balancing on page 240.
Spill-over
Apply Route
IPv6 Route
New Static Route page Provides settings for defining the destination IP address and netmask of packets that you intend the FortiGate unit to intercept, and by specifying a (gateway) IP address for those packets Destination IP/Mask Device Gateway Distance Priority Enter the destination IP address and netmask of the packets that you intend the FortiGate unit to intercept. Select the interface through which intercepted packets are received and sent.. Enter the gateway IP address for those packets that you intend the FortiGate unit to intercept. Enter the number that represents the distances to the next-hop routers. Enter the number for the priority of the static route. Note: Unless otherwise specified, static route examples and procedures are for IPv4 static routes. You can use the config router static6 CLI command to add, edit, or delete static routes for IPv6 traffic. For more information, see the router chapter of the FortiGate CLI Reference.
231
Static Route
Router Static
Internet
Gateway Router
192.168.10.1 external
FortiGate_1
internal
To route outbound packets from the internal network to destinations that are not on network 192.168.20.0/24, you would edit the default route and include the following settings: Destination IP/mask: 0.0.0.0/0.0.0.0 Gateway: 192.168.10.1
232
Router Static
Static Route
Device: Name of the interface connected to network 192.168.10.0/24 (in this example external). Distance: 10
The Gateway setting specifies the IP address of the next-hop router interface to the FortiGate external interface. The interface connected to the router (192.168.10.1) is the default gateway for FortiGate_1. In some cases, there may be routers behind the FortiGate unit. If the destination IP address of a packet is not on the local network but is on a network behind one of those routers, the FortiGate routing table must include a static route to that network. For example, in Figure 5, the FortiGate unit must be configured with static routes to interfaces 192.168.10.1 and 192.168.11.1 in order to forward packets to Network_1 and Network_2 respectively. Also firewall policies must be configured to allow traffic to pass through the FortiGate unit along these routes. For more information, see Configuring firewall policies on
page 258. Figure 5: Destinations on networks behind internal routers
Internet
FortiGate_1
internal 192.168.10.1 Gateway Router_1 dmz 192.168.11.1 Gateway Router_2
Network_1 192.168.20.0/24
Network_2 192.168.30.0/24
To route packets from Network_1 to Network_2, Router_1 must be configured to use the FortiGate internal interface as its default gateway. On the FortiGate unit, you would create a new static route with these settings:
Destination IP/mask Gateway Device Distance 192.168.30.0/24 192.168.11.1 dmz 10
To route packets from Network_2 to Network_1, Router_2 must be configured to use the FortiGate dmz interface as its default gateway. On the FortiGate unit, you would create a new static route with these settings:
233
Static Route
Router Static
To change the gateway for the default route 1 Go to Router > Static > Static Route. 2 Select the Edit icon in row 1. 3 If the FortiGate unit reaches the next-hop router through an interface other than the interface that is currently selected in the Device field, select the name of the interface from the Device field. 4 In the Gateway field, type the IP address of the next-hop router to which outbound traffic may be directed. 5 In the Distance field, optionally adjust the administrative distance value. The default route distance should be set high enough to allow other routes to be configured at lower distances so they will be preferred over the default route. 6 Select OK.
234
Router Static
5 Enter the gateway IP address. Continuing with the example, 172.1.2.11 would be a valid address. 6 Enter the administrative distance of this route. The administrative distance allows you to weight one route to be preferred over another. This is useful when one route is unreliable. For example, if route A has an administrative distance of 30 and route B has an administrative distance of 10, the preferred route is route A with the smaller administrative distance of 10. If you discover that route A is unreliable, you can change the administrative distance for route A from 10 to 40, which will make the route B the preferred route. 7 Select OK to confirm and save your new static route. When you add a static route through the web-based manager, the FortiGate unit adds the entry to the Static Route list. Figure 172 shows the Edit Static Route dialog box belonging to a FortiGate unit that has an interface named internal. The names of the interfaces on your FortiGate unit may be different.
Destination IP/Mask Gateway Device Distance
Type the destination IP address and network mask of packets that the FortiGate unit has to intercept. The value 0.0.0.0/0.0.0.0 is reserved for the default route.
Type the IP address of the next-hop router to which the FortiGate unit will forward intercepted packets. Select the name of the FortiGate interface through which the intercepted packets may be routed to the next-hop router. Type an administrative distance from 1 to 255 for the route. The distance value is arbitrary and should reflect the distance to the next-hop router. A lower value indicates a more preferred route. Add weights for each route. Add higher weights to routes that you want to load balance more sessions to. See Configuring weighted static route load balancing on page 240. Available if ECMP Route Failover & Load Balance Method is set to weighted.
Weight
235
Router Static
Source based The FortiGate unit load balances sessions among ECMP routes based on the source IP address of the sessions to be load balanced. This is the default load (also called source IP based) balancing method. No configuration changes are required to support source IP load balancing. Weighted (also called weight-based) Spill-over (also called usage-based) The FortiGate unit load balances sessions among ECMP routes based on weights added to ECMP routes. More traffic is directed to routes with higher weights. After selecting weight-based you must add weights to static routes. See Configuring weighted static route load balancing on page 240. The FortiGate unit distributes sessions among ECMP routes based on how busy the FortiGate interfaces added to the routes are. After selecting spill-over, you add route Spillover Thresholds to interfaces added to ECMP routes. The FortiGate unit sends all ECMP-routed sessions to the lowest numbered interface until the bandwidth being processed by this interface reaches its spillover threshold. The FortiGate unit then spills additional sessions over to the next lowest numbered interface. The Spillover Thresholds range is 0-2097000 KBps. For more information, including the order in which interfaces are selected, see Configuring spill-over or usage-based ECMP on page 237.
You can configure only one of these ECMP route failover and load balancing methods in a single VDOM. If your FortiGate unit is configured for multiple VDOM operation, each VDOM can have its own ECMP route failover and load balancing configuration. To configure the ECMP route failover and load balancing method from the web-based manager 1 Go to Router > Static > Static Route. 2 Set ECMP Route failover & Load Balance Method to source based, weighted, or spill-over. 3 Select Apply. To configure the ECMP route failover and load balancing method from the CLI Enter the following command: config system settings set v4-ecmp-mode {source-ip-based | usage-based | weight-based} end
236
Router Static
5 Go to System > Network > Interface. 6 Edit port3 and port4 and add the following spillover-thresholds:
Interface Spillover Threshold (KBps) Interface Spillover Threshold (KBps) port3 100 port4 200
7 Go to Router > Monitor to view the routing table. The routes could be displayed in the order shown in Table 45.
Table 45: Example ECMP routes as listed on the routing monitor Type Static Static Network 192.168.20.0/24 192.168.20.0/24 Distance Metric 9 9 0 0 Gateway 172.20.130.3 172.20.140.4 Interface port3 port4
237
Router Static
In this example, the FortiGate unit sends all sessions to the 192.168.20.0 network through port3. When port3 exceeds its spillover threshold of 100 Kbps the FortiGate unit sends all new sessions to the 192.168.20.0 network through port4. To add route-spillover thresholds to interfaces from the CLI 1 Enter the following command to set the ECMP route failover and load balance method to usage-based. config system settings set v4-ecmp-mode usage-based end 2 Enter the following commands to add three route-spillover thresholds to three interfaces. config system interface edit port1 set spillover-threshold 400 next edit port2 set spillover-threshold 200 next edit port3 set spillover-threshold 100 end 3 Enter the following commands to add three ECMP default routes, one for each interface. config router static edit 1 set dst 0.0.0.0/0.0.0.0 set gwy 172.20.110.1 set dev port1 next edit 2 set dst 0.0.0.0/0.0.0.0 set gwy 172.20.120.2 set dev port2 next edit 3 set dst 0.0.0.0/0.0.0.0 set gwy 172.20.130.3 set dev port3 end 4 Enter the following command to display static routes in the routing table: get router info routing-table static S 0.0.0.0/0 [10/0] via 172.20.110.1, port1 [10/0] via 172.20.120.2, port2 [10/0] via 172.20.130.3, port3 In this example, the FortiGate unit sends all sessions to the Internet through port1. When port1 exceeds its spillover threshold of 400 KBps the FortiGate unit sends all new sessions to the Internet through port2. If both port1 and port2 exceed their spillover thresholds the FortiGate unit would send all new sessions to the Internet through port3.
238
Router Static
239
Router Static
In this example: one third of the sessions to the 192.168.20.0 network will use the first route and be sent out port1 to the gateway with IP address 172.20.110.1. the other two thirds of the sessions to the 192.168.20.0 network will use the second route and be sent out port2 to the gateway with IP address 172.20.120.2.
240
Router Static
Policy Route
To add weights to static routes from the CLI 1 Enter the following command to set the ECMP route failover and load balance method to weighted. config system settings set v4-ecmp-mode weight-based end 2 Enter the following commands to add three ECMP static routes and add weights to each route. config router static edit 1 set dst 192.168.20.0/24 set gwy 172.20.110.1 set dev port1 set weight 100 next edit 2 set dst 192.168.20.0/24 set gwy 172.20.120.2 set dev port2 set weight 200 next edit 3 set dst 192.168.20.0/24 set gwy 172.20.130.3 set dev port3 set weight 300 end
Note: In this example the priority remains set to 0 and the distance remains set to 10 for all three routes. Any other routes with a distance set to 10 will not have their weight set, so will have a weight of 0 and will not be part of the load balancing.
In this example: one sixth of the sessions to the 192.168.20.0 network will use the first route and be sent out port1 to the gateway with IP address 172.20.110.1. one third of the sessions to the 192.168.20.0 network will use the second route and be sent out port2 to the gateway with IP address 172.20.120.2. one half of the sessions to the 192.168.20.0 network will use the third route and be sent out port3 to the gateway with IP address 172.20.130.3.
Policy Route
A routing policy allows you to redirect traffic away from a static route. This can be useful if you want to route certain types of network traffic differently. You can use incoming traffics protocol, source address or interface, destination address, or port number to determine where to send the traffic. For example, generally network traffic would go to the router of a subnet, but you might want to direct SMTP or POP3 traffic addressed to that subnet directly to the mail server.
241
Policy Route
Router Static
If you have configured the FortiGate unit with routing policies and a packet arrives at the FortiGate unit, the FortiGate unit starts at the top of the Policy Route list and attempts to match the packet with a policy. If a match is found, and the policy contains enough information to route the packet (a minimum of the IP address of the next-hop router and the FortiGate interface for forwarding packets to it), the FortiGate unit routes the packet using the information in the policy. If no policy route matches the packet, the FortiGate unit routes the packet using the routing table. Most policy settings are optional, so a matching policy alone might not provide enough information for forwarding the packet. The FortiGate unit may refer to the routing table in an attempt to match the information in the packet header with a route in the routing table. For example, if the outgoing interface is the only item in the policy, the FortiGate unit looks up the IP address of the next-hop router in the routing table. This situation could happen when the interfaces are dynamic (such as DHCP or PPPoE) and you do not want or are unable to specify the IP address of the next-hop router. Policy route options define which attributes of a incoming packet cause policy routing to occur. If the attributes of a packet match all the specified conditions, the FortiGate unit routes the packet through the specified interface to the specified gateway. To add a policy route, go to Router > Static > Policy Route and select Create New. For more information on Type of Service, see Type of Service on page 243.Figure shows the policy route list belonging to a FortiGate unit that has interfaces named external and internal. The names of the interfaces on your FortiGate unit may be different.
Policy Route page Lists all policy routes that you have created. On this page, you can edit, delete or create a new policy route. Create New # Incoming Outgoing Source Destination Delete Edit Add a policy route. See Example policy route on page 243. The ID numbers of configured route policies. These numbers are sequential unless policies have been moved within the table. The interfaces on which packets subjected to route policies are received. The interfaces through which policy routed packets are routed. The IP source addresses and network masks that cause policy routing to occur. The IP destination addresses and network masks that cause policy routing to occur. Delete a policy route. Edit a policy route.
New Routing Policy page Provides settings for configuring how to redirect traffic away from the static route. If incoming traffic matches: Protocol To perform policy routing based on the value in the protocol field of the packet, enter the protocol number to match. The Internet Protocol Number is found in the IP packet header. RFC 5237 describes protocol numbers and you can find a list of the assigned protocol numbers here. The range is from 0 to 255. A value of 0 disables the feature. Tip: Commonly used Protocol settings include 6 to route TCP sessions, 17 for UDP sessions, 1 for ICMP sessions, 47 for GRE sessions, and 92 for multicast sessions. For protocols other than 6 and 17, the port number is ignored. FortiGate Version 4.0 MR2 Administration Guide 01-420-89802-20100326 http://docs.fortinet.com/ Feedback
242
Router Static
Policy Route
Incoming interface
Select the name of the interface through which incoming packets subjected to the policy are received.
Source address/mask To perform policy routing based on the IP source address of the packet, type the source address and network mask to match. A value of 0.0.0.0/0.0.0.0 disables the feature. Destination address/mask Destination ports To perform policy routing based on the IP destination address of the packet, type the destination address and network mask to match. A value of 0.0.0.0/0.0.0.0 disables the feature. To perform policy routing based on the port on which the packet is received, type the same port number in the From and To fields. To apply policy routing to a range of ports, type the starting port number in the From field and the ending port number in the To field. A value of 0 disables this feature. The Destination Ports fields are only used for TCP and UDP protocols. The ports are skipped over for all other protocols. Use a two digit hexadecimal bit pattern to match the service, or use a two digit hexadecimal bit mask to mask out. For more information, see Type of Service on page 243. Select the name of the interface through which packets affected by the policy will be routed. Type the IP address of the next-hop router that the FortiGate unit can access through the specified interface. A value of 0.0.0.0 is not valid.
Type of Service
Type of Service
Type of service (TOS) is an 8-bit field in the IP header that enables you to determine how the IP datagram should be delivered, with such qualities as delay, priority, reliability, and minimum cost. Each quality helps gateways determine the best way to route datagrams. A router maintains a ToS value for each route in its routing table.The lowest priority TOS is 0, the highest is 7 - when bits 3, 4,and 5 are all set to 1. The router tries to match the TOS of the datagram to the TOS on one of the possible routes to the destination. If there is no match, the datagram is sent over a zero TOS route. Using increased quality may increase the cost of delivery because better performance may consume limited network resources. For more information, see RFC 791 and RFC 1349.
FortiGate Version 4.0 MR2 Administration Guide 01-420-89802-20100326 http://docs.fortinet.com/ Feedback
243
Policy Route
Router Static
Table 46: The role of each bit in the IP header TOS 8-bit field bits 0, 1, 2 Precedence Some networks treat high precedence traffic as more important traffic. Precedence should only be used within a network, and can be used differently in each network. Typically you do not care about these bits. When set to 1, this bit indicates low delay is a priority. This is useful for such services as VoIP where delays degrade the quality of the sound. When set to 1, this bit indicates high throughput is a priority. This is useful for services that require lots of bandwidth such as video conferencing. When set to 1, this bit indicates high reliability is a priority. This is useful when a service must always be available such as with DNS servers. When set to 1, this bit indicates low cost is a priority. Generally there is a higher delivery cost associated with enabling bits 3,4, or 5, and bit 6 indicates to use the lowest cost route. Not used at this time.
bit 3
Delay
bit 4
Throughput
bit 5
Reliability
bit 6
Cost
bit 7
For example, if you want to assign low delay, and high reliability, say for a VoIP application where delays are unacceptable, you would use a bit pattern of xxx1x1xx where an x indicates that bit can be any value. Since all bits are not set, this is a good use for the bit mask; if the mask is set to 0x14, it will match any TOS packets that are set to low delay and high reliability.
244
Router Dynamic
RIP
Router Dynamic
This section introduces you to the dynamic routing in the Routing menu. For more information about dynamic routing, see the Dynamic Routing chapter in the FortiOS Handbook. Dynamic routing protocols enable the FortiGate unit to automatically share information about routes with neighboring routers and learn about routes and networks advertised by them. The FortiGate unit supports these dynamic routing protocols: Routing Information Protocol (RIP) Open Shortest Path First (OSPF) Border Gateway Protocol (BGP).
If you enable virtual domains (VDOMs) on the FortiGate unit, dynamic routing is configured separately for each virtual domain. For more information, see Using virtual domains on page 73. The following topics are included in this section: RIP OSPF BGP Multicast Bi-directional Forwarding Detection (BFD)
Note: A FortiGate unit can operate as a Protocol Independent Multicast (PIM) version 2 router in the root virtual domain. FortiGate units support PIM sparse mode and dense mode and can service multicast servers or receivers on the network segment to which a FortiGate interface is connected. PIM can use static routes, RIP, OSPF, or BGP to forward multicast packets to their destinations.
RIP
Routing Information Protocol (RIP) is a distance-vector routing protocol intended for small, relatively homogeneous networks. The FortiGate implementation of RIP supports RIP version 1 (see RFC 1058) and RIP version 2 (see RFC 2453). RIP is configured in Routing > Dynamic > RIP.
RIP page Lists all the networks and interfaces that you have created. This page also allows you to configure basic RIP settings, including creating interfaces and networks. RIP Version Select the level of RIP compatibility needed at the FortiGate unit. You can enable global RIP settings on all FortiGate interfaces connected to RIP-enabled networks: 1 send and receive RIP version 1 packets. 2 send and receive RIP version 2 packets. You can override the global settings for a specific FortiGate interface if required. For more information, see RIP-enabled interface on page 247.
245
RIP
Router Dynamic
Advanced Options
Select the Expand Arrow to view or hide advanced RIP options. For more information, see Advanced RIP options on page 246.
Networks section of the RIP page The IP addresses and network masks of the major networks (connected to the FortiGate unit) that run RIP. When you add a network to the Networks list, the FortiGate interfaces that are part of the network are advertised in RIP updates. You can enable RIP on all FortiGate interfaces whose IP addresses match the RIP network address space. IP/Netmask Add Delete Enter the IP address and netmask that defines the RIP-enabled network. Select to add the network information to the Networks list. Select to remove a network from the RIP network list.
Interfaces section of the RIP page Any additional settings needed to adjust RIP operation on a FortiGate interface. Create New Add new RIP operating parameters for an interface. These parameters will override the global RIP settings for that interface. For more information, see RIP-enabled interface on page 247. The name of the unit RIP interface. The version of RIP used to send updates through each interface: 1, 2, or both. The versions of RIP used to listen for updates on each interface: 1, 2, or both. The type of authentication used on this interface: None, Text or MD5. Permissions for RIP broadcasts on this interface. A green checkmark means the RIP broadcasts are blocked. Select to modify the settings of a RIP Interface. Select to remove a RIP interface from the RIP Interface list.
Default-information- Select to generate and advertise a default route into the FortiGate units RIPenabled networks. The generated route may be based on routes learned originate through a dynamic routing protocol, routes in the routing table, or both.
246
Router Dynamic
RIP
RIP Timers
Enter new values to override the default RIP timer settings. The default settings are effective in most configurations if you change these settings, ensure that the new settings are compatible with local routers and access servers. If the Update timer is smaller than Timeout or Garbage timers, you will get an error. Enter the amount of time (in seconds) that the FortiGate unit will wait between sending RIP updates. Enter the maximum amount of time (in seconds) that a route is considered reachable while no updates are received for the route. This is the maximum time the FortiGate unit will keep a reachable route in the routing table while no updates for that route are received. If the FortiGate unit receives an update for the route before the timeout period expires, the timer is restarted. The Timeout period should be at least three times longer than the Update period. Enter the amount of time (in seconds) that the FortiGate unit will advertise a route as being unreachable before deleting the route from the routing table. The value determines how long an unreachable route is kept in the routing table. Select one or more of the options to redistribute RIP updates about routes that were not learned through RIP. The FortiGate unit can use RIP to redistribute routes learned from directly connected networks, static routes, OSPF, and BGP. Select to redistribute routes learned from directly connected networks. To specify a hop count for those routes, select Metric, and enter the hop count in the Metric field. The valid hop count range is from 1 to 16. Select to redistribute routes learned from static routes. To specify a hop count for those routes, select Metric, and enter the hop count in the Metric field. The range is from 1 to 16. Select to redistribute routes learned through OSPF. To specify a hop count for those routes, select Metric, and enter the hop count in the Metric field. The range is from 1 to 16. Select to redistribute routes learned through BGP. To specify a hop count for those routes, select Metric, and enter the hop count in the Metric field. The range is from 1 to 16.
Update Timeout
Garbage
Redistribute
Connected
Static
OSPF
BGP
RIP-enabled interface
You can use RIP interface options to override the global RIP settings that apply to all FortiGate unit interfaces connected to RIP-enabled networks. For example, if you want to suppress RIP advertising on an interface that is connected to a subnet of a RIP-enabled network, you can set the interface to operate passively. Passive interfaces listen for RIP updates but do not respond to RIP requests. If RIP version 2 is enabled on the interface, you can optionally choose password authentication to ensure that the FortiGate unit authenticates a neighboring router before accepting updates from that router. The unit and the neighboring router must both be configured with the same password. Authentication guarantees the authenticity of the update packet, not the confidentiality of the routing information in the packet. RIP-enabled interfaces are configured in Router > Dynamic > RIP.
Note: Additional options such as split-horizon and key-chains can be configured per interface through the CLI. For more information, see the router chapter of the FortiGate CLI Reference.
247
OSPF
Router Dynamic
New/Edit RIP Interface page Provides settings for configuring a RIP Interface. When you select Create New in the Interfaces section of the RIP page, you are automatically redirected to the New/Edit RIP Interface page. Interface Select the name of the FortiGate interface to which these settings apply. The interface must be connected to a RIP-enabled network. The interface can be a virtual IPSec or GRE interface. Select to override the default RIP-compatibility setting for sending and receiving updates through the interface: RIP version 1, version 2 or Both. Select an authentication method for RIP exchanges on the specified interface: None Disable authentication. Text Select if the interface is connected to a network that runs RIP version 2. Type a password (up to 35 characters) in the Password field. The FortiGate unit and the RIP updates router must both be configured with the same password. The password is sent in clear text over the network. MD5 Authenticate the exchange using MD5. Enter the password for authentication. Select to suppress the advertising of FortiGate unit routing information over the specified interface. Clear the check box to allow the interface to respond normally to RIP requests.
OSPF
Open Shortest Path First (OSPF) is a link-state routing protocol that is most often used in large heterogeneous networks to share routing information among routers in the same Autonomous System (AS). FortiGate units support OSPF version 2 (see RFC 2328). The main benefit of OSPF is that it advertises routes only when neighbors change state instead of at timed intervals, so routing overhead is reduced. This topic contains the following: Defining an OSPF ASOverview Basic OSPF settings Advanced OSPF options Defining OSPF areas OSPF networks Operating parameters for an OSPF interface
If you are using the web-based manager to perform these tasks, follow the procedures summarized below.
248
Router Dynamic
OSPF
Advanced Options Select the Expand Arrow to view or hide advanced OSPF settings. For more information, see Advanced OSPF options on page 250. Areas section of the OSPF page Information about the areas making up an OSPF AS. The header of an OSPF packet contains an area ID, which helps to identify the origination of a packet inside the AS. Create New Edit Delete Area Define and add a new OSPF area to the Areas list. For more information, see Defining OSPF areas on page 251. Select to modify settings of an area. Select to remove an area from the Areas list. The unique 32-bit identifiers of areas in the AS, in dotted-decimal notation. Area ID 0.0.0.0 references the backbone of the AS and cannot be changed or deleted. The types of areas in the AS: Regular - a normal OSPF area NSSA - a not so stubby area Stub - a stub area. For more information, see Defining OSPF areas on page 251. The methods for authenticating OSPF packets sent and received through all FortiGate interfaces linked to each area: None authentication is disabled Text text-based authentication is enabled MD5 MD5 authentication is enabled. A different authentication setting may apply to some of the interfaces in an area, as displayed under Interfaces. For example, if an area employs simple passwords for authentication, you can configure a different password for one or more of the networks in that area.
Type
Authentication
Networks section of the OSPF page The networks in the OSPF AS and their area IDs. When you add a network to the Networks list, all FortiGate interfaces that are part of the network are advertised in OSPF link-state advertisements. You can enable OSPF on all FortiGate interfaces whose IP addresses match the OSPF network address space. For more information, see OSPF networks on page 252. Create New Edit Delete Network Add a network to the AS, specify its area ID, and add the definition to the Networks list. Select to modify settings of an area. Select to remove an area from the Areas list. The IP addresses and network masks of networks in the AS on which OSPF runs. The FortiGate unit may have physical or VLAN interfaces connected to the network. The area IDs that have been assigned to the OSPF network address space.
Area
Interfaces section of the OSPF page Any additional settings needed to adjust OSPF operation on a FortiGate interface. For more information, see Operating parameters for an OSPF interface on page 252. Create New Create additional/different OSPF operating parameters for a unit interface and add the configuration to the Interfaces list.
249
OSPF
Router Dynamic
Select to modify settings of an area. Select to remove an area from the Areas list. The names of OSPF interface definitions. The names of FortiGate physical or VLAN interfaces having OSPF settings that differ from the default values assigned to all other interfaces in the same area. The IP addresses of the OSPF-enabled interfaces having additional/different settings. The methods for authenticating LSA exchanges sent and received on specific OSPF-enabled interfaces. These settings override the area Authentication settings.
IP Authentication
Default Information Generate and advertise a default (external) route to the OSPF AS. You may base the generated route on routes learned through a dynamic routing protocol, routes in the routing table, or both. None Regular Prevent the generation of a default route. Generate a default route into the OSPF AS and advertise the route to neighboring autonomous systems only if the route is stored in the FortiGate routing table. Generate a default route into the OSPF AS and advertise the route to neighboring autonomous systems unconditionally, even if the route is not stored in the FortiGate routing table. Select one or more of the options listed to redistribute OSPF link-state advertisements about routes that were not learned through OSPF. The FortiGate unit can use OSPF to redistribute routes learned from directly connected networks, static routes, RIP, and BGP. Select to redistribute routes learned from directly connected networks. Enter a cost for those routes in the Metric field. The range is from 1 to 16 777 214. Select to redistribute routes learned from static routes. Enter a cost for those routes in the Metric field. The range is from 1 to 16 777 214.
Always
Redistribute
Connected
Static
250
Router Dynamic
OSPF
RIP
Select to redistribute routes learned through RIP. Enter a cost for those routes in the Metric field. The range is from 1 to 16 777 214. Select to redistribute routes learned through BGP. Enter a cost for those routes in the Metric field. The range is from 1 to 16 777 214.
BGP
251
OSPF
Router Dynamic
Type
Select an area type to classify the characteristics of the network that will be assigned to the area: Regular If the area contains more than one router, each having at least one OSPF-enabled interface to the area. NSSA If you want routes to external non-OSPF domains made known to OSPF AS and you want the area to be treated like a stub area by the rest of the AS. STUB If the routers in the area must send packets to an area border router in order to reach the backbone and you do not want routes to non-OSPF domains to be advertised to the routers in the area.
Authentication Select the method for authenticating OSPF packets sent and received through all interfaces in the area: None Disable authentication. Text Enables text-based password authentication. to authenticate LSA exchanges using a plain-text password. The password is sent in clear text over the network. MD5 Enable MD5-based authentication using an MD5 cryptographic hash (RFC 1321). If required, you can override this setting for one or more of the interfaces in the area. For more information, see Operating parameters for an OSPF interface on page 252.
OSPF networks
OSPF areas group a number of contiguous networks together. When you assign an area ID to a network address space, the attributes of the area are associated with the network. Assigning an OSPF area ID to a network is configured in Router > Dynamic > OSPF. You must be in the Network section of the page to assign an OSPF area ID to a network.
New/Edit OSPF Network page Provides settings for configuring networks that are assigned to an area ID. When you select Create New in the Network section of the OSPF page, you are automatically redirected to the New/Edit OSPF Network page. IP/Netmask Area Enter the IP address and network mask of the local network that you want to assign to an OSPF area. Select an area ID for the network. The attributes of the area must match the characteristics and topology of the specified network. You must define the area before you can select the area ID. For more information, see Defining OSPF areas on page 251.
252
Router Dynamic
OSPF
You can configure different OSPF parameters for the same FortiGate interface when more than one IP address has been assigned to the interface. For example, the same FortiGate interface could be connected to two neighbors through different subnets. You could configure an OSPF interface definition containing one set of Hello and dead-interval parameters for compatibility with one neighbors settings, and a second OSPF interface definition for the same interface to ensure compatibility with the second neighbors settings. OSPF operating parameters are configured in Router > Dynamic > OSPF, in the Interfaces section of the page.
New/Edit OSPF Interface page Provides settings for configuring an OSPF interface. When you select Create New in the Interface section of the OSPF page, you are automatically redirected to the New/Edit OSPF Interface page. Name Interface Enter a name to identify the OSPF interface definition. For example, the name could indicate to which OSPF area the interface will be linked. Select the name of the FortiGate interface to associate with this OSPF interface definition (for example, port1, external, or VLAN_1). The FortiGate unit can have physical, VLAN, virtual IPSec or GRE interfaces connected to the OSPF-enabled network. Enter the IP address that has been assigned to the OSPF-enabled interface. The interface becomes OSPF-enabled because its IP address matches the OSPF network address space. For example, if you defined an OSPF network of 172.20.120.0/24 and port1 has been assigned the IP address 172.20.120.140, type 172.20.120.140.
IP
Authentication Select an authentication method for LSA exchanges on the specified interface: None Disable authentication. Text Authenticate LSA exchanges using a plain-text password. The password can be up to 35 characters, and is sent in clear text over the network. MD5 Use one or more keys to generate an MD5 cryptographic hash. Password Enter the plain-text password. Enter an alphanumeric value of up to 15 characters. The OSPF neighbors that send link-state advertisements to this FortiGate interface must be configured with an identical password. This field is available only if you selected plain-text authentication. Enter the key identifier for the (first) password in the ID field (the range is from 1 to 255) and then type the associated password in the Key field. The password is a 128-bit hash, represented by an alphanumeric string of up to 16 characters. When entering the characters, do not use < >, ( ), #, , and because they are not supported. The OSPF neighbors that send link-state advertisements to this FortiGate interface must be configured with an identical MD5 key. If the OSPF neighbor uses more than one password to generate MD5 hash, select the Add icon to add additional MD5 keys to the list. This field is available only if you selected MD5 authentication. Optionally, set the Hello Interval to be compatible with Hello Interval settings on all OSPF neighbors. This setting defines the period of time (in seconds) that the FortiGate unit waits between sending Hello packets through this interface. Optionally, set the Dead Interval to be compatible with Dead Interval settings on all OSPF neighbors. This setting defines the period of time (in seconds) that the FortiGate unit waits to receive a Hello packet from an OSPF neighbor through the interface. If the FortiGate unit does not receive a Hello packet within the specified amount of time, the FortiGate unit declares the neighbor inaccessible. By convention, the Dead Interval value is usually four times greater than the Hello Interval value.
MD5 Keys
Hello Interval
Dead Interval
253
BGP
Router Dynamic
BGP
Border Gateway Protocol (BGP) is an Internet routing protocol typically used by ISPs to exchange routing information between different ISP networks. For example, BGP enables the sharing of network paths between the ISP network and an autonomous system (AS) that uses RIP, OSPF, or both to route packets within the AS. The FortiGate implementation of BGP supports BGP-4 and complies with RFC 1771 and RFC 2385.
Note: You can configure graceful restarting and other advanced settings only through CLI commands. For more information on advanced BGP settings, see the router chapter of the FortiGate CLI Reference.
When you configure BGP settings, you need to specify the AS to which the FortiGate unit belongs and enter a router ID to identify this unit to other BGP routers. You must also identify the FortiGate units BGP neighbors and specify which of the networks local to the FortiGate unit should be advertised to BGP neighbors. When you configure BGP settings, you need to specify the AS to which the FortiGate unit belongs and enter a router ID to identify this unit to other BGP routers. You must also identify the FortiGate units BGP neighbors and specify which of the networks local to the FortiGate unit should be advertised to BGP neighbors. BGP settings are configured in Router > Dynamic > BGP. The web-based manager offers a simplified user interface to configure basic BGP options. You can also configure many advanced BGP options through the CLI. For more information, see the router chapter of the FortiGate CLI Reference.
BGP page Lists all neighbors and networks that you have created. This page also allows you to configure neighbors, networks and a local AS. You can also configure four-byte AS paths as well. If you want additional information about configuring four-byte AS paths, see RFC 4893. Local AS Router ID Enter the number of the local AS to which the FortiGate unit belongs. Enter a unique router ID to identify the FortiGate unit to other BGP routers. The router ID is an IP address written in dotted-decimal format, for example 192.168.0.1. If you change the router ID while BGP is configured on an interface, all connections to BGP peers will be broken temporarily. The connections will reestablish themselves. If Router ID is not explicitly set, the highest IP address of the VDOM will be used.
Neighbors section of the BGP page The IP addresses and AS numbers of BGP peers in neighboring autonomous systems. IP Remote AS Add/Edit Neighbor Remote AS Delete Enter the IP address of the neighbor interface to the BGP-enabled network. Enter the number of the AS that the neighbor belongs to. Add the neighbor information to the Neighbors list, or edit an entry in the list. The IP addresses of BGP peers. The numbers of the autonomous systems associated with the BGP peers. Delete a BGP neighbor entry.
Networks section of the BGP page The IP addresses and network masks of networks to advertise to BGP peers. The FortiGate unit may have a physical or VLAN interface connected to those networks. IP/Netmask Add Enter the IP address and netmask of the network to be advertised. Add the network information to the Networks list.
254
Router Dynamic
Multicast
Network Delete
The IP addresses and network masks of major networks that are advertised to BGP peers. Delete a BGP network definition.
Note: The get router info bgp CLI command provides detailed information about configured BGP settings. For a complete list of the command options, see the router chapter of the FortiGate CLI Reference.
Multicast
A FortiGate unit can operate as a Protocol Independent Multicast (PIM) version 2 router in the root virtual domain. FortiGate units support PIM sparse mode (RFC 2362) and PIM dense mode (RFC 3973) and can service multicast servers or receivers on the network segment to which a FortiGate interface is connected.
Note: You can configure basic options through the web-based manager. Many additional options are available, but only through the CLI. For complete descriptions and examples of how to use CLI commands to configure PIM settings, see multicast in the router chapter of the FortiGate CLI Reference.
When multicast (PIM) routing is enabled, you can configure sparse mode or dense mode operation on any FortiGate interface. PIM settings are configured in Router > Dynamic > Multicast. The web-based manager offers a simplified user interface to configure basic PIM options. You can also configure advanced PIM options through the CLI. For more information, see the router chapter of the FortiGate CLI Reference.
Multicast page Lists each individual multicast route that you created. This page also allows you to configure each multicast route and add RP addresses. Enable Multicast Routing Select to enable PIM version 2 routing. A firewall policy must be created on PIM-enabled interfaces to pass encapsulated packets and decapsulated data between the source and destination,
Static Rendezvous If required for sparse mode operation, enter the IP address of a Rendezvous Point (RP) that may be used as the root of a packet distribution tree for a Points (RPs) multicast group. Join messages from the multicast group are sent to the RP, and data from the source is sent to the RP. If an RP for the specified IPs multicast group is already known to the Boot Strap Router (BSR), the RP known to the BSR is used and the static RP address that you specify is ignored. Apply Create New Save the specified static RP addresses. Create a new multicast entry for an interface. You can use the new entry to fine-tune PIM operation on a specific FortiGate interface or override the global PIM settings on a particular interface. For more information, see Overriding the multicast settings on an interface on page 256. The names of FortiGate interfaces having specific PIM settings. The mode of PIM operation (Sparse or Dense) on that interface. The status of parse-mode RP candidacy on the interface. To change the status of RP candidacy on an interface, select the Edit icon in the row that corresponds to the interface. The priority number assigned to RP candidacy on that interface. Available only when RP candidacy is enabled.
Priority
255
Multicast
Router Dynamic
The priority number assigned to Designated Router (DR) candidacy on the interface. Available only when sparse mode is enabled. Select to remove the PIM setting on the interface. Select to modify PIM settings on the interface.
This topic contains the following: Overriding the multicast settings on an interface Multicast destination NAT
PIM Mode
DR Priority
RP Candidate
RP Candidate Priority Enter the priority number for advertising RP candidacy on the FortiGate interface. The range is from 1 to 255.
256
Router Dynamic
For more information, see the firewall chapter of the FortiGate CLI Reference.
This topic contains the following: Configuring BFD Configuring BFD on your FortiGate unit Disabling BFD for a specific interface
Configuring BFD
BFD is intended for networks that use BGP or OSPF routing protocols. This generally excludes smaller networks. BFD configuration on your FortiGate unit is very flexible. You can enable BFD for the whole unit, and turn it off for one or two interfaces. Alternatively you can specifically enable BFD for each neighbor router, or interface. Which method you choose will be determined by the amount of configuring required for your network The timeout period determines how long the unit waits before labeling a connection as down. The length of the timeout period is importantif it is too short connections will be labeled down prematurely, and if it is too long time will be wasted waiting for a reply from a connection that is down. There is no easy number, as it varies for each network and unit. High end FortiGate models will respond very quickly unless loaded down with traffic. Also the size of the network will slow down the response timepackets need to make more hops than on a smaller network. Those two factors (CPU load and network traversal time) affect how long the timeout you select should be. With too short a timeout period, BFD will not connect to the network device but it will keep trying. This state generates unnecessary network traffic, and leaves the device unmonitored. If this happens, you should try setting a longer timeout period to allow BFD more time to discover the device on the network.
257
Router Dynamic
258
Router Monitor
Router Monitor
This section explains how to interpret the Routing Monitor list. The list displays the entries in the FortiGate routing table. If you enable virtual domains (VDOMs) on the FortiGate unit, router monitoring is available separately for each virtual domain. For more information, see Using virtual domains on page 73. The following topics are included in this section: Viewing routing information Searching the FortiGate routing table
Type
Network
Gateway
Apply Filter Select to search the entries in the routing table based on the specified search criteria and display any matching routes. Not displayed when IP version IPv6 is selected.
259
Router Monitor
Type
The type values assigned to FortiGate routes (Static, Connected, RIP, OSPF, or BGP). Not displayed when IP version IPv6 is selected. If applicable, the subtype classification assigned to OSPF routes. An empty string implies an intra-area route. The destination is in an area to which the FortiGate unit is connected. OSPF inter area the destination is in the OSPF AS, but the FortiGate unit is not connected to that area. External 1 the destination is outside the OSPF AS. The metric of a redistributed route is calculated by adding the external cost and the OSPF cost together. External 2 the destination is outside the OSPF AS. In this case, the metric of the redistributed route is equivalent to the external cost only, expressed as an OSPF cost. OSPF NSSA 1 same as External 1, but the route was received through a notso-stubby area (NSSA). OSPF NSSA 2 same as External 2, but the route was received through a notso-stubby area. Not displayed when IP version IPv6 is selected. The IP addresses and network masks of destination networks that the FortiGate unit can reach. The administrative distance associated with the route. A value of 0 means the route is preferable compared to routes to the same destination. To modify the administrative distance assigned to static routes, see Adding a static route to the routing table on page 234. To modify this distance for dynamic routes, see FortiGate CLI Reference. The metric associated with the route type. The metric of a route influences how the FortiGate unit dynamically adds it to the routing table. The following are types of metrics and the protocols they are applied to. Hop count routes learned through RIP. Relative cost routes learned through OSPF. Multi-Exit Discriminator (MED) routes learned through BGP. However, several attributes in addition to MED determine the best path to a destination network. The IP addresses of gateways to the destination networks. The interface through which packets are forwarded to the gateway of the destination network. The total accumulated amount of time that a route learned through RIP, OSPF, or BGP has been reachable. Not displayed when IP version IPv6 is selected.
Subtype
Network Distance
Metric
260
Router Monitor
To search the FortiGate routing table 1 Go to Router > Monitor > Routing Monitor. 2 From the Type list, select the type of route to display. For example, select Connected to display all connected routes, or select RIP to display all routes learned through RIP. 3 If you want to display routes to a specific network, type the IP address and netmask of the network in the Networks field. 4 If you want to display routes to a specific gateway, type the IP address of the gateway in the Gateway field. 5 Select Apply Filter.
Note: All of the values that you specify as search criteria must match corresponding values in the same routing table entry in order for that entry to be displayed.
261
Router Monitor
262
Firewall Policy
Firewall Policy
Firewall policies control all traffic attempting to pass through the FortiGate unit, between FortiGate interfaces, zones, and VLAN subinterfaces. Firewall policies are instructions the FortiGate unit uses to decide connection acceptance and packet processing for traffic attempting to pass through. When the firewall receives a connection packet, it analyzes the packets source address, destination address, and service (by port number), and attempts to locate a firewall policy matching the packet. Firewall policies can contain many instructions for the FortiGate unit to follow when it receives matching packets. Some instructions are required, such as whether to drop or accept and process the packets, while other instructions, such as logging and authentication, are optional. Policy instructions may include network address translation (NAT), or port address translation (PAT), by using virtual IPs or IP pools to translate source and destination IP addresses and port numbers. For more information on using virtual IPs and IP pools, see Firewall Virtual IP on page 311. Policy instructions may also include applying profiles, which can specify application-layer inspection and other protocol-specific protection and logging. For more information on using profiles, see UTM on page 323. If you enable virtual domains (VDOMs) on the FortiGate unit, firewall policies are configured separately for each virtual domain, and you must first enter the virtual domain to configure its firewall policies. For more information, see Using virtual domains on page 73. The following topics are included in this section: How list order affects policy matching Multicast policies Viewing the firewall policy list Configuring firewall policies Configuring Central NAT Table Using DoS policies to detect and prevent attacks Using one-arm sniffer policies to detect network attacks How FortiOS selects unused NAT ports Firewall policy examples
263
Firewall Policy
source and destination interfaces source and destination firewall addresses services time/schedule.
If no policy matches, the connection is dropped. As a general rule, you should order the firewall policy list from most specific to most general because of the order in which policies are evaluated for a match, and because only the first matching firewall policy is applied to a connection. Subsequent possible matches are not considered or applied. Ordering policies from most specific to most general prevents policies that match a wide range of traffic from superseding and effectively masking policies that match exceptions. For example, you might have a general policy that allows all connections from the internal network to the Internet, but want to make an exception that blocks FTP. In this case, you would add a policy that denies FTP connections above the general policy. FTP connections would immediately match the deny policy, blocking the connection. Other kinds of services do not match the FTP policy, and so policy evaluation would continue until reaching the matching general policy. This policy order has the intended effect. But if you reversed the order of the two policies, positioning the general policy before the policy to block FTP, all connections, including FTP, would immediately match the general policy, and the policy to block FTP would never be applied. This policy order would not have the intended effect. Similarly, if specific traffic requires authentication, IPSec VPN, or SSL VPN, you would position those policies above other potential matches in the policy list. Otherwise, the other matching policies could always take precedence, and the required authentication, IPSec VPN, or SSL VPN might never occur. A default firewall policy may exist which accepts all connections. You can move, disable or delete it. If you move the default policy to the bottom of the firewall policy list and no other policy matches the packet, the connection will be accepted. If you disable or delete the default policy and no other policy matches the packet, the connection will be dropped.
264
Firewall Policy
Multicast policies
You can enable or disable policies from Firewall > Policy. In the row of the firewall policy you want to disable, select the check box in the Status column. That firewall policy is grayed and is now disabled. If you want to enable a disabled firewall policy, in the row of the firewall policy you want to enable, select the check box in the Status column. The firewall policy becomes available and is enabled.
Multicast policies
FortiGate units support multicast policies. You can configure and create multicast policies using the following CLI command: config firewall multicast-policy For more information, see the FortiOS CLI Reference and the FortiGate Multicast Technical Note.
Column Settings Customize the table view. You can select the columns to hide or display and specify the column displaying order in the table. For more information, see Using column settings to control the columns displayed on page 35 and on page 36. Section View Select to display firewall policies organized by source and destination interfaces. Note: Section View is not available if any policy selects Any as the source or destination interface. Select to list all firewall policies in order according to a sequence number. Edit the column filters to filter or sort the policy list according to the criteria you specify. For more information, see Adding filters to web-based manager lists on page 33. The policy identifier. Policies are numbered in the order they are added to the policy list.
ID
265
Firewall Policy
From To Source Destination Schedule Service Profile Action Status From To VPN Tunnel Authentication Comments Log Count
The source interface of the policy. Global view only. The destination interface of the policy. Global view only. The source address or address group to which the policy applies. For more information, see Firewall Address on page 293. The destination address or address group to which the policy applies. For more information, see Firewall Address on page 293. The schedule that controls when the policy should be active. For more information, see Firewall Schedule on page 307. The service to which the policy applies. For more information, see Firewall Service on page 299. The profile that is associated with the policy. The response to make when the policy matches a connection attempt. Select the check box to enable a policy or deselect it to disable a policy. See Enabling and disabling policies on page 264. The source interface. The destination interface. The VPN tunnel the VPN policy uses. The user authentication method the policy uses. Comments entered when creating or editing the policy. A green check mark indicates traffic logging is enabled for the policy; a grey cross mark indicates traffic logging is disabled for the policy. The FortiGate unit counts the number of packets and bytes that hit the firewall policy. For example, 5/50B means that five packets and 50 bytes in total have hit the policy. The counter is reset when the FortiGate unit is restarted or the policy is deleted and re-configured. Delete the policy from the list. Edit a policy. Add a new policy above the corresponding policy. Use this option to simplify policy ordering. See How list order affects policy matching on page 263. Move the corresponding policy before or after another policy in the list. For more information, see Moving a policy to a different position in the policy list on page 264.
266
Firewall Policy
If the initial packet matches the firewall policy, the FortiGate unit performs the configured Action and any other configured options on all packets in the session. Packet handling actions can be ACCEPT, DENY, IPSEC or SSL-VPN. ACCEPT policy actions permit communication sessions, and may optionally include other packet processing instructions, such as requiring authentication to use the policy, or specifying a protection profile to apply features such as virus scanning to packets in the session. An ACCEPT policy can also apply interface-mode IPSec VPN traffic if either the selected source or destination interface is an IPSec virtual interface. For more information, see IPsec VPN overview on page 411. DENY policy actions block communication sessions, and may optionally log the denied traffic. IPSEC and SSL-VPN policy actions apply a tunnel mode IPSec VPN or SSL VPN tunnel, respectively, and may optionally apply NAT and allow traffic for one or both directions. If permitted by the firewall encryption policy, a tunnel may be initiated automatically whenever a packet matching the policy arrives on the specified network interface, destined for the local private network. For more information, see Configuring IPSec firewall policies on page 273 and Configuring SSL VPN identity-based firewall policies on page 273.
To add or edit a firewall policy, go to Firewall > Policy > Policy. Select Create New to add a policy or select the edit icon beside an existing firewall policy. Configure the settings as described in the following table and in the references to specific features for IPSec, SSL VPN and other specialized settings, and then select OK. If you want to create a DoS policy, go to Firewall > Policy > DoS Policy, and configure the settings according to the following table. DoS policies are independent from firewall policies and are used to associate DoS sensors with traffic that reaches a FortiGate interface. DoS policies deliver packets to the IPS before they are accepted by firewall policies. This arrangement results in more effective protection from denial service attacks and other benefits. For more information, see Using DoS policies to detect and prevent attacks on page 276. If you want to create a Sniffer policy, go to Firewall > Policy > Sniffer Policy, and configure the settings according to the following table. For more information, see Using one-arm sniffer policies to detect network attacks on page 279. If you want to use IPv6 firewall addresses in your firewall policy, first go to System > Admin > Settings. Select IPv6 Support on GUI. Then go to Firewall > Policy > IPv6 Policy, and configure the settings according to the following table. Configuring IPv6 policies is the same as configuring IPv4 policies. You can add a profile to an IPv6 firewall policy and you can also configure shared traffic shaping and log allowed or denied traffic. You cannot create IPv6 firewall policies for IPSec or SSL VPN and you cannot add authentication to IPv6 policies. Firewall policy order affects policy matching. Each time that you create or edit a policy, make sure that you position it in the correct location in the list. You can create a new policy and position it right away before an existing one in the firewall policy list, by selecting Insert Policy before (see Viewing the firewall policy list on page 265).
Note: You can configure differentiated services (DSCP) firewall policy options through the CLI. For more information, see the firewall chapter of the FortiGate CLI Reference.
267
Firewall Policy
New Policy page Provides settings for configuring a new firewall policy. Source Interface/Zone Select the name of the FortiGate network interface, virtual domain (VDOM) link, or zone on which IP packets are received. Interfaces and zones are configured on the System Network page. For more information, see Configuring interfaces on page 89 and Configuring zones on page 107. If you select Any as the source interface, the policy matches all interfaces as source. If Action is set to IPSEC, the interface is associated with the local private network. If Action is set to SSL-VPN, the interface is associated with connections from remote SSL VPN clients.
Source Address Select the name of a firewall address to associate with the Source Interface/Zone. Only packets whose header contains an IP address matching the selected firewall address will be subject to this policy. You can also create firewall addresses by selecting Create New from this list. For more information, see Configuring addresses on page 295. If you want to associate multiple firewall addresses or address groups with the Source Interface/Zone, from Source Address, select Multiple. In the dialog box, move the firewall addresses or address groups from the Available Addresses section to the Members section, then select OK. If Action is set to IPSEC, the address is the private IP address of the host, server, or network behind the FortiGate unit. If Action is set to SSL-VPN and the policy is for web-only mode clients, select all. If Action is set to SSL-VPN and the policy is for tunnel mode clients, select the name of the address that you reserved for tunnel mode clients. Destination Interface/Zone Select the name of the FortiGate network interface, virtual domain (VDOM) link, or zone to which IP packets are forwarded. Interfaces and zones are configured on the System Network page. For more information, see Configuring interfaces on page 89 and Configuring zones on page 107. If you select Any as the destination interface, the policy matches all interfaces as destination. If Action is set to IPSEC, the interface is associated with the entrance to the VPN tunnel. If Action is set to SSL-VPN, the interface is associated with the local private network. Select the name of a firewall address to associate with the Destination Interface/Zone. Only packets whose header contains an IP address matching the selected firewall address will be subject to this policy. You can also create firewall addresses by selecting Create New from this list. For more information, see Configuring addresses on page 295. If you want to associate multiple firewall addresses or address groups with the Destination Interface/Zone, from Destination Address, select Multiple. In the dialog box, move the firewall addresses or address groups from the Available Addresses section to the Members section, then select OK. If you select a virtual IP, the FortiGate unit applies NAT or PAT. The applied translation varies by the settings specified in the virtual IP, and whether you select NAT (below). For more information on using virtual IPs, see Firewall Virtual IP on page 311. If Action is set to IPSEC, the address is the private IP address to which packets may be delivered at the remote end of the VPN tunnel. If Action is set to SSL-VPN, select the name of the IP address that corresponds to the host, server, or network that remote clients need to access behind the FortiGate unit. Select a one-time or recurring schedule or a schedule group that controls when the policy is in effect. You can also create schedules by selecting Create New from this list. For more information, see Firewall Schedule on page 307.
Destination Address
Schedule
268
Firewall Policy
Service
Select the name of a firewall service or service group that packets must match to trigger this policy. You can select from a wide range of predefined firewall services, or you can create a custom service or service group by selecting Create New from this list. For more information, see Configuring custom services on page 304 and Configuring custom service groups on page 304. By selecting the Multiple button beside Service, you can select multiple services or service groups. Select how you want the firewall to respond when a packet matches the conditions of the policy. The options available will vary widely depending on this selection. Accept traffic matched by the policy. You can configure NAT, protection profiles, log traffic, shape traffic, set authentication options, or add a comment to the policy. Reject traffic matched by the policy. The only other configurable policy options are Log Violation Traffic to log the connections denied by this policy and adding a Comment. You can configure an IPSec firewall encryption policy to process IPSec VPN packets, as well as configure protection profiles, log traffic, shape traffic or add a comment to the policy. See Configuring IPSec firewall policies on page 273. You can configure an SSL-VPN firewall encryption policy to accept SSL VPN traffic. This option is available only after you have added a SSL-VPN user group. You can also configure NAT and protection profiles, log traffic, shape traffic or add a comment to the policy. See Configuring SSL VPN identity-based firewall policies on page 273. Available only if Action is set to ACCEPT or SSL-VPN. Enable or disable Network Address Translation (NAT) of the source address and port of packets accepted by the policy. When NAT is enabled, you can also configure Dynamic IP Pool and Fixed Port. If you select a virtual IP as the Destination Address, but do not select the NAT option, the FortiGate unit performs destination NAT (DNAT) rather than full NAT. Source NAT (SNAT) is not performed.
Action
ACCEPT
DENY
IPSEC
SSL-VPN
NAT
Dynamic IP Pool Select the check box, then select an IP pool to translate the source address to an IP address randomly selected from addresses in the IP Pool. IP Pool cannot be selected if the destination interface, VLAN subinterface, or one of the interfaces or VLAN subinterfaces in the destination zone is configured using DHCP or PPPoE. For more information, see Configuring IP pools on page 325. Fixed Port Select Fixed Port to prevent NAT from translating the source port. Some applications do not function correctly if the source port is translated. In most cases, if Fixed Port is selected, Dynamic IP pool is also selected. If Dynamic IP pool is not selected, a policy with Fixed Port selected can allow only one connection to that service at a time. Note: Fixed Port is only visible if enabled from the CLI. Select to configure firewall policies that require authentication. For more information, see Adding authentication to firewall policies on page 270. This section also describes the Firewall, Directory Service (FSAE), NTLM Authentication, and Enable Disclaimer and Redirect URL to options. Select an UTM option to apply to the firewall policy. You must enable UTM before you can select the available UTM options. Select a protocol item from the drop-down list. The default protocol item is called default. The protocol item contains multiple settings, including NNTP and logging invalid certificates. Select Create New in the drop-down list to create a new protocol option list item. Select an antivirus profile from the drop-down list. Select Create New in the drop-down list to create a new antivirus profile. For more information about antivirus profiles, see AntiVirus on page 324. Select a web filtering profile from the drop-down list. Select Create New in the drop-down list to create a new web filtering profile. For more information about web filter profiles, see Web Filter on page 340.
Enable Identity Based Policy UTM Protocol options Enable Antivirus Enable Web Filter
269
Firewall Policy
Enable Email Filter Enable DLP Sensor Enable Application Control Enable VoIP
Select an email filter profile from the drop-down list. Select Create New in the drop-down list to create a new email filter profile. For more information about email filter profiles, see Email Filter on page 352. Select a DLP sensor from the drop-down list. Select Create New in the dropdown list to create a new DLP sensor. For more information about DLP sensors, see Data Leak Prevention on page 361. Select an application control black/white list from the drop-down list. Select Create New in the drop-down list to create a new application control black/white list. For more information about antivirus profiles, see Application Control on page 371. Select a VoIP profile from the drop-down list. Select Create New in the dropdown list to create a new VoIP profile. For more information about VoIP profiles, see VoIP on page 375. Select a shared traffic shaper for the policy. You can also create a new shared traffic shaper. Shared traffic shapers control the bandwidth available to and set the priority of the traffic as its processed by, the policy. For information about configuring shared traffic shapers, see Configuring shared traffic shapers on page 335. Select to enable reverse traffic shaping and select a shared traffic shaper. For example, if the traffic direction that a policy controls is from port1 to port2, select this option will also apply the policy shaping configuration to traffic from port2 to port1. For information about configuring shared traffic shapers, see Configuring shared traffic shapers on page 335. Select a Per-IP traffic shaper for the policy. Per-IP traffic shaping applies traffic shaping to the traffic generated from the IP addresses added to the Per-IP traffic shaper added to the firewall policy. For information about configuring per-IP traffic shapers, see Configuring Per IP traffic shaping on page 336. Select to record messages to the traffic log whenever the policy processes a connection. You must also enable traffic log for a logging location (syslog, WebTrends, local disk if available, memory, or FortiAnalyzer) and set the logging severity level to Notification or lower using the Log&Report menu. For more information, see Log&Report on page 485. Selected by default. When it is selected, NAT is not used for that firewall policy. Select to enable logging of NAT traffic. The Dynamic IP Pool option is then available. You must configure the dynamic IP pool before enabling this option. Select to enabling logging using the Central NAT table that you configured in the Central NAT Table menu. Available only when Enable NAT is selected.
Traffic Shaping
Enable Endpoint Select to enable the Endpoint NAC feature and select the Endpoint NAC profile to apply. For more information, see Endpoint on page 471. NAC You cannot enable Endpoint in firewall policies if Redirect HTTP Challenge to a Secure Channel (HTTPS) is enabled in User > Options > Authentication. If the firewall policy involves a load balancing virtual IP, the Endpoint check is not performed. Comments Add information about the policy. The maximum length is 63 characters.
270
Firewall Policy
The authentication style depends on which of these supported protocols you have included in the selected firewall services group and which of those enabled protocols the network user applies to trigger the authentication challenge. The authentication style will be one of two types. For certificate-based (HTTPS or HTTP redirected to HTTPS only) authentication, you must install customized certificates on the FortiGate unit and on the browsers of network users, which the FortiGate unit matches. For user name and password-based (HTTP, FTP, and Telnet) authentication, the FortiGate unit prompts network users to input their firewall user name and password. For example, if you want to require HTTPS certificate-based authentication before allowing SMTP and POP3 traffic, you must select a firewall service (in the firewall policy) that includes SMTP, POP3 and HTTPS services. Prior to using either POP3 or SMTP, the network user would send traffic using the HTTPS service, which the FortiGate unit would use to verify the network users certificate; upon successful certificate-based authentication, the network user would then be able to access his or her email. In most cases, you should ensure that users can use DNS through the FortiGate unit without authentication. If DNS is not available, users will not be able to use a domain name when using a supported authentication protocol to trigger the FortiGate units authentication challenge. Authentication requires that Action is ACCEPT or SSL-VPN, and that you first create users, assign them to a firewall user group, and assign a protection profile to that user group. For information on configuring user groups, see User Group on page 460. For information on configuring authentication settings, see Configuring identity-based firewall policies on page 271 and Configuring SSL VPN identity-based firewall policies on page 273.
Note: If you do not install certificates on the network users web browser, the network users may see an SSL certificate warning message and have to manually accept the default FortiGate certificate, which the network users web browsers may then deem as invalid. For information on installing certificates, see System Certificates on page 189. Note: When you use certificate authentication, if you do not specify any certificate when you create a firewall policy, the FortiGate unit will use the default certificate from the global settings will be used. If you specify a certificate, the per-policy setting will override the global setting. For information on global authentication settings, see Authentication on page 465.
271
Firewall Policy
Enable Identity Based Policy section of the New Policy page Select to enable identity-based policy authentication. When the Action is set to ACCEPT, you can select one or more authentication server types. When a network user attempts to authenticate, the server types selected indicate which local or remote authentication servers the FortiGate unit will consult to verify the users credentials. Add Rule ID User Group Service Schedule The selected user groups that must authenticate to be allowed to use this policy. The rules name or identification. The selected user groups that must authenticate to be allowed to use this policy. The firewall service or service group that packets must match to trigger this policy. The one-time or recurring schedule that controls when the policy is in effect. You can also create schedules by selecting Create New from this list. For more information, see Firewall Schedule on page 307. Indicates whether a UTM feature was selected for the policy. The traffic shaping configuration for this policy. For more information, see Firewall Policy on page 255. Indicates whether logging was selected for that policy. Select to remove this identity-based policy. Select to modify this identity-based policy. Select to change the position of this identity-based policy in the identity-based policy list. Include firewall user groups defined locally on the FortiGate unit, as well as on any connected LDAP and RADIUS servers. This option is selected by default. Include Directory Service groups defined in User > User Group. The groups are authenticated through a domain controller using Fortinet Server Authentication Extensions (FSAE). If you select this option, you must install the FSAE on the Directory Service domain controller. For information about FSAE, see the Fortinet Server Authentication Extension Administration Guide. For information about configuring user groups, see User Group on page 460. Include Directory Service groups defined in User > User Group. If you select this option, you must use Directory Service groups as the members of the authentication group for NTLM. For information about configuring user groups, see User Group on page 460. Certificate-based authentication only. Select the protection profile that guest accounts will use. Note: In order to implement certificate-based authentication, you must select a firewall service group that includes one of the supported authentication protocols that use certificate-based authentication. You should also install the certificate on the network users web browser. For more information, see Adding authentication to firewall policies on page 270.
UTM Traffic Shaping Logging Delete Edit Move To Firewall Directory Service (FSAE)
Enable Disclaimer Select this option to display the Authentication Disclaimer replacement and Redirect URL message HTML page after the user authenticates. The user must accept the disclaimer to connect to the destination. For information about customizing to user authentication replacement messages, see User authentication replacement messages on page 158. You can also optionally enter an IP address or domain name to redirect user HTTP requests after accepting the authentication disclaimer. The redirect URL could be to a web page with extra information (for example, terms of usage). .To prevent web browser security warnings, this should match the CN field of the specified auth-cert, which is usually a fully qualified domain name (FQDN).
To create an identity-based firewall policy (non-SSL-VPN) 1 Go to Firewall > Policy > Policy and select Create New.
272
Firewall Policy
2 Configure Source Interface/Zone, Source Address, Destination Interface/Zone, Destination Address, Schedule, and Service. For more information, see Configuring firewall policies on page 266. 3 In the Action field, select ACCEPT. 4 Select Enable Identity Based Policy to be able to add identity-based policies. 5 Select Add. 6 From the Available User Groups list, select one or more user groups that must authenticate to be allowed to use this policy. Select the right arrow to move the selected user groups to the Selected User Groups list. 7 Select services in the Available Services list and then select the right arrow to move them to the Selected Services list. 8 Select a Schedule. 9 Optionally select one or more UTM option. 10 Optionally, select Traffic Shaping and choose a traffic shaper. 11 If you selected Traffic Shaping, select Reverse Direction Traffic Shaping and choose a traffic shaper. 12 Select OK.
Note: For a route-based (interface mode) VPN, you do not configure an IPSec firewall policy. Instead, you configure two regular ACCEPT firewall policies, one for each direction of communication, with the IPSec virtual interface as the source or destination interface as appropriate.
273
Firewall Policy
For more information, see Configuring firewall policies on page 266. To create an SSL-VPN identity-based firewall policy, go to Firewall > Policy > Policy, select Create New, and then enter the information in the following table. Select Action > SSL VPN.
Note: The SSL-VPN option is only available from the Action list after you have added SSL VPN user groups. To add SSL VPN user groups, see SSL VPN user groups on page 462.
SSL-VPN settings on the New Policy page Source Interface/Zone Source Address Select the name of the FortiGate network interface, virtual domain (VDOM) link, or zone on which IP packets are received. Select the name of a firewall address to associate with the Source Interface/Zone. Only packets whose header contains an IP address matching the selected firewall address will be subject to this policy. You can also create firewall addresses by selecting Create New from this list. For more information, see Configuring addresses on page 295. If Action is set to SSL-VPN and the policy is for web-only mode clients, select all. If Action is set to SSL-VPN and the policy is for tunnel mode clients, select the name of the address that you reserved for tunnel mode clients.
Destination Interface/Zone Select the name of the FortiGate network interface, virtual domain (VDOM) link, or zone to which IP packets are forwarded. If Action is set to SSL-VPN, the interface is associated with the local private network. Destination Address Select the name of a firewall address to associate with the Destination Interface/Zone. Only packets whose header contains an IP address matching the selected firewall address will be subject to this policy. You can also create firewall addresses by selecting Create New from this list. For more information, see Configuring addresses on page 295. If you want to associate multiple firewall addresses or address groups with the Destination Interface/Zone, from Destination Address, select Multiple. In the dialog box, move the firewall addresses or address groups from the Available Addresses section to the Members section, then select OK. If you select a virtual IP, the FortiGate unit applies NAT or PAT. The applied translation varies by the settings specified in the virtual IP, and whether you select NAT (below). For more information on using virtual IPs, see Firewall Virtual IP on page 311. If Action is set to IPSEC, the address is the private IP address to which packets may be delivered at the remote end of the VPN tunnel. If Action is set to SSL-VPN, select the name of the IP address that corresponds to the host, server, or network that remote clients need to access behind the FortiGate unit. Select SSL-VPN to configure the firewall encryption policy to accept SSL VPN traffic. This option is available only after you have added a SSL-VPN user group. Allow traffic generated by holders of a (shared) group certificate. The holders of the group certificate must be members of an SSL VPN user group, and the name of that user group must be present in the Allowed field. Select the bit level of SSL encryption. The web browser on the remote client must be capable of matching the level that you select: Any, High >= 164, or Medium >= 128.
Action
274
Firewall Policy
Select the authentication server type by which the user will be authenticated: Any For all the above authentication methods. Local is attempted first, then RADIUS, and then LDAP. Local For a local user group that will be bound to this firewall policy. RAIDUS For remote clients that will be authenticated by an external LDAP server. LDAP For remote clients that will be authenticated by an external LDAP server. TACACS+ For remote clients that will be authenticated by an external TACACS+ server. Selected by default. When it is selected, NAT is not used for that firewall policy. Select to enable dynamic IP pools. Enable or disable Network Address Translation (NAT) of the source address and port of packets accepted by the policy. When NAT is enabled, you can also configure Dynamic IP Pool and Fixed Port. If you select a virtual IP as the Destination Address, but do not select the NAT option, the FortiGate unit performs destination NAT (DNAT) rather than full NAT. Source NAT (SNAT) is not performed. Tip: If you select NAT, the IP address of the outgoing interface of the FortiGate unit is used as the source address for new sessions started by SSL VPN. Select to use the NAT rules configured in the Central NAT Table menu. The FortiGate unit will lookup this table and find out how to translate the packet. Select to enable identity-based policy authentication. When the Action is set to ACCEPT, you can select one or more authentication server types. When a network user attempts to authenticate, the server types selected indicate which local or remote authentication servers the FortiGate unit will consult to verify the users credentials. For more information, see Configuring identity-based firewall policies on page 271. Add information about the policy. The maximum length is 63 characters.
Comments
275
Firewall Policy
New NAT page Provides settings for configuring a NAT rule. Source Address Select the source IP address from the drop-down list. You can optionally create a group of source IP addresses when you select Multiple in the drop-down list. You can also create a new source IP address when you select Create New in the drop-down list. Select the dynamic IP pool from the drop-down list. Enter the port that the address is originating from. Enter the translated port number. The number in the From field must be greater than the lower port number that is entered in the To field.
276
Firewall Policy
Select to display firewall policies organized by interface. Select to list all firewall policies in order according to a sequence number. Edit the column filters to filter or sort the policy list according to the criteria you specify. For more information, see Adding filters to web-based manager lists on page 33. A unique identifier for each policy. Policies are numbered in the order they are created. The source address or address group to which the policy applies. For more information, see Firewall Address on page 293. The destination address or address group to which the policy applies. For more information, see Firewall Address on page 293. The service to which the policy applies. For more information, see Firewall Service on page 299. The DoS sensor selected in this policy. The interface to which this policy applies. When selected, the DoS policy is enabled. Clear the check box to disable the policy. See Enabling and disabling policies on page 264. Delete the policy from the list. Edit the policy. Add a new policy above the corresponding policy (the New Policy screen appears). Move the corresponding policy before or after another policy in the list.
ID Source Destination Service DoS Interface Status Delete Edit Insert Move
Destination Address
277
Firewall Policy
Service
Select a firewall pre-defined service or a custom service to limit traffic monitoring to only the selected service or services. You can also select Create new to add a custom service. Select and specify a DoS sensor to have the FortiGate unit apply the sensor to matching network traffic. You can also select Create new to add a new DoS Sensor. See DoS sensors on page 542.
DoS Sensor
Protocol Options Settings page Provides settings for configuring options for each protocol which make up a protocol group. Name Comments Enter a name for the protocol group. Enter a description about the protocol group. This is optional.
Enable Oversized File Log Select to allow logging of oversized files. Enable Invalid Certificate Select to allow logging of invalid certificates. Log HTTP section Comfort Clients Configure settings for the HTTP protocol This is available only for HTTP, FTP, and HTTPS. Interval (1-900 seconds) enter the interval time in seconds. Amount (1-10240 bytes) enter the amount in btyes. This is available for all protocols. Threshold enter the threshold amount for an oversized email message or file in MB. Select to view the activity of the protocol from the Dashboard menu. Port (i.e. 80,88, 0-auto) This is available for every protocol except for IM.
Oversized File/Email
Monitor Content Information for Dashboard Enable Chunked Bypass FTP section
Select to enable the chunked bypass setting. Configure settings for the file transfer protocol. FTP and HTTP contain the same settings, except the FTP section does not contain the option Enable Chunked Bypass. Configure settings for the IMAP protocol.
IMAP section
278
Firewall Policy
Allow Fragmented Messages POP3 section SMTP section Append Email Signature Email Signature Text IM section NNTP section HTTPS section Allow Invalid SSL Certificate IMAPS POP3S SMTPS Configure settings for the POP3 protocol. This section contains the same settings as are in the IMAP section. Configure settings for the SMTP section. Select to enable the option of entering a new email signature that appears in the email message. Enter a signature for the email message, for example, Yours sincerely. Accessible only when Append Email Signature is selected. Configure settings for the IM protocol. Configure settings for the NTTP protocol. Configure settings for the HTTPS protocol. Select to allow invalid SSL certificates.
Enable Deep Scanning Select to allow deep scanning. Configure settings for the IMAPS protocol. Configure settings for the POP3S protocol. This section contains the same settings as IMAPS. Configure settings for the SMTPS protocol. This section contains the same settings as IMAPS and POP3S.
279
Firewall Policy
Internet
Hub or switch
SPAN port
Internal network
After you have configured the interface for one-arm sniffer mode, connect the interface to a hub or to the SPAN port of a switch that is processing network traffic. Then you can go to Firewall > Policy > Sniffer Policy and add Sniffer policies for that FortiGate interface that include a DoS sensor, an IPS sensors, and an Application black/white list to detect attacks and other activity in the traffic that the FortiGate interface receives from the hub or Switched Port Analyzer (SPAN) port. In one-arm sniffer mode, the interface only receives packets accepted by sniffer mode policies. All packets not received by sniffer mode policies are dropped. All packets received by sniffer mode policies go through IPS inspection and are dropped after they are analyzed by IPS. One-arm IDS cannot block traffic. However, if you enable logging in the DoS and IPS sensors and the application black/white lists, the FortiGate unit records log messages for all detected attacks and applications. This topic provides an introduction to configuring sniffer policies. For more information, see the FortiGate UTM User Guide.
280
Firewall Policy
Sniffer Policy page Lists each individual sniffer policy that you created. On this page, you can edit, delete and create a new sniffer policy. You can also move a policy or insert a new policy on the page. Create New Column Settings Add new a sniffer policy. Select the down arrow beside Create New to add a new section to the list to visually group the policies. Customize the table view. You can select the columns to hide or display and specify the column displaying order in the table. See Using column settings to control the columns displayed on page 35. Select to display firewall policies organized by interface. Select to list all firewall policies in order according to a sequence number. Edit column filters to filter or sort the policy list according to the criteria you specify. For more information, see Adding filters to web-based manager lists on page 33. A unique identifier for each policy. Policies are numbered in the order they are created. The source address or address group to which the policy applies. For more information, see Firewall Address on page 293. The destination address or address group to which the policy applies. For more information, see Firewall Address on page 293. The service to which the policy applies. For more information, see Firewall Service on page 299. The DoS sensor selected in this policy. The IPS sensor selected in this policy. The Application Black/White List selected in this policy. When selected, the DoS policy is enabled. Clear the check box to disable the policy. See Enabling and disabling policies on page 264. Delete the policy from the list. Edit the policy. Add a new policy above the corresponding policy (the New Policy screen appears). Move the corresponding policy before or after another policy in the list.
ID Source Destination Service DoS Sensor Application Black/White List Status Delete Edit Insert Policy Before Move To
281
Firewall Policy
Destination Address
Select an address, address range, or address group to limit traffic monitoring to network traffic sent to the specified address or range. Select Multiple to include multiple addresses or ranges. You can also select Create New to add a new address or address group. Select a firewall pre-defined service or a custom service to limit traffic monitoring to only the selected service or services. You can also select Create new to add a custom service. Select and specify a DoS sensor to have the FortiGate unit apply the sensor to matching network traffic. You can also select Create new to add a new DoS Sensor. See DoS sensors on page 542. Select and specify an IPS sensor to have the FortiGate unit apply the sensor to matching network traffic. You can also select Create new to add a new IPS Sensor. See IPS sensors on page 535. Select and specify an Application Black/White List sensor to have the FortiGate unit apply the application control black/white list to matching network traffic. You can also select Create new to add a new Application Black/White List. See Creating a new application control black/white list on page 605.
Service
DoS Sensor
IPS Sensor
Student A
Student Z
The university does not give a publicly routable IP address to its students. Instead each student uses DHCP to obtain an IP address from the 10.0.0.0/8 range from the FortiGate unit. The FortiGate unit then uses Network Address Port Translation (NAPT) to translate all traffic so that it appears to come from IP address 192.168.1.1. For example, consider student A (IP address 10.78.33.97) who wants to connect to search engine (IP address 172.20.120.2) and sends a packet with the following IP addresses and port numbers:
282
Firewall Policy
src-ip: 10.78.33.97 dst-ip: 172.20.120.2 src-port: 10000 dst-port: 80 When this packet passes through the FortiGate unit with NAT enabled the packet is modified to be: src-ip: 92.168.1.1 dst-ip: 172.20.120.2 src-port: 46372 dst-port: 80 Where 192.168.1.1 is the external IP address of the FortiGate unit and 46372 is an unused port chosen by the FortiGate unit. The following sections describe three solutions to choosing the unused port. These solutions provide some context for the last section which describes how FortiOS chooses an unused port.
Global pool
In this approach there is a single pool of ports which are available for assignment. When a port is assigned it is removed from the pool. Because the port is removed from the pool, it is not possible to assign the same port twice. Once a port is no longer needed for NAT it is returned to the pool so that it can be assigned again. For example if the range is from 0x7000 (28672) to 0xF000 (61440) then there 215 (32768) possible ports that can be simultaneously used (the reason for choosing this range is described below). The maximum number of simultaneous connections is 32768. This maximum is independent of transport protocol. This approach was one of the first approaches used to choosing a NAT port because it is simple to implement. It is viable if the number of connections is unlikely to reach the pool size, for example in the case of a NAT firewall for home use. However, it is not really a viable solution for a large university or ISP that would usually be processing thousands of simultaneous sessions. This is not the approach that FortiOS uses.
283
Firewall Policy
Figure 8: Example university Internet connection topology with two Internet connections
Student Network 10.0.0.0/8 Video Sharing 172.20.120.1
Student A
Student B
Student Z
If the FortiGate configuration includes equal-cost multipath (ECMP) routing, both Internet connections can be used simultaneously and the maximum number of connections is N*R*P where N is the number of NAT IP addresses, R is the port range, and P is the number of protocols. So for the case where there are two NAT IPs, the range is 32768 and the protocols are TCP and UDP then the maximum number of simultaneous connections is: 2*32768*2 = 131,072 This solution scales with the number of NAT IPs that can be deployed and so could feasibly be used by a university or a small ISP. This is not the approach that FortiOS uses.
284
Firewall Policy
src-ip: 172.20.120.2 dst-ip: 192.168.1.1 proto: tcp src-port: 80 dst-port: 46372 Where 46372 is the chosen NAT port. In both cases when traffic matches either of these indexes the session that the traffic belongs to can be uniquely identified. Using a per NAT IP, destination IP, port, and protocol pool, when choosing the NAT port FortiOS only has to ensure that the chosen port combined with the other four attributes are unique to uniquely identify the session. So for example, if student A simultaneously makes a connection to the search engine (destination IP address 172.20.120.2) on port 443 this would create another session and the index in the reply direction would be: src-ip: 172.20.120.2 dst-ip: 192.168.1.1 proto: tcp src-port: 443 dst-port: NP The value of NP can be any value as long as the five values together are unique. For example, FortiOS could choose 46372 again: src-ip: 172.20.120.2 dst-ip: 192.168.1.1 proto: tcp src-port: 443 dst-port: 46372 This is acceptable because: src-ip: 172.20.120.2 dst-ip: 192.168.1.1 proto: tcp src-port: 80 dst-port: 46372 and src-ip: 172.20.120.2 dst-ip: 192.168.1.1 proto: tcp src-port: 443 dst-port: 46372 have different src-port values. The result of using the per NAT IP, destination IP, port, and protocol pool approach is that a pool of 32768 ports are available for each unique combination of src-ip, dst-ip, proto and src-port. The maximum number of simultaneous connections that can be supported is N*R*P*D*Dp where N is the number of NAT IP addresses, R is the port range, P is the number of protocols, D is the number of unique destination IP addresses and Dp the number of unique destination ports. Considering the large number of destination IP addresses available, the number of simultaneous connections that can be supported is very large. To get an idea of how large, for one destination IP address and one NAT IP address the calculation would be N=1, R=32, 768, P=2, D=1 and Dp=32,768: 1 * 32,768 * 2 * 1 * 32,768 = 2,147,483,648.
285
Firewall Policy
A problem with this calculation is that not all 32,768 possible destination ports are used. In fact for many organizations, must Internet traffic is web traffic using destination port 80 and all using the TCP protocol. So the pool size limit for web traffic to one destination IP address from one NAT IP address using the TCP protocol would be N=1, R=32, 768, P=1, D=1 and Dp=1: 1* 32,768 * 1 * 1 * 1 = 32,768 Using the topology in Figure 7 on page 282, for students simultaneously connecting to the search engine, the social networking and the video sharing sites on TCP port 80 then assuming each site uses one IP address a maximum of 32,768 simultaneous connections are allowed to each site or 32,768 * 3 = 98,304 connections in total. Many large public web sites may use round-robin DNS to rotate through at least four IP addresses. If the search engine and the video sharing site did this with an even balance of IP usage the result would be a maximum of 4 * 32,768 = 131,072 connections to the search engine, 131,072 connections to the video sharing site and 32,768 connections to the social networking site for a total of 294,912 different connections supported by the single FortiGate unit with one NAT IP and for a total of 9 destination IP addresses and one destination port.
286
Firewall Policy
Internet
192.168.100.1
Finance Department
Help Desk
Engineering Department
Internal Network
Company A requires secure connections for home-based workers. Like many companies, they rely heavily on email and Internet access to conduct business. They want a comprehensive security solution to detect and prevent network attacks, block viruses, and decrease spam. They want to apply different protection settings for different departments. They also want to integrate web and email servers into the security solution. To deal with their first requirement, Company A configures specific policies for each homebased worker to ensure secure communication between the home-based worker and the internal network. 1 Go to Firewall > Policy. 2 Select Create New and enter or select the following settings for Home_User_1:
Interface / Zone Address Schedule Service Action VPN Tunnel Allow Inbound Allow outbound Inbound NAT Outbound NAT Protection Profile Source: internal Source: CompanyA_Network Always ANY IPSEC Home1 yes yes yes no Select the check mark and select standard_profile Destination: wan1 Destination: Home_User_1
287
Firewall Policy
3 Select OK. 4 Select Create New and enter or select the following settings for Home_User_2:
Interface / Zone Address Schedule Service Action VPN Tunnel Allow Inbound Allow outbound Inbound NAT Outbound NAT Protection Profile Source: internal Source: CompanyA_network Always ANY IPSEC Home2_Tunnel yes yes yes no Select the check mark and select standard_profile Destination: wan1 Destination: All
5 Select OK.
Figure 10: SOHO network topology with FortiGate-100
VPN Tunnel
Internet
VPN Tunnel
External 172.30.120.8
DMZ 10.10.10.1
Internal 192.168.100.1
Web Server 10.10.10.3
The proposed network is based around a FortiGate 100A unit. The 15 internal computers are behind the FortiGate unit. They now access the email and web servers in a DMZ, which is also behind the FortiGate unit. All home-based employees now access the office network through the FortiGate unit via VPN tunnels.
288
Firewall Policy
(non-Fortinet) Firewall
Internet
(non-Fortinet) Firewall
Web Server
Catalog access terminals Main branch staff and administration Public terminals
The library must be able to set different access levels for patrons and staff members. The first firewall policy for main office staff members allows full access to the Internet at all times. A second policy will allow direct access to the DMZ for staff members. A second pair of policies is required to allow branch staff members the same access. The staff firewall policies will all use a protection profile configured specifically for staff access. Enabled features include virus scanning, email filtering, IPS, and blocking of all P2P traffic. FortiGuard web filtering is also used to block advertising, malware, and spyware sites. A few users may need special web and catalog server access to update information on those servers, depending on how they are configured. Special access can be allowed based on IP address or user.
289
Firewall Policy
The proposed topography has the main branch staff and the catalog access terminals going through a FortiGate HA cluster to the servers in a DMZ. The public access terminals first go through a FortiWiFi unit, where additional policies can be applied, to the HA Cluster and finally to the servers. The branch office has all three users routed through a FortiWiFi unit to the main branch via VPN tunnels.
Figure 12: Proposed library system network topology
Branch Staff
VPN Tunnel
WAN1
Internet
VPN Tunnel
Ethernet
Internal
Public terminals and WiFi access Main branch staff and administration Catalog access terminals
Policies are configured in Firewall > Policy. Profiles are configured in the UTM menu, for example, the antivirus profiles is configured in UTM > Antivirus > Profile. Main office staff to Internet policy:
Source Interface Source Address Destination Interface Destination Address Schedule Action Internal All External All Always Accept
290
Firewall Policy
Source Interface Source Address Destination Interface Destination Address Schedule Action
For more information about these examples, see: SOHO and SMB Configuration Example Guide FortiGate Enterprise Configuration Example
291
Firewall Policy
292
Firewall Address
Firewall Address
Firewall addresses and address groups define network addresses that you can use when configuring firewall policies source and destination address fields. The FortiGate unit compares the IP addresses contained in packet headers with firewall policy source and destination addresses to determine if the firewall policy matches the traffic. You can add IPv4 addresses and address ranges, IPv6 addresses, and fully qualified domain names (FQDNs). You can organize related addresses into address groups and related IPv6 addresses into IPv6 address groups to simplify your firewall policy lists. If you enable virtual domains (VDOMs) on the FortiGate unit, firewall addresses are configured separately for each virtual domain, and you must first enter the virtual domain to configure its firewall addresses. For more information, see Using virtual domains on page 73. The following topics are included in this section: About firewall addresses About IPv6 firewall addresses Viewing the firewall address list Configuring addresses Viewing the address group list Configuring address groups
This section describes the options for adding firewall addresses. These are IPv4 addresses, address ranges, or fully qualified domain names (FQDNs). You can also add IPv6 addresses. See About IPv6 firewall addresses on page 294. A firewall address can contain one or more network addresses. Network addresses can be represented by an IP address with a netmask, an IP address range, or a fully qualified domain name (FQDN). When representing hosts by an IP address with a netmask, the IP address can represent one or more hosts. For example, a firewall address can be: a single computer, such as 192.45.46.45 a subnetwork, such as 192.168.1.0 for a class C subnet 0.0.0.0, which matches any IP address
The netmask corresponds to the subnet class of the address being added, and can be represented in either dotted decimal or CIDR format. The FortiGate unit automatically converts CIDR formatted netmasks to dotted decimal format. Example formats:
293
Firewall Address
netmask for a single computer: 255.255.255.255, or /32 netmask for a class A subnet: 255.0.0.0, or /8 netmask for a class B subnet: 255.255.0.0, or /16 netmask for a class C subnet: 255.255.255.0, or /24 netmask including all IP addresses: 0.0.0.0 x.x.x.x/x.x.x.x, such as 192.168.1.0/255.255.255.0 x.x.x.x/x, such as 192.168.1.0/24
Note: An IP address 0.0.0.0 with netmask 255.255.255.255 is not a valid firewall address.
When representing hosts by an IP Range, the range indicates hosts with continuous IP addresses in a subnet, such as 192.168.1.[2-10], or 192.168.1.* to indicate the complete range of hosts on that subnet. Valid IP Range formats include: x.x.x.x-x.x.x.x, such as 192.168.110.100-192.168.110.120 x.x.x.[x-x], such as 192.168.110.[100-120] x.x.x.*, such as 192.168.110.*
When representing hosts by a FQDN, the domain name can be a subdomain, such as mail.example.com. A single FQDN firewall address may be used to apply a firewall policy to multiple hosts, as in load balancing and high availability (HA) configurations. FortiGate units automatically resolve and maintain a record of all addresses to which the FQDN resolves. Valid FQDN formats include: <host_name>.<second_level_domain_name>.<top_level_domain_name>, such as mail.example.com <host_name>.<top_level_domain_name>
Using FQDN addresses in firewall policies has the advantage of causing the FortiGate unit to keep track of DNS TTLs and adapt as records change. This feature can reduce maintenance requirements for changing firewall addresses for dynamic IP addresses. This also means that you can create firewall policies for networks configured with dynamic addresses using DHCP.
294
Firewall Address
Configuring addresses
Caution: Be cautious when FQDN firewall addresses. Using a fully qualified domain name in a firewall policy, while convenient, does present some security risks, because policy matching then relies on a trusted DNS server. Should the DNS server be compromised, firewall policies requiring domain name resolution may no longer function properly.
To add a firewall address go to Firewall > Address > Address and select Create New. You can add a static IP address, an IP address range, or a FQDN. If IPv6 Support is enabled, to add an IPv6 firewall address, go to Firewall > Address > Address, select the down arrow beside Create New, and then select IPv6 Address.
Tip: You can also add firewall addresses when configuring a firewall policy: Go to Firewall > Policy > Policy , select the appropriate policy tab, and then select Create New. From the Source Address list, select Address > Create New. New Address page Provides settings for configuring an IP address group, which is made up of an IP address range. Address Name Type Subnet / IP Range Enter a name to identify the firewall address. Addresses, address groups, and virtual IPs must have unique names. Select the type of address: Subnet/IP Range or FQDN. You can enter either an IP range or an IP address with subnet mask. Enter the firewall IP address, followed by a forward slash (/), then subnet mask, or enter an IP address range separated by a hyphen. See About firewall addresses on page 293.
295
Firewall Address
Interface
Select the interface, zone, or virtual domain (VDOM) link to which you want to bind the IP address. Select Any if you want to bind the IP address with the interface/zone when you create a firewall policy. Enter the firewall IPv6 address, followed by a forward slash (/), then subnet mask. See About IPv6 firewall addresses on page 294.
IPv6 Address
296
Firewall Address
New Address Group page Provides settings for defining the IP address that will be members of the IP address group. Group Name Available Addresses Enter a name to identify the address group. Addresses, address groups, and virtual IPs must have unique names. The list of all IPv4 or IPv6 firewall addresses. Use the arrows to move selected addresses between the lists of available and member addresses. You cannot add IPv4 and IPv6 firewall addresses to the same address group. If you are adding an IPv4 firewall address group only the IPv4 addresses and FQDN addresses appear. If you are added an IPv6 firewall address group, only the IPv6 addresses appear. The list of addresses included in the address group. Use the arrows to move selected addresses between the lists of available and member addresses.
Members
297
Firewall Address
298
Firewall Service
Firewall Service
Firewall services define one or more protocols and port numbers associated with each service. Firewall policies use service definitions to match session types. You can organize related services into service groups to simplify your firewall policy list. If you enable virtual domains (VDOMs) on the FortiGate unit, you must configure firewall services separately for each virtual domain. For more information, see Using virtual domains on page 73. The following topics are included in this section: Viewing the predefined service list Configuring custom services Configuring custom service groups
Table 47: Predefined services Service name AFS3 AH Description IP Protocol Port 7000-7009 7000-7009 51
Advanced File Security Encrypted File, version 3, of TCP the AFS distributed file system protocol. UDP Authentication Header. AH provides source host authentication and data integrity, but not secrecy. This protocol is used for authentication by IPSec remote gateways set to aggressive mode. Matches connections using any protocol over IP. America Online Instant Message protocol. Border Gateway Protocol. BGP is an interior/exterior routing protocol. Concurrent Versions System Proxy Server.CSSPServer is very good for providing anonymous CVS access to a repository. all TCP TCP TCP UDP
299
Firewall Service
Table 47: Predefined services (Continued) Service name DCE-RPC Description Distributed Computing Environment / Remote Procedure Calls. Applications using DCE-RPC can call procedures from another application without having to know on which host the other application is running. Dynamic Host Configuration Protocol. DHCP allocates network addresses and delivers configuration parameters from DHCP servers to hosts. Dynamic Host Configuration Protocol for IPv6. Domain Name Service. DNS resolves domain names into IP addresses. Encapsulating Security Payload. ESP is used by manual key and AutoIKE IPSec VPN tunnels for communicating encrypted data. AutoIKE VPN tunnels use ESP after establishing the tunnel by IKE. A network service providing information about users. File Transfer Protocol. File Transfer Protocol. FTP GET sessions transfer remote files from an FTP server to an FTP client computer. File Transfer Protocol. FTP PUT sessions transfer local files from an FTP client to an FTP server. Gopher organizes and displays Internet server contents as a hierarchically structured list of files. Generic Routing Encapsulation. GRE allows an arbitrary network protocol to be transmitted over any other arbitrary network protocol, by encapsulating the packets of the protocol within GRE packets. H.323 multimedia protocol. H.323 is a standard TCP approved by the International Telecommunication Union (ITU) defining how audiovisual conferencing UDP data can be transmitted across networks. For more information, see the FortiGate Support for H.323 Technical Note. Hypertext Transfer Protocol. HTTP is used to browse web pages on the World Wide Web. HTTP with secure socket layer (SSL). HTTPS is used for secure communication with web servers. Internet Control Message Protocol. ICMP allows control messages and error reporting between a host and gateway (Internet). Internet Key Exchange. IKE obtains authenticated keying material for use with the Internet Security Association and Key Management Protocol (ISAKMP) for IPSEC. TCP TCP ICMP TCP TCP TCP IP Protocol Port TCP UDP 135 135
DHCP
UDP
67 68 546, 547 53 53 50
79 21 21
TCP TCP
21 70 47
H323
80 443 Any
IKE
UDP
500, 4500
IMAP
Internet Message Access Protocol. IMAP is used by TCP email clients to retrieves email messages from email servers.
143
300
Firewall Service
Table 47: Predefined services (Continued) Service name IMAPS Description IMAP with SSL. IMAPS is used for secure IMAP communication between email clients and servers. IMAPS is only available on FortiGate units that support SSL content scanning and inspection. For more information, see the UTM chapter of the FortiOS Handbook. IP Protocol Port TCP 993
INFO_ADDRESS ICMP information request messages. INFO_REQUEST ICMP address mask request messages. IRC Internet Relay Chat. IRC allows users to join chat channels.
InternetInternet Locator Service. ILS includes LDAP, User Locator-Service Locator Service, and LDAP over TLS/SSL. L2TP LDAP MGCP Layer 2 Tunneling Protocol. L2TP is a PPP-based tunnel protocol for remote access. Lightweight Directory Access Protocol. LDAP is used to access information directories.
Media Gateway Control Protocol. MGCP is used by UDP call agents and media gateways in distributed Voice over IP (VoIP) systems. Microsoft SQL Server is a relational database TCP management system (RDBMS) produced by Microsoft. Its primary query languages are MS-SQL and T-SQL. MySQL is a relational database management system (RDBMS) which runs as a server providing multi-user access to a number of databases. Network File System. NFS allows network users to mount shared files. TCP
MS-SQL
1433, 1434
MYSQL
3306
TCP UDP
111, 2049 111, 2049 119 123 123 1720 111 111 89
Network News Transport Protocol. NNTP is used to TCP post, distribute, and retrieve Usenet messages. Network Time Protocol. NTP synchronizes a hosts time with a time server. NetMeeting allows users to teleconference using the Internet as the transmission medium. Open Network Computing Remote Procedure Call. ONC-RPC is a widely deployed remote procedure call system. Open Shortest Path First. OSPF is a common link state routing protocol. PC-Anywhere is a remote control and file transfer protocol. Ping sends ICMP echo request/replies to test connectivity to other hosts. Ping6 sends ICMPv6 echo request/replies to network hosts to test IPv6 connectivity to other hosts. Post Office Protocol v3. POP retrieves email messages. TCP TCP UDP ICMP TCP UDP TCP TCP UDP
5631 5632 8 58
POP3
110
301
Firewall Service
Table 47: Predefined services (Continued) Service name POP3S Description Post Office Protocol v3 with secure socket layer (SSL). POP3S is used for secure retrieval of email messages. POP3S is only available on FortiGate units that support SSL content scanning and inspection. For more information, see the UTM chapter of the FortiOS Handbook. Point-to-Point Tunneling Protocol. PPTP is used to tunnel connections between private network hosts over the Internet. Note: Also requires IP protocol 47. Quake multi-player computer game traffic. IP Protocol Port TCP 995
PPTP
QUAKE
RADIUS
Remote Authentication Dial In User Service. RADIUS is a networking protocol that provides centralized access, authorization and accounting management for people or computers to connect and use a network service. RealAudio multimedia traffic. Remote Desktop Protocol is a multi-channel protocol that allows a user to connect to a networked computer. Rexec traffic allows specified commands to be executed on a remote host running the rexecd service (daemon). Routing Information Protocol. RIP is a common distance vector routing protocol. This service matches RIP v1. Remote login traffic. Remote Shell traffic allows specified commands to be executed on a remote host running the rshd service (daemon).
TCP
RAUDIO RDP
UDP TCP
7070 3389
REXEC
TCP
512
RIP
UDP
520
RLOGIN RSH
TCP TCP
513 514
RTSP
Real Time Streaming Protocol is a protocol for use TCP in streaming media systems which allows a client to remotely control a streaming media server, issuing VCR-like commands such as play and pause, and UDP allowing time-based access to files on a server. Server Message Block. SMB allows clients to use file and print shares from enabled hosts. This is primarily used for Microsoft Windows hosts, but may be used with operating systems running the Samba daemon. TCP
SAMBA
SCCP
Skinny Client Control Protocol. SCCP is a Cisco TCP proprietary standard for terminal control for use with voice over IP (VoIP). Session Initiation Protocol. SIP allows audiovisual conferencing data to be transmitted across networks. For more information, see the FortiGate SIP Support Technical Note. Session Initiation Protocol used by Microsoft Messenger to initiate an interactive, possibly multimedia session. UDP
2000
SIP
5060
SIPMSNmessenger SMTP
TCP
1863
Simple Mail Transfer Protocol. SMTP is used for TCP sending email messages between email clients and email servers, and between email servers.
25
302
Firewall Service
Table 47: Predefined services (Continued) Service name SMTPS Description IP Protocol Port 465
SMTP with SSL. Used for sending email messages TCP between email clients and email servers, and between email servers securely. SMTPS is only available on FortiGate units that support SSL content scanning and inspection. For more information, see the UTM chapter of the FortiOS Handbook. Simple Network Management Protocol. SNMP can TCP be used to monitor and manage complex networks. UDP SOCKetS. SOCKS is an Internet protocol that allows client-server applications to transparently use the services of a network firewall. A proxy server and web cache daemon that has a wide variety of uses that includes speeding up a web server by caching repeated requests; caching web, DNS and other computer network lookups for a group of people sharing network resources; aiding security by filtering traffic. Secure Shell. SSH allows secure remote management and tunneling. Syslog service for remote logging. Talk allows conversations between two or more users. Matches connections using any TCP port. Allows plain text remote management. Trivial File Transfer Protocol. TFTP is similar to FTP, but without security features such as authentication. ICMP timestamp request messages. A computer network tool used to determine the route taken by packets across an IP network. Matches connections using any UDP port. TCP UDP TCP
SNMP SOCKS
SQUID
Unix to Unix Copy Protocol. UUCP provides simple UDP file copying. VDO Live streaming multimedia traffic. Virtual Network Computing.VNC is a graphical desktop sharing system which uses the RFB protocol to remotely control another computer. Wide Area Information Server. WAIS is an Internet search protocol which may be used in conjunction with Gopher. WinFrame provides communications between computers running Windows NT, or Citrix WinFrame/MetaFrame. TCP TCP
WAIS
TCP
210
WINFRAME
TCP
1494
WINS
Windows Internet Name Service is Microsoft's TCP implementation of NetBIOS Name Service (NBNS), UDP a name server and service for NetBIOS computer names. X Window System (also known as X11) can forward TCP the graphical shell from an X Window server to X Window client.
X-WINDOWS
303
Firewall Service
New Custom Service page Provides settings for configuring a customized service that is not available in the predefined service list. Name Protocol Type Protocol Source Port Enter a name for the custom service. Select the type of protocol for the custom service. Select the protocol from the drop-down list that you are configuring settings for. Specify the source port number range for the service by entering the low and high port numbers. If the service uses one port number, enter this number in both the Low and High fields. The default values allow the use of any source port.
Destination Port Specify the destination port number range for the service by entering the low and high port numbers. If the service uses one port number, enter this number in both the Low and High fields. Add Delete Type Code If your custom service requires more than one port range, select Add to allow more source and destination ranges. Remove the protocol entry (TCP, UDP or SCTP) from the list. Enter the ICMP type number for the ICMP protocol configuration. Enter the ICMP code number for the ICMP protocol configuration.
Protocol Number Enter the protocol number for the IP protocol configuration.
304
Firewall Service
Service groups can contain both predefined and custom services. Service groups cannot contain other service groups. To view the service group list, go to Firewall > Service > Group. You can organize multiple firewall services into a service group to simplify your firewall policy list. For example, instead of having five identical policies for five different but related firewall services, you might combine the five services into a single service group that is used by a single firewall policy. Service groups can contain both predefined and custom services. Service groups cannot contain other service groups. To organize services into a service group, go to Firewall > Service > Group.
Tip: You can also create custom service groups when you configure a firewall policy. Go to Firewall > Policy > Policy, select the appropriate policy tab and then Create New. From the Service list, select Service Group > Create New.
Group page Lists each individual service group that you created. On this page, you can edit, delete or create a new service group. Create New Edit Delete Group Name Members Add a service group. When you select Create New, you are automatically redirected to the New Service Group page. Select to edit the Group Name and Members. Remove the entry from the list. The Delete icon appears only if the service group is not selected in a firewall policy. The name to identify the service group. The services added to the service group.
New Service Group page Provides settings for defining the services that will be members within a service group. Group Name Available Services Enter a name to identify the service group. The list of configured and predefined services available for your group, with custom services at the bottom. Use the arrows to move selected services between this list and Members. The list of services in the group. Use the arrows to move selected services between this list and Available Services.
Members
305
Firewall Service
306
Firewall Schedule
Firewall Schedule
Firewall schedules control when policies are in effect. You can create one-time schedules or recurring schedules. One-time schedules are in effect only once for the period of time specified in the schedule. Recurring schedules are in effect repeatedly at specified times of specified days of the week. If you enable virtual domains (VDOMs) on the FortiGate unit, you must configure firewall schedules separately for each virtual domain. For more information, see Using virtual domains on page 73. The following topics are included in this section: Viewing the recurring schedule list Configuring recurring schedules Viewing the one-time schedule list Configuring one-time schedules Configuring schedule groups
307
Firewall Schedule
To put a policy into effect for an entire day, set schedule start and stop times to 00.
New Recurring Schedule page Provides settings for configuring a schedule that is active on a regular basis. Name Select Start Stop Enter a name to identify the recurring schedule. Select the days of the week for the schedule to be active. Select the start time for the recurring schedule. Select the stop time for the recurring schedule.
To put a policy into effect for an entire day, set schedule start and stop times to 00.
308
Firewall Schedule
New One-time Schedule page Provides settings for configuring a one-time schedule. When you select Create New, you are automatically redirected to this page. Name Start Stop Enter a name to identify the one-time schedule. Select the start date and time for the schedule. Select the stop date and time for the schedule.
New Schedule Group page Provides settings for defining what schedules are members of the group. Group Name Available Schedules Members Enter a name for the schedule group. Select the schedule that you want to be a member, and then use the down arrow to move that schedule to Members. The schedules that will be associated with the group. To remove a schedule from the Members list, select the schedule and then use the up arrow to move that schedule back to Available Schedules.
309
Firewall Schedule
310
Firewall Virtual IP
Firewall Virtual IP
Virtual IP addresses (VIPs) can be used when configuring firewall policies to translate IP addresses and ports of packets received by a network interface, including a modem interface. When the FortiGate unit receives inbound packets matching a firewall policy whose Destination Address field is a virtual IP, the FortiGate unit applies NAT, replacing packets IP addresses with the virtual IPs mapped IP address. IP pools, similarly to virtual IPs, can be used to configure aspects of NAT; however, IP pools configure dynamic translation of packets IP addresses based on the Destination Interface/Zone, whereas virtual IPs configure dynamic or static translation of a packets IP addresses based upon the Source Interface/Zone. To implement the translation configured in the virtual IP or IP pool, you must add it to a NAT firewall policy. For more information, see Configuring virtual IPs on page 315. If you enable virtual domains (VDOMs) on the FortiGate unit, firewall virtual IPs are configured separately for each virtual domain. For more information, see Using virtual domains on page 73. The following topics are included in this section: How virtual IPs map connections through FortiGate units Viewing the virtual IP list Configuring virtual IPs Virtual IP Groups Viewing the VIP group list Configuring VIP groups Configuring IP pools Viewing the IP pool list Configuring IP PoolsDouble NAT: combining IP pool with virtual IP Adding NAT firewall policies in transparent mode
Note: In Transparent mode from the FortiGate CLI, you can configure NAT firewall policies that include Virtual IPs and IP pools. See Adding NAT firewall policies in transparent mode on page 330.
Inbound connections
Virtual IPs can be used in conjunction with firewall policies whose Action is not DENY to apply bidirectional NAT, also known as inbound NAT.
311
Firewall Virtual IP
When comparing packets with the firewall policy list to locate a matching policy, if a firewall policys Destination Address is a virtual IP, FortiGate units compares packets destination address to the virtual IPs external IP address. If they match, the FortiGate unit applies the virtual IPs inbound NAT mapping, which specifies how the FortiGate unit translates network addresses and/or port numbers of packets from the receiving (external) network interface to the network interface connected to the destination (mapped) IP address or IP address range. In addition to specifying IP address and port mappings between interfaces, virtual IP configurations can optionally bind an additional IP address or IP address range to the receiving network interface. By binding an additional IP address, you can configure a separate set of mappings that the FortiGate unit can apply to packets whose destination matches that bound IP address, rather than the IP address already configured for the network interface. Depending on your configuration of the virtual IP, its mapping may involve port address translation (PAT), also known as port forwarding or network address port translation (NAPT), and/or network address translation (NAT) of IP addresses. If you configure NAT in the virtual IP and firewall policy, the NAT behavior varies by your selection of: static vs. dynamic NAT mapping the dynamic NATs load balancing style, if using dynamic NAT mapping full NAT vs. destination NAT (DNAT)
The following table describes combinations of PAT and/or NAT that are possible when configuring a firewall policy with a virtual IP.
Static NAT Static, one-to-one NAT mapping: an external IP address is always translated to the same mapped IP address. If using IP address ranges, the external IP address range corresponds to a mapped IP address range containing an equal number of IP addresses, and each IP address in the external range is always translated to the same IP address in the mapped range.
Static NAT with Static, one-to-one NAT mapping with port forwarding: an external IP address is Port Forwarding always translated to the same mapped IP address, and an external port number is always translated to the same mapped port number. If using IP address ranges, the external IP address range corresponds to a mapped IP address range containing an equal number of IP addresses, and each IP address in the external range is always translated to the same IP address in the mapped range. If using port number ranges, the external port number range corresponds to a mapped port number range containing an equal number of port numbers, and each port number in the external range is always translated to the same port number in the mapped range. Server Load Balancing Dynamic, one-to-many NAT mapping: an external IP address is translated to one of the mapped IP addresses, as determined by the selected load balancing algorithm for more even traffic distribution. The external IP address is not always translated to the same mapped IP address. Server load balancing requires that you configure at least one real server, but can use up to eight. Real servers can be configured with health check monitors. Health check monitors can be used to gauge server responsiveness before forwarding packets.
Server Load Dynamic, one-to-many NAT mapping with port forwarding: an external IP Balancing with address is translated to one of the mapped IP addresses, as determined by the Port Forwarding selected load balancing algorithm for more even traffic distribution. The external IP address is not always translated to the same mapped IP address. Server load balancing requires that you configure at least one real server, but can use up to eight. Real servers can be configured with health check monitors. Health check monitors can be used to gauge server responsiveness before forwarding packets.
312
Firewall Virtual IP
If the NAT check box is not selected when building the firewall policy, the resulting policy does not perform full (source and destination) NAT; instead, it performs destination network address translation (DNAT). For inbound traffic, DNAT translates packets destination address to the mapped private IP address, but does not translate the source address. The private network is aware of the sources public IP address. For reply traffic, the FortiGate unit translates packets private network source IP address to match the destination address of the originating packets, which is maintained in the session table. A typical example of static NAT is to allow client access from a public network to a web server on a private network that is protected by a FortiGate unit. Reduced to its essence, this example involves only three hosts, as shown in Figure 13: the web server on a private network, the client computer on another network, such as the Internet, and the FortiGate unit connecting the two networks. When a client computer attempts to contact the web server, it uses the virtual IP on the FortiGate units external interface. The FortiGate unit receives the packets. The addresses in the packets are translated to private network IP addresses, and the packet is forwarded to the web server on the private network.
Figure 13: A simple static NAT virtual IP example
Server IP 10.10.10.42
Internal IP 10.10.10.2
Virtual IP 192.168.37.4
Client IP 192.168.37.55
The packets sent from the client computer have a source IP of 192.168.37.55 and a destination IP of 192.168.37.4. The FortiGate unit receives these packets at its external interface, and matches them to a firewall policy for the virtual IP. The virtual IP settings map 192.168.37.4 to 10.10.10.42, so the FortiGate unit changes the packets addresses. The source address is changed to 10.10.10.2 and the destination is changed to 10.10.10.42. The FortiGate unit makes a note of this translation in the firewall session table it maintains internally. The packets are then sent on to the web server.
Figure 14: Example of packet address remapping during NAT from client to server
3 2
3 2
Note that the client computers address does not appear in the packets the server receives. After the FortiGate unit translates the network addresses, there is no reference to the client computers IP address, except in its session table. The web server has no indication that another network exists. As far as the server can tell, all packets are sent by the FortiGate unit.
313
Firewall Virtual IP
When the web server replies to the client computer, address translation works similarly, but in the opposite direction. The web server sends its response packets having a source IP address of 10.10.10.42 and a destination IP address of 10.10.10.2. The FortiGate unit receives these packets on its internal interface. This time, however, the session table is used to recall the client computers IP address as the destination address for the address translation. In the reply packets, the source address is changed to 192.168.37.4 and the destination is changed to 192.168.37.55. The packets are then sent on to the client computer. The web servers private IP address does not appear in the packets the client receives. After the FortiGate unit translates the network addresses, there is no reference to the web servers network. The client has no indication that the web servers IP address is not the virtual IP. As far as the client is concerned, the FortiGate units virtual IP is the web server.
Figure 15: Example of packet address remapping during NAT from server to client
3 2
3 2
In the previous example, the NAT check box is checked when configuring the firewall policy. If the NAT check box is not selected when building the firewall policy, the resulting policy does not perform full NAT; instead, it performs destination network address translation (DNAT). For inbound traffic, DNAT translates packets destination address to the mapped private IP address, but does not translate the source address. The web server would be aware of the clients IP address. For reply traffic, the FortiGate unit translates packets private network source IP address to match the destination address of the originating packets, which is maintained in the session table.
Outbound connections
Virtual IPs can also affect outbound NAT, even though they are not selected in an outbound firewall policy. If no virtual IPs are configured, FortiGate units apply traditional outbound NAT to connections outbound from private network IP addresses to public network IP addresses. However, if virtual IP configurations exist, FortiGate units use virtual IPs inbound NAT mappings in reverse to apply outbound NAT, causing IP address mappings for both inbound and outbound traffic to be symmetric. For example, if a network interfaces IP address is 10.10.10.1, and its bound virtual IPs external IP is 10.10.10.2, mapping inbound traffic to the private network IP address 192.168.2.1, traffic outbound from 192.168.2.1 will be translated to 10.10.10.2, not 10.10.10.1
314
Firewall Virtual IP
Virtual IP, load balance virtual server and load balance real server limitations
The following limitations apply when adding virtual IPs, Load balancing virtual servers, and load balancing real servers. Load balancing virtual servers are actually server load balancing virtual IPs. You can add server load balance virtual IPs from the CLI. Virtual IP External IP Address/Range entries or ranges cannot overlap with each other or with load balancing virtual server Virtual Server IP entries. A virtual IP Mapped IP Address/Range cannot be 0.0.0.0 or 255.255.255.255. A real server IP cannot be 0.0.0.0 or 255.255.255.255. If a static NAT virtual IP External IP Address/Range is 0.0.0.0, the Mapped IP Address/Range must be a single IP address. If a load balance virtual IP External IP Address/Range is 0.0.0.0, the Mapped IP Address/Range can be an address range. When port forwarding, the count of mapped port numbers and external port numbers must be the same. The web-based manager does this automatically but the CLI does not. Virtual IP and virtual server names must be different from firewall address or address group names.
315
Firewall Virtual IP
A virtual IPs mapped IP address can be a single IP address, or an IP address range. When the FortiGate unit receives packets matching a firewall policy whose Destination Address field is a virtual IP, the FortiGate unit applies NAT, replacing the packets destination IP address with the virtual IPs mapped IP address. To implement the translation configured in the virtual IP or IP pool, you must add it to a NAT firewall policy. For example, to add a firewall policy that maps public network addresses to a private network, add an external to internal firewall policy whose Destination Address field is a virtual IP. For limitations on creating virtual IPs, see Virtual IP, load balance virtual server and load balance real server limitations on page 315.
Add New Virtual IP Mapping page Provides settings for configuring a virtual IP. Name Enter or change the name to identify the virtual IP. To avoid confusion, addresses, address groups, and virtual IPs cannot have the same names.
External Interface Select the virtual IP external interface from the list. The external interface is connected to the source network and receives the packets to be forwarded to the destination network. You can select any FortiGate interface, VLAN subinterface, VPN interface, or modem interface. Type External IP Address/Range VIP type is Static NAT, read only. Enter the external IP address that you want to map to an address on the destination network. To configure a dynamic virtual IP that accepts connections for any IP address, set the external IP address to 0.0.0.0. For a static NAT dynamic virtual IP you can only add one mapped IP address. For a load balance dynamic virtual IP you can specify a single mapped address or a mapped address range. Enter the real IP address on the destination network to which the external IP address is mapped. You can also enter an address range to forward packets to multiple IP addresses on the destination network. For a static NAT virtual IP, if you add a mapped IP address range the FortiGate unit calculates the external IP address range and adds the IP address range to the External IP Address/Range field. This option appears only if Type is Static NAT. Select to perform port address translation (PAT). Select the protocol of the forwarded packets. This option appears only if Port Forwarding is enabled. Enter the external interface port number for which you want to configure port forwarding. This option appears only if Port Forwarding is enabled. Enter the port number on the destination network to which the external port number is mapped. You can also enter a port number range to forward packets to multiple ports on the destination network. For a virtual IP with static NAT, if you add a map to port range the FortiGate unit calculates the external port number range and adds the port number range to the External Service port field. This option appears only if Port Forwarding is enabled.
Mapped IP Address/Range
To configure a virtual IP 1 Go to Firewall > Virtual IP > Virtual IP. 2 Select Create New.
316
Firewall Virtual IP
3 Configure the virtual IP by entering the virtual IP address, if any, that will be bound to the network interface, and selecting the mapping type and mapped IP address(es) and/or port(s). For configuration examples of each type, see: Adding a static NAT virtual IP for a single IP address on page 317 Adding a static NAT virtual IP for an IP address range on page 318 Adding static NAT port forwarding for a single IP address and a single port on page 320 Adding static NAT port forwarding for an IP address range and a port range on page 321 Adding dynamic virtual IPs on page 323 Adding a virtual IP with port translation only on page 324 4 Select OK. The virtual IP appears in the virtual IP list. 5 To implement the virtual IP, select the virtual IP in a firewall policy. For example, to add a firewall policy that maps public network addresses to a private network, you might add an external to internal firewall policy and select the Source Interface/Zone to which a virtual IP is bound, then select the virtual IP in the Destination Address field of the policy. For more information, see Configuring firewall policies on page 258.
3 2
Server IP 10.10.10.42
Internal IP 10.10.10.2
Virtual IP 192.168.37.4
Client IP 192.168.37.55
Use the following procedure to add a virtual IP that allows users on the Internet to connect to a web server on the DMZ network. In our example, the wan1 interface of the FortiGate unit is connected to the Internet and the dmz1 interface is connected to the DMZ network. To add a static NAT virtual IP for a single IP address 1 Go to Firewall > Virtual IP > Virtual IP. 2 Select Create New. 3 Enter the following information:
317
Firewall Virtual IP
static_NAT Static NAT The Internet IP address of the web server. The external IP address is usually a static IP address obtained from your ISP for your web server. This address must be a unique IP address that is not used by another host and cannot be the same as the IP address of the external interface the virtual IP will be using. However, the external IP address must be routed to the selected interface. The virtual IP address and the external IP address can be on different subnets. When you add the virtual IP, the external interface responds to ARP requests for the external IP address. The IP address of the server on the internal network. Since there is only one IP address, leave the second field blank.
Mapped IP Address/Range
4 Select OK. To add a static NAT virtual IP for a single IP address to a firewall policy Add a external to dmz1 firewall policy that uses the virtual IP so that when users on the Internet attempt to connect to the web server IP address packets pass through the FortiGate unit from the external interface to the dmz1 interface. The virtual IP translates the destination address of these packets from the external IP to the DMZ network IP address of the web server. 1 Go to Firewall > Policy > Policy and select Create New. 2 Configure the firewall policy:
Source Interface/Zone Source Address Destination Interface/Zone Destination Address Schedule Service Action external All (or a more specific address) dmz1 simple_static_nat always HTTP ACCEPT
318
Firewall Virtual IP
3 2
3 2
3 2
3 2
Internal network
Server IP 10.10.10.42
Client IP 172.168.37.55
Internet
Internal IP 10.10.10.2
192.168.37.5 192.168.37.6
Client IP 172.20.37.126
Server IP 10.10.10.44
Client IP 172.199.190.25
To add a static NAT virtual IP for an IP address range 1 Go to Firewall > Virtual IP > Virtual IP. 2 Select Create New. 3 Use the following procedure to add a virtual IP that allows users on the Internet to connect to three individual web servers on the DMZ network. In this example, the wan1 interface of the FortiGate unit is connected to the Internet and the dmz1 interface is connected to the DMZ network.
Name Type External IP Address/Range static_NAT_range Static NAT The Internet IP address range of the web servers. The external IP addresses are usually static IP addresses obtained from your ISP for your web server. These addresses must be unique IP addresses that are not used by another host and cannot be the same as the IP addresses of the external interface the virtual IP will be using. However, the external IP addresses must be routed to the selected interface. The virtual IP addresses and the external IP address can be on different subnets. When you add the virtual IP, the external interface responds to ARP requests for the external IP addresses. The IP address range of the servers on the internal network. Define the range by entering the first address of the range in the first field and the last address of the range in the second field.
Mapped IP Address/Range
4 Select OK. To add a static NAT virtual IP with an IP address range to a firewall policy Add a wan1 to dmz1 firewall policy that uses the virtual IP so that when users on the Internet attempt to connect to the server IP addresses, packets pass through the FortiGate unit from the wan1 interface to the dmz1 interface. The virtual IP translates the destination addresses of these packets from the wan1 IP to the DMZ network IP addresses of the servers. 1 Go to Firewall > Policy > Policy and select Create New. 2 Configure the firewall policy:
319
Firewall Virtual IP
Source Interface/Zone Source Address Destination Interface/Zone Destination Address Schedule Service Action
wan1 All (or a more specific address) dmz1 static_NAT_range always HTTP ACCEPT
Adding static NAT port forwarding for a single IP address and a single port
The IP address 192.168.37.4, port 80 on the Internet is mapped to 10.10.10.42, port 8000 on a private network. Attempts to communicate with 192.168.37.4, port 80 from the Internet are translated and sent to 10.10.10.42, port 8000 by the FortiGate unit. The computers on the Internet are unaware of this translation and see a single computer at 192.168.37.4, port 80 rather than a FortiGate unit with a private network behind it.
Figure 18: Static NAT virtual IP port forwarding for a single IP address and a single port example
3 2 1 3 2 1
Server IP 10.10.10.42
Internal IP 10.10.10.2
Virtual IP 192.168.37.4
Client IP 192.168.37.55
To add static NAT virtual IP port forwarding for a single IP address and a single port 1 Go to Firewall > Virtual IP > Virtual IP. 2 Select Create New. 3 Use the following procedure to add a virtual IP that allows users on the Internet to connect to a web server on the DMZ network. In our example, the wan1 interface of the FortiGate unit is connected to the Internet and the dmz1 interface is connected to the DMZ network.
Name External Interface Type Port_fwd_NAT_VIP wan1 Static NAT
320
Firewall Virtual IP
External IP Address/Range
The Internet IP address of the web server. The external IP address is usually a static IP address obtained from your ISP for your web server. This address must be a unique IP address that is not used by another host and cannot be the same as the IP address of the external interface the virtual IP will be using. However, the external IP address must be routed to the selected interface. The virtual IP address and the external IP address can be on different subnets. When you add the virtual IP, the external interface responds to ARP requests for the external IP address. The IP address of the server on the internal network. Since there is only one IP address, leave the second field blank. Selected TCP The port traffic from the Internet will use. For a web server, this will typically be port 80. The port on which the server expects traffic. Since there is only one port, leave the second field blank.
Mapped IP Address/Range Port Forwarding Protocol External Service Port Map to Port
4 Select OK. To add static NAT virtual IP port forwarding for a single IP address and a single port to a firewall policy Add a wan1 to dmz1 firewall policy that uses the virtual IP so that when users on the Internet attempt to connect to the web server IP addresses, packets pass through the FortiGate unit from the wan1 interface to the dmz1 interface. The virtual IP translates the destination addresses and ports of these packets from the external IP to the dmz network IP addresses of the web servers. 1 Go to Firewall > Policy > Policy and select Create New. 2 Configure the firewall policy:
Source Interface/Zone Source Address Destination Interface/Zone Destination Address Schedule Service Action wan1 All (or a more specific address) dmz1 Port_fwd_NAT_VIP always HTTP ACCEPT
Adding static NAT port forwarding for an IP address range and a port range
Ports 80 to 83 of addresses 192.168.37.4 to 192.168.37.7 on the Internet are mapped to ports 8000 to 8003 of addresses 10.10.10.42 to 10.10.10.44 on a private network. Attempts to communicate with 192.168.37.5, port 82 from the Internet, for example, are translated and sent to 10.10.10.43, port 8002 by the FortiGate unit. The computers on the Internet are unaware of this translation and see a single computer at 192.168.37.5 rather than a FortiGate unit with a private network behind it.
321
Firewall Virtual IP
Figure 19: Static NAT virtual IP port forwarding for an IP address range and a port range example
Source IP 10.10.10.2 Destination IP 10.10.10.[42-44] Port 8000-8003
3 2 1
3 2
Internal network
Server IP 10.10.10.42
Client IP 172.168.37.55
Internet
Internal IP 10.10.10.2
192.168.37.5 192.168.37.6
Client IP 172.20.37.126
Server IP 10.10.10.44
Client IP 172.199.190.25
To add static NAT virtual IP port forwarding for an IP address range and a port range 1 Go to Firewall > Virtual IP > Virtual IP. 2 Select Create New. 3 Use the following procedure to add a virtual IP that allows users on the Internet to connect to a web server on the DMZ network. In this example, the external interface of the FortiGate unit is connected to the Internet and the dmz1 interface is connected to the DMZ network.
Name External Interface Type External IP Address/Range Port_fwd_NAT_VIP_port_range external Static NAT The external IP addresses are usually static IP addresses obtained from your ISP. This addresses must be unique, not used by another host, and cannot be the same as the IP address of the external interface the virtual IP will be using. However, the external IP addresses must be routed to the selected interface. The virtual IP addresses and the external IP address can be on different subnets. When you add the virtual IP, the external interface responds to ARP requests for the external IP addresses. The IP addresses of the server on the internal network. Define the range by entering the first address of the range in the first field and the last address of the range in the second field. Selected TCP The ports that traffic from the Internet will use. For a web server, this will typically be port 80. The ports on which the server expects traffic. Define the range by entering the first port of the range in the first field and the last port of the range in the second field. If there is only one port, leave the second field blank.
Mapped IP Address/Range Port Forwarding Protocol External Service Port Map to Port
4 Select OK.
322
Firewall Virtual IP
To add static NAT virtual IP port forwarding for an IP address range and a port range to a firewall policy Add a external to dmz1 firewall policy that uses the virtual IP so that when users on the Internet attempt to connect to the web server IP addresses, packets pass through the FortiGate unit from the external interface to the dmz1 interface. The virtual IP translates the destination addresses and ports of these packets from the external IP to the dmz network IP addresses of the web servers. 1 Go to Firewall > Policy > Policy and select Create New. 2 Configure the firewall policy:
Source Interface/Zone Source Address Destination Interface/Zone Destination Address Schedule Service Action external All (or a more specific address) dmz1 Port_fwd_NAT_VIP_port_range always HTTP ACCEPT
323
Firewall Virtual IP
10 Enter the Map to Port number to be added to packets when they are forwarded. Enter the same number as the External Service Port if the port is not to be translated. 11 Select OK.
In some cases, when you have completed this configuration the FortiGate unit will drop the packets received on the External Interface. To make sure this does not happen, you can log in to the FortiGate CLI and use the following procedure to disable arp replies for the port translation only virtual IP. To disable arp-reply 1 Log into the FortiGate CLI. 2 Enter the following command where <vip_name> is the name of the port translation only virtual IP. config firewall vip edit <vip_name> set arp-reply disable end
324
Firewall Virtual IP
Virtual IP Groups
Virtual IP Groups
You can organize multiple virtual IPs into a virtual IP group to simplify your firewall policy list. For example, instead of having five identical policies for five different but related virtual IPs located on the same network interface, you might combine the five virtual IPs into a single virtual IP group, which is used by a single firewall policy. Firewall policies using VIP Groups are matched by comparing both the member VIP IP address(es) and port number(s).
Configuring IP pools
Use IP pools to add NAT policies that translate source addresses to addresses randomly selected from the IP pool, rather than the IP address assigned to that FortiGate unit interface. In Transparent mode, IP pools are available only from the FortiGate CLI. An IP pool defines a single IP address or a range of IP addresses. A single IP address in an IP pool becomes a range of one IP address. For example, if you enter an IP pool as 1.1.1.1 the IP pool is actually the address range 1.1.1.1 to 1.1.1.1.
325
Configuring IP pools
Firewall Virtual IP
If a FortiGate interface IP address overlaps with one or more IP pool address ranges, the interface responds to ARP requests for all of the IP addresses in the overlapping IP pools. For example, consider a FortiGate unit with the following IP addresses for the port1 and port2 interfaces: port1 IP address: 1.1.1.1/255.255.255.0 (range is 1.1.1.0-1.1.1.255) port2 IP address: 2.2.2.2/255.255.255.0 (range is 2.2.2.0-2.2.2.255) IP_pool_1: 1.1.1.10-1.1.1.20 IP_pool_2: 2.2.2.10-2.2.2.20 IP_pool_3: 2.2.2.30-2.2.2.40 (1.1.1.0-1.1.1.255) and (1.1.1.10-1.1.1.20) = 1.1.1.10-1.1.1.20 (2.2.2.0-2.2.2.255) & (2.2.2.10-2.2.2.20) = 2.2.2.10-2.2.2.20 (2.2.2.0-2.2.2.255) & (2.2.2.30-2.2.2.40) = 2.2.2.30-2.2.2.40 The port1 interface answers ARP requests for 1.1.1.10-1.1.1.20 The port2 interface answers ARP requests for 2.2.2.10-2.2.2.20 and for 2.2.2.302.2.2.40
The port1 interface overlap IP range with IP_pool_1 is: The port2 interface overlap IP range with IP_pool_2 is: The port2 interface overlap IP range with IP_pool_3 is: And the result is:
Select NAT in a firewall policy and then select Dynamic IP Pool and select an IP pool to translate the source address of packets leaving the FortiGate unit to an address randomly selected from the IP pool.
326
Firewall Virtual IP
Scenario 2: The number of source addresses is more than that of IP pool addresses
In this case, the FortiGate unit translates IP addresses using a wrap-around mechanism. If you enable fixedport in such a case, the FortiGate unit preserves the original source port. But conflicts may occur since users may have different sessions using the same TCP 5 tuples.
Original address 192.168.1.1 192.168.1.2 192.168.1.10 192.168.1.11 192.168.1.12 192.168.1.13 Change to 172.16.30.10 172.16.30.11 172.16.30.19 172.16.30.10 172.16.30.11 172.16.30.12
Scenario 3: The number of source addresses is fewer than that of IP pool addresses
In this case, some of the IP pool addresses are used and the rest of them are not be used.
Original address 192.168.1.1 192.168.1.2 192.168.1.3 No more source addresses Change to 172.16.30.10 172.16.30.11 172.16.30.12 172.16.30.13 and other addresses are not used
327
Configuring IP Pools
Firewall Virtual IP
Configuring IP Pools
A single IP address is entered normally. For example, 192.168.110.100 is a valid IP pool address. If an IP address range is required, use either of the following formats. x.x.x.x-x.x.x.x, for example 192.168.110.100-192.168.110.120 x.x.x.[x-x], for example 192.168.110.[100-120]
328
Firewall Virtual IP
10.1.2.0/24
To allow the local users to access the server, you can use fixed port and IP pool to allow more than one user connection while using virtual IP to translate the destination port from 8080 to 80. To create an IP pool 1 Go to Firewall > Virtual IP > IP Pool. 2 Select Create New. 3 Enter the following information and select OK.
Name pool-1
IP Range/Subnet 10.1.3.1-10.1.3.254
To create a Virtual IP with port translation only 1 Go to Firewall > Virtual IP > Virtual IP. 2 Select Create New. 3 Enter the following information and select OK.
Name External Interface Type External IP Address/Range Mapped IP Address/Range Port Forwarding Protocol External Service Port Map to Port server-1 Internal Static NAT 172.16.1.1 Note this address is the same as the server address. 172.16.1.1. Enable TCP 8080 80
329
Firewall Virtual IP
To create a firewall policy Add an internal to dmz firewall policy that uses the virtual IP to translate the destination port number and the IP pool to translate the source addresses. 1 Go to Firewall > Policy. 2 Select Create New. 3 Configure the firewall policy:
Source Interface/Zone Source Address Destination Interface/Zone Destination Address Schedule Service Action NAT Dynamic IP Pool internal 10.1.1.0/24 dmz server-1 always HTTP ACCEPT Select Select, and select the pool-1 IP pool.
4 Select OK.
For NAT firewall policies to work in NAT/Route mode you must have two interfaces on two different networks with two different subnet addresses. Then you can create firewall policies to translate source or destination addresses for packets as they are relayed by the FortiGate unit from one interface to the other. A FortiGate unit operating in Transparent mode normally has only one IP address, the management IP. To support NAT in Transparent mode you can add a second management IP. These two management IPs must be on different subnets. When you add two management IP addresses, all FortiGate unit network interfaces will respond to connections to both of these IP addresses. In the example shown in Figure 21, all of the PCs on the internal network (subnet address 192.168.1.0/24) are configured with 192.168.1.99 as their default route. One of the management IPs of the FortiGate unit is set to 192.168.1.99. This configuration results in a typical NAT mode firewall. When a PC on the internal network attempts to connect to the Internet, the PC's default route sends packets destined for the Internet to the FortiGate unit internal interface. Similarly on the DMZ network (subnet address 10.1.1.0/24) all of the PCs have a default route of 10.1.1.99.
330
Firewall Virtual IP
The example describes adding an internal to wan1 firewall policy to relay these packets from the internal interface out the wan1 interface to the Internet. Because the wan1 interface does not have an IP address of its own, you must add an IP pool to the wan1 interface that translates the source addresses of the outgoing packets to an IP address on the network connected to the wan1 interface. The example describes adding an IP pool with a single IP address of 10.1.1.201. So all packets sent by a PC on the internal network that are accepted by the internal to wan1 policy leave the wan1 interface with their source address translated to 10.1.1.201. These packets can now travel across the Internet to their destination. Reply packets return to the wan1 interface because they have a destination address of 10.1.1.201. The internal to wan1 NAT policy translates the destination address of these return packets to the IP address of the originating PC and sends them out the internal interface to the originating PC. Use the following steps to configure NAT in Transparent mode Adding two management IPs Adding an IP pool to the wan1 interface Adding an internal to wan1 firewall policy
Router 10.1.1.0/24
To add a source address translation NAT policy in Transparent mode 1 Enter the following command to add two management IPs. The second management IP is the default gateway for the internal network. config system settings set manageip 10.1.1.99/24 192.168.1.99/24 end 2 Enter the following command to add an IP pool to the wan1 interface: config firewall ippool edit nat-out
FortiGate Version 4.0 MR2 Administration Guide 01-420-89802-20100326 http://docs.fortinet.com/ Feedback
331
Firewall Virtual IP
set interface "wan1" set startip 10.1.1.201 set endip 10.1.1.201 end 3 Enter the following command to add an internal to wan1 firewall policy with NAT enabled that also includes an IP pool: config firewall policy edit 1 set srcintf "internal" set dstintf "wan1" set scraddr "all" set dstaddr "all" set action accept set schedule "always" set service "ANY" set nat enable set ippool enable set poolname nat-out end
Note: You can add the firewall policy from the web-based manager and then use the CLI to enable NAT and add the IP Pool.
332
Traffic Shaping
Traffic Shaping
Traffic shaping, once included in a firewall policy, controls the bandwidth available to, and sets the priority of the traffic processed by, the policy. Traffic shaping makes it possible to control which policies have the highest priority when large amounts of data are moving through the FortiGate unit. For example, the policy for the corporate web server might be given higher priority than the policies for most employees computers. An employee who needs extra high speed Internet access could have a special outgoing policy set up with higher bandwidth. Traffic shaping is available for firewall policies whose Action is ACCEPT, IPSEC, or SSLVPN. It is also available for all supported services, including H.323, TCP, UDP, ICMP, and ESP. Guaranteed and maximum bandwidth in combination with queuing ensures minimum and maximum bandwidth is available for traffic. Traffic shaping cannot increase the total amount of bandwidth available, but you can use it to improve the quality of bandwidth-intensive and sensitive traffic. For more information about firewall policy, see Firewall Policy on page 255. For more information about traffic shaping, see the FortiGate Traffic Shaping Technical Note. The following topics are included in this section: Guaranteed bandwidth and maximum bandwidth Traffic priority Traffic shaping considerations Configuring shared traffic shapers Configuring Per IP traffic shaping
333
Traffic priority
Traffic Shaping
However, bandwidth availability is not shared between multiple instances of using the same service if these multiple instances are controlled by different policies. For example, you can create one FTP policy to limit the amount of bandwidth available for FTP for one network address and create another FTP policy with a different bandwidth availability for another network address.
Note: If you set both guaranteed bandwidth and maximum bandwidth to 0 (zero), the policy does not allow any traffic.
Traffic priority
When adding a traffic shaper, you can set traffic priority to manage the relative priorities of different types of traffic. Important and latency-sensitive traffic should be assigned a high priority. Less important and less sensitive traffic should be assigned a low priority. The FortiGate unit provides bandwidth to low-priority connections only when bandwidth is not needed for high-priority connections. For example, you can add policies to guarantee bandwidth for voice and e-commerce traffic. Then you can assign a high priority to the policy that controls voice traffic and a medium priority to the policy that controls e-commerce traffic. During a busy time, if both voice and e-commerce traffic are competing for bandwidth, the higher priority voice traffic will be transmitted before the e-commerce traffic.
334
Traffic Shaping
To ensure that traffic shaping is working at its best, make sure that the interface ethernet statistics show no errors, collisions or buffer overruns. If any of these problems do appear, then FortiGate and switch settings may require adjusting. For more information, see the FortiGate Traffic Shaping Technical Note.
New Shared Traffic Shaper page Provides settings for configuring a new shared traffic shaper. Apply Shaping Select Per Policy to apply this traffic shaper to a single firewall policy that uses it. Select For all policies using this shaper to apply this traffic shaper to all firewall policies that use it. Select a value to ensure there is enough bandwidth available for a high-priority service. Be sure that the sum of all Guaranteed Bandwidth in all firewall policies is significantly less than the bandwidth capacity of the interface.
Shaping Methods Configure the traffic shaping methods used by the shared traffic shaper. Guaranteed Bandwidth
335
Traffic Shaping
Maximum Bandwidth
Select to limit bandwidth in order to keep less important services from using bandwidth needed for more important ones. Do not set both Guaranteed Bandwidth and Maximum Bandwidth to 0 (zero), or the firewall policy that the shared traffic shaper is added to will not allow any traffic.
Traffic Priority Select High, Medium, or Low. Select Traffic Priority so the FortiGate unit manages the relative priorities of different types of traffic. For example, a policy for connecting to a secure web server needed to support e-commerce traffic should be assigned a high traffic priority. Less important services should be assigned a low priority. The firewall provides bandwidth to low-priority connections only when bandwidth is not needed for high-priority connections. Be sure to enable traffic shaping on all firewall policies. If you do not apply any traffic shaping rule to a policy, the policy is set to high priority by default. Distribute firewall policies over all three priority queues.
Per-IP Traffic Shaper configuration Provides settings for configuring a per-IP traffic shaper. These per-IP traffic shapers are each made up of an IP address, and this per-IP traffic shaper is applied to a firewall policy. Maximum Bandwidth Enter the maximum allowed bandwidth in Kbps. This limit applies to each IP address. Range 1 to 2 097 000. Enter 0 to disable bandwidth limit. Add the IP addresses or IP add ranges that this per-IP traffic shaper applies to. Delete an IP address/range entry. Add an single IP address or an address range.
336
337
Internet/Intranet User
Real Server
338
The type of persistence applied to this virtual server. Remove the virtual server from the list. The Delete icon only appears if the virtual server is not bound to a real server. Edit the virtual server to change any virtual server option including the virtual server name.
New Virtual Server page Provides settings for configuring a virtual server. Name Type Enter the name for the virtual server. This name is not the hostname for the FortiGate unit. Select the protocol to be load balanced by the virtual server. If you select a general protocol such as IP, TCP, or UDP the virtual server load balances all IP, TCP, or UDP sessions. If you select specific protocols such as HTTP, HTTPS, or SSL you can apply additional server load balancing features such as Persistence and HTTP Multiplexing. Select HTTP to load balance only HTTP sessions with destination port number that matches the Virtual Server Port setting. Change Virtual Server Port to match the destination port of the sessions to be load balanced (usually port 80 for HTTP sessions). You can also select HTTP Multiplex. You can also set Persistence to HTTP Cookie to select cookie-based persistence. See the description of the config firewall VIP command in the FortiGate CLI Reference for information about advanced HTTP Cookie persistence options. Select HTTPS to load balance only HTTPS sessions with destination port number that matches the Virtual Server Port setting. Change Virtual Server Port to match the destination port of the sessions to be load balanced (usually port 443 for HTTPS sessions). You can also select HTTP Multiplex. You can also set Persistence to HTTP Cookie to select cookie-based persistence. You can also set Persistence to SSL Session ID. See the description of the config firewall VIP command in the FortiGate CLI Reference for information about advanced HTTP Cookie persistence options and advanced SSL options. HTTPS is available on FortiGate units that support SSL acceleration. Select IP to load balance all sessions accepted by the firewall policy that contains this virtual server. Select SSL to load balance only SSL sessions with destination port number that matches the Virtual Server Port setting. Change Virtual Server Port to match the destination port of the sessions to be load balanced. See the description of the config firewall VIP command in the FortiGate CLI Reference for information about advanced SSL options. Select TCP to load balance only TCP sessions with destination port number that matches the Virtual Server Port setting. Change Virtual Server Port to match the destination port of the sessions to be load balanced. Select UDP to load balance only UDP sessions with destination port number that matches the Virtual Server Port setting. Change Virtual Server Port to match the destination port of the sessions to be load balanced.
Interface
Select the virtual server external interface from the list. The external interface is connected to the source network and receives the packets to be forwarded to the destination network. The IP address of the virtual server. This is an IP address on the external interface that you want to map to an address on the destination network. Enter the external port number that you want to map to a port number on the destination network. Sessions with this destination port are load balanced by this virtual server. Load balancing methods include:
339
Static: The traffic load is spread evenly across all servers, no additional server is required. This load balancing method provides some persistence because all sessions from the same source address always go to the same server. However, the distribution is stateless, so if a real server is added or removed (or goes up or down) the distribution is changed so persistence will be lost. Separate real servers are not required. Round Robin: Directs requests to the next server, and treats all servers as equals regardless of response time or number of connections. Dead servers or non responsive servers are avoided. A separate server is required. Weighted: Servers with a higher weight value will receive a larger percentage of connections. Set the server weight when adding a server. First Alive: Always directs requests to the first alive real server. In this case first refers to the order of the real servers in the virtual server configuration. For example, if you add real servers A, B and C in that order, then traffic always go to A as long as it is alive. If A goes down then traffic goes to B and if B goes down the traffic goes to C. If A comes back up traffic goes to A. Real servers are ordered in the virtual server configuration in the order in which you add them, with the most recently added real server last. If you want to change the order you must delete and re-add real servers as required. Least RTT: Directs requests to the server with the least round trip time. The round trip time is determined by a Ping health check monitor and is defaulted to 0 if no Ping health check monitors are added to the virtual server. Least Session: Directs requests to the server that has the least number of current connections. This method works best in environments where the servers or other equipment you are load balancing have similar capabilities.
Persistence
Configure persistence to make sure that a user is connected to the same server every time they make a request that is part of the same session. When you configure persistence, the FortiGate unit load balances a new session to a real server according to the Load Balance Method. If the session has an HTTP cookie or an SSL session ID, the FortiGate unit sends all subsequent sessions with the same HTTP cookie or SSL session ID to the same real server. You can configure persistence if Type is set to HTTP, HTTPS, or SSL. Select None for no persistence. Sessions are distributed solely according to the Load Balance Method. Setting Load Balance Method to Static (the default) results in behavior equivalent to persistence. See the description of Load Balance Method for more information. Select HTTP Cookie so that all HTTP or HTTPS sessions with the same HTTP session cookie are sent to the same real server. HTTP Cookie is available if Type is set to HTTP or HTTPS. See the description of the config firewall VIP command in the FortiGate CLI Reference for information about advanced HTTP Cookie persistence options. Select SSL Session ID so that all sessions with the same SSL session ID are sent to the same real server. SSL Session ID is available if Type is set to HTTPS or SSL.
Note: The Static load balancing method provides persistence as long as the number of real servers does not change.
340
HTTP Multiplexing
Select to use the FortiGate unit to multiplex multiple client connections into a few connections between the FortiGate unit and the real server. This can improve performance by reducing server overhead associated with establishing multiple connections. The server must be HTTP/1.1 compliant. This option appears only if HTTP or HTTS are selected for Type. Note: Additional HTTP Multiplexing options are available in the CLI. For more information, see the FortiGate CLI Reference. Select to preserve the IP address of the client in the X-Forwarded-For HTTP header. This can be useful if you want log messages on the real servers to the clients original IP address. If this option is not selected, the header will contain the IP address of the FortiGate unit. This option appears only if HTTP or HTTS are selected for Type, and is available only if HTTP Multiplexing is selected. Select to accelerate clients SSL connections to the server by using the FortiGate unit to perform SSL operations, then select which segments of the connection will receive SSL offloading. Client <-> FortiGate Select to apply hardware accelerated SSL only to the part of the connection between the client and the FortiGate unit. The segment between the FortiGate unit and the server will use clear text communications. This results in best performance, but cannot be used in failover configurations where the failover path does not have an SSL accelerator. Client <-> FortiGate <-> Server Select to apply hardware accelerated SSL to both parts of the connection: the segment between client and the FortiGate unit, and the segment between the FortiGate unit and the server. The segment between the FortiGate unit and the server will use encrypted communications, but the handshakes will be abbreviated. This results in performance which is less than the other option, but still improved over communications without SSL acceleration, and can be used in failover configurations where the failover path does not have an SSL accelerator. If the server is already configured to use SSL, this also enables SSL acceleration without requiring changes to the servers configuration.
Preserve Client IP
SSL Offloading
SSL 3.0 and TLS 1.0 are supported. SSL Offloading appears only if HTTPS or SSL are selected for Type, and only on FortiGate models with hardware that supports SSL acceleration. Note: Additional SSL Offloading options are available in the CLI. For more information, see the FortiGate CLI Reference. Certificate Select the certificate to use with SSL Offloading. The certificate key size must be 1024 or 2048 bits. 4096-bit keys are not supported. This option appears only if HTTPS or SSL are selected for Type, and is available only if SSL Offloading is selected. Select which health check monitor configuration will be used to determine a servers connectivity status. For information on configuring health check monitors, see Configuring health check monitors on page 342. Any comments or notes about this virtual server.
Health Check
Comments
341
Real Server page Lists each individual real server that you created. On this page, you can edit, delete or create a new real server. Create New IP Address Port Weight Max Connections Select to add real servers. For more information, see Configuring real servers on page 341. Select the blue arrow beside a virtual server name to view the IP addresses of the real servers that are bound to it. The port number on the destination network to which the external port number is mapped. The weight value of the real server. The higher the weight value, the higher the percentage of connections the server will handle. The limit on the number of active connections directed to a real server. If the maximum number of connections is reached for the real server, the FortiGate unit will automatically switch all further connection requests to another server until the connection number drops below the specified limit. Remove the real server from the list. Edit the real server to change any virtual server option.
Delete Edit
New Real Server page Provides settings for configuring a real server to bind it with a virtual one. Virtual Server IP Port Weight Select the virtual server to which you want to bind this real server. Enter the IP address of the real server. Enter the port number on the destination network to which the external port number is mapped. Enter the weight value of the real server. The higher the weight value, the higher the percentage of connections the server will handle. A range of 1255 can be used. This option is available only if the associated virtual servers load balance method is Weighted.
Maximum Connections Enter the limit on the number of active connections directed to a real server. A range of 1-99999 can be used. If the maximum number of connections is reached for the real server, the FortiGate unit will automatically switch all further connection requests to another server until the connection number drops below the specified limit. Setting Maximum Connections to 0 means that the FortiGate unit does not limit the number of connections to the real server. Mode Select a mode for the real server.
342
Health Check Monitor page Lists each individual health check monitor that you created. On this page, you can edit, delete and create a new health check monitor. Create New Name Details Select to add a health check monitor configuration. The name of the health check monitor configuration. The names are grouped by the health check monitor types. The details of the health check monitor configuration, which vary by the type of the health check monitor, and do not include the interval, timeout, or retry, which are settings common to all types. This field is empty if the type of the health check monitor is PING. Select to remove the health check monitor configuration. This option appears only if the health check monitor configuration is not currently being used by a virtual server configuration. Select to change the health check monitor configuration.
Delete
Edit
Add New Health Check Monitor Provides settings for configuring a health check monitor. Name Type Enter the name of the health check monitor configuration. Select the protocol used to perform the health check. TCP HTTP PING Enter the port number used to perform the health check. If you set the Port to 0, the health check monitor uses the port defined in the real server. This way you can use a single health check monitor for different real servers. This option does not appear if the Type is PING. Enter the number of seconds between each server health check. For HTTP health check monitors, add a URL that the FortiGate unit uses when sending a get request to check the health of a HTTP server. The URL should match an actual URL for the real HTTP servers. The URL is optional. The URL would not usually include an IP address or domain name. Instead it should start with a / and be followed by the address of an actual web page on the real server. For example, if the IP address of the real server is 10.10.10.1, the URL /test_page.htm causes the FortiGate unit to send an HTTP get request to http://10.10.10.1/test_page.htm. This option appears only if Type is HTTP. For HTTP health check monitors, add a phrase that a real HTTP server should include in response to the get request sent by the FortiGate unit using the content of the URL option. If the URL returns a web page, the Matched Content should exactly match some of the text on the web page. You can use the URL and Matched Content options to verify that an HTTP server is actually operating correctly by responding to get requests with expected web pages. Matched content is only required if you add a URL. For example, you can set Matched Content to server test page if the real HTTP server page defined by the URL option contains the phrase server test page. When the FortiGate unit receives the web page in response to the URL get request, the system searches the content of the web page for the Matched Content phrase. This option appears only if Type is HTTP. Enter the number of seconds which must pass after the server health check to indicate a failed health check. Enter the number of times, if any, a failed health check will be retried before the server is determined to be inaccessible.
Port
Interval URL
Matched Content
Timeout Retry
343
Monitor Events Active Sessions RTT (ms) Bytes Processed Graceful Stop/Start
344
3 2
To add an HTTP health check monitor In this example, the HTTP health check monitor includes the URL /index.html and the Matched Phrase Fortinet products. 1 Go to Firewall > Load Balance > Health Check Monitor. 2 Select Create New. 3 Add an HTTP health check monitor that sends get requests to http://<real_server_IP_address>/index.html and searches the returned web page for the phrase Fortinet products.
Name Type Port URL Matched Content Interval Timeout Retry HTTP_health_chk_1 HTTP 80 /index.html Fortinet products 10 seconds 2 seconds 3
4 Select OK. To add the HTTP virtual server 1 Go to Firewall > Load Balance > Virtual Server. 2 Select Create New. 3 Add an HTTP virtual server that allows users on the Internet to connect to the real servers on the internal network. In this example, the FortiGate wan1 interface is connected to the Internet.
Name Type Interface Load_Bal_VS1 HTTP wan1
345
Virtual Server IP
192.168.37.4 The public IP address of the web server. The virtual server IP address is usually a static IP address obtained from your ISP for your web server. This address must be a unique IP address that is not used by another host and cannot be the same as the IP address of the external interface the virtual IP will be using. However, the external IP address must be routed to the selected interface. The virtual IP address and the external IP address can be on different subnets. When you add the virtual IP, the external interface responds to ARP requests for the external IP address. 80 First Alive HTTP cookie Select. The FortiGate unit multiplexes multiple client into a few connections between the FortiGate unit and a real HTTP server. This can improve performance by reducing server overhead associated with establishing multiple connections. Select The FortiGate unit preserves the IP address of the client in the XForwarded-For HTTP header. Move the HTTP_health_chk_1 health check monitor to the Selected list.
Preserve Client IP
Health Check
4 Select OK. To add the real servers and associate them with the virtual server 1 Go to Firewall > Load Balance > Real Server. 2 Select Create New. 3 Configure three real servers that include the virtual server Load_Bal_VS1. Each real server must include the IP address of a real server on the internal network. Configuration for the first real server.
Virtual Server IP Port Weight Maximum Connections Load_Bal_VS1 10.10.10.42 80 Cannot be configured because the virtual server does not include weighted load balancing. 0 Setting Maximum Connections to 0 means the FortiGate unit does not limit the number of connections to the real server. Since the virtual server uses First Alive load balancing you may want to limit the number of connections to each real server to limit the traffic received by each server. In this example, the Maximum Connections is initially set to 0 but can be adjusted later if the real servers are getting too much traffic.
346
Load_Bal_VS1 10.10.10.43 80 Cannot be configured because the virtual server does not include weighted load balancing. 0 Setting Maximum Connections to 0 means the FortiGate unit does not limit the number of connections to the real server. Since the virtual server uses First Alive load balancing you may want to limit the number of connections to each real server to limit the traffic received by each server. In this example, the Maximum Connections is initially set to 0 but can be adjusted later if the real servers are getting too much traffic.
To add the virtual server to a firewall policy Add a wan1 to dmz1 firewall policy that uses the virtual server so that when users on the Internet attempt to connect to the web servers IP address, packets pass through the FortiGate unit from the wan1 interface to the dmz1 interface. The virtual IP translates the destination address of these packets from the virtual server IP address to the real server IP addresses. 1 Go to Firewall > Policy. 2 Select Create New. 3 Configure the firewall policy:
Source Interface/Zone Source Address Destination Address Schedule Service Action NAT Log Allowed Traffic wan1 all (or a more specific address) Load_Bal_VS1 always HTTP ACCEPT Select Select to log virtual server traffic
347
3 2
To complete this configuration, all of the steps would be the same as in Configuring a virtual web server with three real web servers on page 344 except for configuring the real servers. To add the real servers and associate them with the virtual server Use the following steps to configure the FortiGate unit to port forward HTTP packets to the three real servers on ports 8080, 8081, and 8082. 1 Go to Firewall > Load Balance > Real Server. 2 Select Create New. 3 Configure three real servers that include the virtual server Load_Bal_VS1. Each real server must include the IP address of a real server on the internal network and have a different port number. Configuration for the first real server.
Virtual Server IP Port Weight Maximum Connections Load_Bal_VS1 10.10.10.42 8080 Cannot be configured because the virtual server does not include weighted load balancing. 0
348
Load_Bal_VS1 10.10.10.43 8081 Cannot be configured because the virtual server does not include weighted load balancing. 0
All other virtual server settings are not required or cannot be changed. 4 Select OK. To add the real servers and associate them with the virtual server 1 Go to Firewall > Load Balance > Real Server. 2 Select Create New. 3 Configure three real servers that include the virtual server All_Load _Balance. Because the Load Balancing Method is Weighted, each real server includes a weight. Servers with a greater weight receive a greater proportion of forwarded connections, Configuration for the first real server.
349
All_Load_Balance 10.10.10.1 Cannot be configured because the virtual server is an IP server. 1 0 Setting Maximum Connections to 0 means the FortiGate unit does not limit the number of connections to the real server. Since the virtual server uses First Alive load balancing you may want to limit the number of connections to each real server to limit the traffic received by each server. In this example, the Maximum Connections is initially set to 0 but can be adjusted later if the real servers are getting too much traffic.
To add the virtual server to a firewall policy Add a prot2 to port1 firewall policy that uses the virtual server so that when users on the Internet attempt to connect to the web servers IP address, packets pass through the FortiGate unit from the wan1 interface to the dmz1 interface. The virtual IP translates the destination address of these packets from the virtual server IP address to the real server IP addresses. 1 Go to Firewall > Policy. 2 Select Create New. 3 Configure the firewall policy:
350
Source Interface/Zone Source Address Destination Address Schedule Service Action NAT
port2 all (or a more specific address) All_Load_Balance always ANY ACCEPT Select
CLI configuration
Load balancing is configured from the CLI using the config firewall vip command and by setting type to server-load-balance. The default weight is 1 and does not have to be changed for the first real server. Use the following command to add the virtual server and the three weighted real servers. config firewall vip edit All_Load_Balance set type server-load-balance set server-type ip set extintf port2 set extip 192.168.20.20 set ldb-method weighted config realservers edit 1 set ip 10.10.10.1 next edit 2 set ip 10.10.10.2 set weight 2 next edit 3 set ip 10.10.10.3 set weight 3 end end
351
To add the HTTP and HTTPS virtual servers 1 Go to Firewall > Load Balance > Virtual Server. 2 Add the HTTP virtual server that includes HTTP Cookie persistence.
Name Type Interface Virtual Server IP Virtual Server Port HTTP_Load_Balance HTTP port2 192.168.20.20 80 In this example the virtual server uses port 8080 for HTTP sessions instead of port 80. Static HTTP cookie
3 Select OK. 4 Select Create New. 5 Add the HTTPs virtual server that also includes HTTP Cookie persistence.
Name Type Interface Virtual Server IP Virtual Server Port Load Balance Method Persistence HTTPS_Load_Balance HTTPS port2 192.168.20.20 443 Static HTTP cookie
6 Select OK. To add the real servers and associate them with the virtual servers 1 Go to Firewall > Load Balance > Real Server. 2 Select Create New. 3 Configure three real servers for HTTP that include the virtual server HTTP_Load_Balance. Configuration for the first HTTP real server.
Virtual Server IP Port Weight Maximum Connections HTTP_Load_Balance 10.10.10.1 80 Cannot be configured because the virtual server does not include weighted load balancing. 0
352
HTTP_Load_Balance 10.10.10.2 80 Cannot be configured because the virtual server does not include weighted load balancing. 0
4 Configure three real servers for HTTPS that include the virtual server HTTPS_Load_Balance. Configuration for the first HTTPS real server.
Virtual Server IP Port Weight Maximum Connections HTTP_Load_Balance 10.10.10.1 443 Cannot be configured because the virtual server does not include weighted load balancing. 0
353
To add the virtual servers to firewall policies Add a port2 to port1 firewall policy that uses the virtual server so that when users on the Internet attempt to connect to the web servers IP address, packets pass through the FortiGate unit from the wan1 interface to the dmz1 interface. The virtual IP translates the destination address of these packets from the virtual server IP address to the real server IP addresses. 1 Go to Firewall > Policy. 2 Select Create New. 3 Configure the HTTP firewall policy:
Source Interface/Zone Source Address Destination Address Schedule Service Action NAT port2 all HTTP_Load_Balance always HTTP ACCEPT Select
4 Select other firewall options as required. 5 Select OK. 6 Select Create New. 7 Configure the HTTP firewall policy:
Source Interface/Zone Source Address Destination Address Schedule Service Action NAT port2 all HTTPS_Load_Balance always HTTPS ACCEPT Select
354
set extport 8080 set extintf port2 set extip 192.168.20.20 set persistence http-cookie set http-cookie-domain .example.org config realservers edit 1 set ip 10.10.10.1 next edit 2 set ip 10.10.10.2 next edit 3 set ip 10.10.10.3 end end Second, the configuration for the HTTPS virtual IP. In this configuration you dont have to set extport to 443 because extport is automatically set to 443 when server-type is set to https. config firewall vip edit HTTPS_Load_Balance set type server-load-balance set server-type https set extport 443 set extintf port2 set extip 192.168.20.20 set persistence http-cookie set http-cookie-domain .example.org config realservers edit 1 set ip 10.10.10.1 next edit 2 set ip 10.10.10.2 next edit 3 set ip 10.10.10.3 end end
355
356
UTM
UTM overview
UTM
This section provides an introduction to the UTM menu. For more information about the UTM menu, such as how to configure antivirus settings, see the UTM chapter of the FortiOS Handbook. The following topics are included in this section: UTM overview AntiVirus Intrusion Protection Web Filter Email Filter Data Leak Prevention Application Control VoIP
UTM overview
The UTM menu provides a number of security features, such as antivirus or DoS sensors. This menu also includes profiles, which are applied to firewall policies. A profile is specific information that defines how the traffic within a policy is examined and what action is taken based on the examination. The UTM menu contains the following seven features, and some of these features contain profiles which you can then apply to firewall policies: Antivirus provides configuration settings for filtering and scanning viruses, as well as quarantine settings. This feature also contains settings for choosing an antivirus database that is suited to your network requirements. Profiles are available. Intrusion Protection provides configuration settings for IPS sensors and DoS sensors, including creating customized signatures. You can also view detailed information about the predefined signatures. Default protocol decoders are available to view as well. Web filter provides configuration settings for filtering web content, as well as enabling FortiGuard web filter and FortiGuard web filtering overrides. This feature also includes URL filter, override, local categories, and local ratings configuration settings. Profiles are available. Email filtering also known as anti-spam, provides configuration settings for filtering and scanning banned words, IP addresses, and email addresses. Profiles are available. Data Leak Prevention (DLP) provides configuration settings for creating DLP sensors, compound rules and rules. Instead of profiles, DLP sensors are applied to firewall policies. Application Control provides configuration settings for creating application control black/white lists. You can also view detailed information about applications from the list of applications on the Application List page.
357
AntiVirus
UTM
VoIP provides configuration settings for creating a profile, which you can then apply to a firewall policy. This profile also includes enabling logging of SIP and SCCP traffic as well as traffic violations.
AntiVirus
The following explains the antivirus options that you can configure in the Antivirus menu. When configuring a profile, you can apply an antivirus profile to a firewall policy for HTTP, FTP, IMAP, POP3, SMTP, IM, and NNTP sessions. If your FortiGate unit supports SSL content scanning and inspection you can also configure antivirus protection for HTTPS, IMAPS, POP3S, and SMTPS sessions. For more information, see the UTM chapter of the FortiOS Handbook. If you enable virtual domains (VDOMs) on the FortiGate unit, antivirus options are configured separately for each virtual domain. For more information, see Using virtual domains on page 73. This topic includes the following: Profile File Filter Quarantine Quarantine configuration Virus Database
Profile
The Profile page allows you to configure antivirus profiles for applying to firewall policies. A profile is specific information that defines how the traffic within a policy is examined and what action may be taken based on the examination. You can create multiple antivirus profiles for different antivirus scanning requirements. For example, you create an antivirus profile that specifies only virus scanning for POP3 which you then apply to the out-going firewall policy. Antivirus profiles are configured in UTM > Antivirus > Profile.
Profile page Lists each individual antivirus profile that you created. On this page, you can edit, delete or create a new antivirus profile. Create New Edit Delete Name Comments When you select Create New, you are automatically redirected to the New Antivirus Profile page. Select to modify settings to an antivirus profile. Select to remove an antivirus profile. The name of the antivirus profile. A description for the antivirus profile.
New Antivirus Profile page Provides settings for configuring a new antivirus profile. This page also allows you to configure quarantine settings for including a virus sender to the Banned User List. If you are editing an existing antivirus profile, you are redirected to the Edit Antivirus Profile page, which contains the same settings as in the New Antivirus Profile page. Name Enter a name for the profile. If you are editing an existing antivirus profile and want to change the name, enter a new name in this field. You must select OK to save these changes.
358
UTM
AntiVirus
Comment
Enter a description for the profile; this is optional. If you are editing an existing antivirus profile and want to change the description, enter the changes in this field. You must select OK to save the changes. Select any of the following to have the FortiGate unit scan for viruses when these protocols are used: HTTP FTP IMAP POP3 SMTP NNTP Select the Logging check box if you want logs for these events. Select any of the following to have the FortiGate unit scan using a file filter list when these protocols are used: HTTP FTP IMAP POP3 SMTP NNTP Select a filter from the list from the Options drop-down list. Select to enable and configure the sender quarantine. The sender who sent the virus will be put in the Banned Users List. Appears when Quarantine Virus Sender (to Banned Users List) is selected. Select Source IP address to block all traffic sent from the attackers IP address. The attackers IP address is also added to the banned user list. The target address is not affected. Select Viruss Incoming Interface to block all traffic from connecting to the FortiGate interface that received the attack. The interface is added to the banned user list. Appears when Quarantine Virus Sender (to Banned Users List) is selected. You can select whether the virus is banned indefinitely or for a specified number of days, hours, or minutes.
Virus Scan
File Filter
Expires
File Filter
The Filter menu allows you to configure filtering options that block specific file patterns and file types. Files are compared to the enabled file patterns and then the file types from top to bottom. If a file does not match any specified patterns or types, it is passed along to antivirus scanning (if enabled). In effect, files are passed if not explicitly blocked. The FortiGate unit also writes a message to the virus log and sends an alert email message if configured to do so. The FortiGate unit can take either of these actions toward files that match a configured file pattern or type: Allow: the file is allowed to pass. Block: the file is blocked and a replacement messages will be sent to the user. If both file filter and virus scan are enabled, the FortiGate unit blocks files that match the enabled file filter and does not scan these files for viruses. Intercept: the file will be archived to the local hard disk or the FortiAnalyzer unit.
359
AntiVirus
UTM
Using the allow action, this behavior can be reversed with all files being blocked unless explicitly passed. Simply enter all the file patterns or types to be passed with the allow attribute. At the end of the list, add an all-inclusive wildcard (*.*) with a block action. Allowed files continue to antivirus scanning (if enabled) while files not matching any allowed patterns are blocked by the wildcard at the end. For standard operation, you can choose to disable file filter in the profile, and enable it temporarily to block specific threats as they occur. The FortiGate unit is preconfigured with a default list of file patterns: executable files (*.bat, *.com, and *.exe) compressed or archive files (*.gz, *.rar, *.tar, *.tgz, and *.zip) dynamic link libraries (*.dll) HTML application (*.hta) Microsoft Office files (*.doc, *.ppt, *.xl?) Microsoft Works files (*.wps) Visual Basic files (*.vb?) screen saver files (*.scr) program information files (*.pif) control panel files (*.cpl)
Note: The unknown type is any file type that is not listed in the table. The ignored type is the traffic the FortiGate unit typically does not scan. This includes primarily streaming audio and video.
Configure the FortiGate file filter to block files by: File pattern: Files can be blocked by name, extension, or any other pattern. File pattern blocking provides the flexibility to block potentially harmful content. File pattern entries are not case sensitive. For example, adding *.exe to the file pattern list also blocks any files ending in .EXE. In addition to the built-in patterns, you can specify more file patterns to block. For details, see File Filter on page 359. File type: Files can be blocked by type, without relying on the file name to indicate what type of files they are. When blocking by file type, the FortiGate unit analyzes the file and determines the file type regardless of the file name.
360
UTM
AntiVirus
File Filter page Lists each individual file filter that you created. On this page, you can edit, delete or create a new file filter. Create New Name # Entries DLP Rule Comments Delete Edit Select Create New to add a new file filter list to the catalog. The available file filter lists. The number of file patterns or file types in each file filter list. The DLP rules in which each filter is used. An optional description of each file filter list. Select to remove the file filter list from the catalog. Select to edit the file filter.
File Filter Settings page Provides settings for configuring multiple file patterns and file types that make up a file filter. This page also lists the file patterns and file types that were created for the file filter. If you are editing a file filter, you are redirected to this page. Name Comment OK Create New Disable Delete Edit Move Filter Action Enable Filter Type File Type Pattern Action Enable File filter name. To change the name, edit the text in the name field and select OK. Optional comment. To add or edit comment, enter text in comment field and select OK. If you make changes to the list name or comments, select OK to save the changes. Select Create New to add a new file pattern or type to the file filter list. Select to disable a file pattern or type. Select to remove the file pattern or type from the list. Select to edit the file pattern/type and action. Select to move the file pattern or type to any position in the list. The current list of file patterns and types. Files matching the file patterns and types can be set to Block or Allow. For information about actions, see File Filter on page 359. Clear the checkbox to disable the file pattern or type. Select File Name Pattern or File Type. Select a file type from the list. Appears only when File Type is selected in Filter Type. Enter the file pattern. The file pattern can be an exact file name or can include wildcards. The file pattern can be 80 characters long. Select an action from the drop down list: Block or Allow. For more information about actions, see File Filter on page 359. Select to enable or disable the filter.
361
AntiVirus
UTM
Quarantine
FortiGate units with a local disk can quarantine blocked and infected files. Detailed information about the file is found in the log file, which is available for viewing in Log&Report > Archive Access > Quarantine. Submit specific files and add file patterns to the AutoSubmit list so they will automatically be uploaded to Fortinet for analysis. FortiGate units can also quarantine blocked and infected files to a FortiAnalyzer unit, which are also available to view in Log&Report > Archive Access > Quarantine.
Quarantine configuration
You can configure quarantine options for HTTP, FTP, IMAP, POP3, SMTP, MM1, MM3, MM4, MM7, IM, and NNTP traffic. If your FortiGate unit supports SSL content scanning and inspection, you can also quarantine blocked and infected files from HTTPS, IMAPS, POP3S, and SMTPS traffic. For more information, see the UTM chapter of the FortiOS Handbook. Quarantine configuration is located in UTM > Antivirus > Quarantine.
Quarantine Configuration page Provides settings for configuring the actions the FortiGate unit takes when infected, suspicious, and blocked files are scanned for viruses. These settings are for the local disk or FortiAnalyzer unit. You can view these settings or modify them from the Quarantine Configuration page. Quarantine Infected Files Quarantine Suspicious Files Quarantine Blocked Files Quarantine To Select the protocols that you want the FortiGate unit to look at. Select the protocols that you want the FortiGate unit to look at. Select the check boxes within the protocol columns that you want the FortiGate unit to look at. Select to enable storage of blocked, suspicious and infected files to a FortiAnalyzer unit or local disk. By default, the setting is set to None; you must select FortiAnalyzer if you want to store quarantine files. Appears only when either the FortiAnalyzer unit or local disk is selected as the storage location for quarantine files. The maximum size of quarantined files in MB. Setting the size too large may affect performance. The time limit in hours which keeps files in quarantine. The age limit is used to formulate the value in the TTL column of the quarantined files list, located in Log&Report > Archive Access > Quarantine. When the limit is reached, the TTL column displays EXP and the file is deleted (although the entry in the quarantined files list is maintained). Entering an age limit of 0 (zero) means files are stored on the local disk indefinitely, depending on what action was chosen in Log Disk space. Select the action to take when the local disk is full: overwrite the oldest file or drop the newest file. Select to enable the automatic submission feature.
Max Filesize to Quarantine Disk Age Limit (only on FortiGate models with local disks)
Low Disk space Enable AutoSubmit (appears only on FortiGate models with local disks) Use File Pattern Use File Status Heuristics Block Pattern
Select to enable the automatic upload of the files matching the file patterns in Select to enable the automatic upload of files matching the file patterns in the AutoSubmit list. Select to base the automatic upload of files on their Heuristic status. Select to base the automatic upload of files on their Block Pattern status.
362
UTM
AntiVirus
Virus Database
The FortiGate unit contains multiple antivirus databases for you to choose from, so that you can get the maximum protection that you need for your network environment. The Virus Database, located in UTM > Antivirus > Virus Database, is used to detect viruses in network traffic. The databases are available on the Virus Database page: Regular Virus Database Extended Virus Database Extreme Virus Database Flow-based Virus Database
On the Virus Database page, you can also enable grayware detection. This grayware detection includes adware, dial, downloader, hacker tool, keylogger, RAT, and spyware. The extended database provides in the wild viruses as well as a large collection of zoo viruses that have not yet been seen in current virus studies. An enhanced security environment is best suited for this type of database. The flow-based database provides in the wild viruses as well as some commonly seen viruses on the network. Flow-based virus scanning is an alternative to the file-based virus scanning, providing better performance but lower coverage rates than the file-based virus scan. The extreme antivirus database allows scanning for both in the wild and zoo viruses that are no longer seen in recent studies as well as all available signatures that are currently supported. The extreme database provides flexibility, providing the maximum protection without sacrificing performance and is suited to an enhanced security environment. The extreme antivirus database is available only on FortiGate models that have AMC-enabled platforms and large capacity hard drives. The flow-based antivirus database helps to detect malware using IPS. This database includes in the wild viruses along with some commonly seen viruses on the network. The flow-based antivirus database provides an alternative to the file-based virus scan while also providing better performance. The FortiGuard virus definitions are updated when the FortiGate unit receives a new version of FortiGuard antivirus definitions from the FDN. The FortiGuard Center Virus Encyclopedia contains detailed descriptions of the viruses, worms, trojans, and other threats that can be detected and removed by your FortiGate unit using the information in the FortiGuard virus definitions. The FortiGuard AV definitions are updated automatically from the FortiGuard Distribution Network (FDN). Automatic antivirus definition updates are configured from the FDN by going to System > Maintenance > FortiGuard. You can also update the antivirus definitions manually from the system dashboard by going to System > Dashboard > Status.
Note: If virtual domains are enabled, you must configure antivirus file filtering and antivirus settings in antivirus profiles separately for each virtual domain. Grayware settings can only be enabled or disabled when running FortiOS 4.0 MR2 or higher on a FortiGate unit.
363
Intrusion Protection
UTM
Intrusion Protection
The FortiGate Intrusion Protection system combines signature and anomaly detection and prevention with low latency and excellent reliability. With Intrusion Protection, you can create multiple IPS sensors, each containing a complete configuration based on signatures. Then, you can apply any IPS sensor to a firewall policy. You can also create DoS sensors to examine traffic for anomaly-based attacks. If you enable virtual domains (VDOMs) on the FortiGate unit, intrusion protection is configured separately for each virtual domain. For more information, see Using virtual domains on page 73. This topic contains the following: IPS Sensor DoS sensor Predefined Custom Protocol Decoder
IPS Sensor
You can group signatures into IPS sensors for easy selection when applying to firewall policies. You can define signatures for specific types of traffic in separate IPS sensors, and then select those sensors in profiles designed to handle that type of traffic. For example, you can specify all of the web-server related signatures in an IPS sensor, and that sensor can then be applied to a firewall policy that controls all of the traffic to and from a web server protected by the FortiGate unit. The FortiGuard Service periodically updates the pre-defined signatures, with signatures added to counter new threats. Since the signatures included in filters are defined by specifying signature attributes, new signatures matching existing filter specifications will automatically be included in those filters. For example, if you have a filter that includes all signatures for the Windows operating system, your filter will automatically incorporate new Windows signatures as they are added. Each IPS sensor consists of two parts: filters and overrides. Overrides are always checked before filters. Each filter consists of a number of signatures attributes. All of the signatures with those attributes, and only those attributes, are checked against traffic when the filter is run. If multiple filters are defined in an IPS Sensor, they are checked against the traffic one at a time, from top to bottom. If a match is found, the FortiGate unit takes the appropriate action and stops further checking. A signature override can modify the behavior of a signature specified in a filter. A signature override can also add a signature not specified in the sensors filters. Custom signatures are included in an IPS sensor using overrides. The signatures in the overrides are first compared to network traffic. If the IPS sensor does not find any matches, it then compares the signatures in each filter to network traffic, one filter at a time, from top to bottom. If no signature matches are found, the IPS sensor allows the network traffic. The signatures included in the filter are only those matching every attribute specified. When created, a new filter has every attribute set to all which causes every signature to be included in the filter. If the severity is changed to high, and the target is changed to server, the filter includes only signatures checking for high priority attacks targeted at servers.
364
UTM
Intrusion Protection
IPS sensors are configured in UTM > Intrusion Protection > IPS Sensor.
IPS Sensor page Lists each individual IPS sensor, either default or ones that you created. On this page you can edit, delete or create a new IPS sensor. Create New When you select Create New, you are automatically redirected to the New IPS Sensor page. This page provides a name field and comment field. You must enter a name to go the IPS Sensor Settings page. The name of each IPS sensor. An optional description of the IPS sensor. Includes all signatures. The sensor is set to use the default enable status and action of each signature. Includes all signatures. The sensor is set to use the default enable status of each signature, but the action is set to pass. Includes only the signatures designed to detect attacks against clients and uses the default enable status and action of each signature. Includes only the signatures designed to detect attacks against servers and the SMTP, POP3, or IMAP protocols and uses the default enable status and action of each signature. Includes only the signatures designed to detect attacks against servers and the HTTP protocol and uses the default enable status and action of each signature. Removes the IPS sensor from the list. Edit an IPS sensor.
Name Comments all_defaults (default) all_default_pass (default) protect_client (default) protect_email_server (default) protect_http_server (default) Delete Edit
IPS Sensor Settings page Provides settings for configuring multiple filters and overrides that make up an IPS sensor. The IPS Sensor Settings page also lists filters in the Filters section of the page, and overrides in the Override section of the page. You must select Add Pre-defined Override to add a pre-defined override to the sensor, and you need to select Add Custom Override to add a custom override to the sensor. Name If you are editing an existing IPS sensor and you want to change the name, enter a new name in the field. You must select OK to save the change. If you are editing an existing IPS sensor and you want to change the description, enter the changes in the field. You must select OK to save the changes. Select to save changes that you have made to the list. Select to log the IPS filters and patterns. You can view these logs in Log&Report > Log Access. This is the Filters section of the IPS Sensor Settings page. This section lists all the filters you have currently configured for the IPS sensor. You can also modify each filter from this area as well as create additional filters. Select to add a new filter. You can also use the Insert icon. For more information, see FIlters on page 366. Select to modify the filters settings. Select to remove a filter from the list. Select to insert a new filter. Select to move a filter within the list. Select to view the rules within a filter. The name of the filter that you created. The severity level of the filter.
Comments
Create New Edit Delete Insert Move To View Rules Name Severity
365
Intrusion Protection
UTM
The target specified for that filter. The type of protocol for that filter. The type of operating system. The software application, such as Adobe. A green checkmark appears if you select Enable all within the filters settings. If you select Disable all, a gray x appears. A green checkmark appears if you select Enable all within the filters settings. A gray x appears if you select Disable all. The type of action the FortiGate unit will take. This action can be Block, Pass, or Reset. The number of signatures included in the filter. Overrides are not included in the total. This is the Overrides section fo the IPS Sensor Settings page. This section lists all the overrides you have currently configured for the IPS sensor. Select to modify either a custom override or pre-defined override. Select to remove a custom override or pre-defined override. Select to add a pre-defined override. See Pre-defined overrides and custom overrides on page 367.
Add Custom Override Select to add a custom override. See Pre-defined overrides and custom overrides on page 367.
FIlters
A filter is a collection of signature attributes that you specify. The signatures that have all of the attributes specified in a filter are included in the IPS signature. An IPS sensor can contain multiple IPS filters. The following are the available options when configuring filters. Filters are configured in the IPS sensor itself, located in UTM > Intrusion Protection > IPS Sensors.
Edit IPS Filter page Provides settings for configuring a filter. You are automatically redirected to this page when you select Create New in the Filters section of the IPS Sensor Settings page. Name Severity Target OS Enter a name for the filter. Select a severity level. You must specify a severity level if you do not want to all severity levels. Select the type of system targeted by the attack. Select to specify the type of operating system, or select All to include all operating systems. The operating system available include BSD and Solaris. Signatures with an OS attack attribute of All affect all operating system and these signatures are automatically included in any filter regardless of whether a single, multiple, or all operating systems are specified. Select to choose multiple protocols or all available protocols. To select specific protocols, select Specify, and then move each protocol that you want from the Available column to the Selected column using the -> arrow. To remove a protocol from the Selected column, select the protocol and then use the <- arrow to move the protocol back to the Available column.
Protocol
366
UTM
Intrusion Protection
Application
Select to choose multiple applications or all available applications. To select specific applications, select Specify, and then move each application that you want from the Available column to the Selected column using the -> arrow. To remove an application from the Selected column, select the protocol and then use the <- arrow to move the application back to the Available column. Select if you want to add an attacker to the Banned Users List. Select Attackers IP Address to block all traffic sent from the attackers IP address. Traffic from the attackers IP address is blocked because the attackers IP address is in the Banned Users List. Select Attacker and Victim IP Addresses to block all traffic sent from the attacker IP address to the target (victim) IP address. Traffic from the attacker IP address to addresses other than the victim IP address is allowed. The attacker and target IP addresses are added to the banned user list as one entry. Select Attacks Incoming Interface to block all traffic from connecting to the FortiGate interface that received the attack. The interface is added to the banned user list. Select if you want to log the quarantined attackers information. You can select whether the attacker is banned indefinitely or for a specified number of days, hours, or minutes. Configure whether the filter overrides the following signature settings or uses the default settings in the signatures. Select from the options to specify what the FortiGate unit will do with the signatures included in the filter; enable all, disable all, or enable or disable each according to the individual default values as shown in the signature list. Select from the option to specify whether the FortiGate unit will create log entire for the signatures included in the filter: enable all, disable all, or enable or disable logging for each according to the individual default values show in the signature list. Select from the options to specify what the FortiGate unit will do with traffic containing a signature match: block all, reset all, or block or pass traffic according to the individual values shown in the signature list.
Logging
Action
When a pre-defined signature is specified in an override, the default status and action attributes have no effect. These settings must be explicitly set when creating the override. When configuring either a pre-defined override or a custom override, the following options are available regardless which override you are configuring. Predefined and custom overrides are configured in the IPS Sensor itself, located in UTM > Intrusion Protection > IPS Sensors.
367
Intrusion Protection
UTM
Note: Before an override can affect network traffic, you must add it to a filter, and you must select the IPS sensor and then apply it to a policy. An override does not have the ability to affect network traffic until these steps are taken. Configure IPS Override Provides settings for configuring predefined overrides and custom overrides. You are automatically redirected to this page after selecting either Add Pre-defined Override or Add Custom Override in the Override section of the IPS Sensor Settings page. Signature Enable Action Select the browse icon to view the list of available signatures. From this list, select a signature the override will apply to and then select OK. Select to enable the signature override. Select Pass, Block or Reset. When the override is enabled, the action determines what the FortiGate will do with traffic containing the specified signature. Select to enable creation of a log entry if the signature is discovered in network traffic. Select to save packets that trigger the override to the FortiGate hard drive for later examination. For more information, see Packet logging on page 373.
Quarantine Select to enable NAC quarantine for this override. For more information Attackers (to Banned about NAC quarantine, see NAC quarantine and the Banned User list on page 468. Users List) The FortiGate unit deals with the attack according to the IPS sensor or DoS sensor configuration regardless of this setting. Method Select Attackers IP address to block all traffic sent from the attackers IP address. The attackers IP address is also added to the banned user list. The target address is not affected. Select Attacker and Victim IP Addresses to block all traffic sent from the attacker IP address to the target (victim) IP address. Traffic from the attacker IP address to addresses other than the victim IP address is allowed. The attacker and target IP addresses are added to the banned user list as one entry. Select Attacks Incoming Interface to block all traffic from connecting to the FortiGate interface that received the attack. The interface is added to the banned user list. You can select to log the individual signature. You can select whether the attacker is banned indefinitely or for a specified number of days, hours, or minutes. Enter IP addresses to exclude from the override. The override will then apply to all IP addresses except those defined as exempt. The exempt IP addresses are defined in pairs, with a source and destination, and traffic moving from the source to the destination is exempt from the override. The exempt source IP address. Enter 0.0.0.0/0 to include all source IP addresses. The exempt destination IP address. Enter 0.0.0.0/0 to include all destination IP addresses. Select to add other exempt IP addresses to the list in the table below Add. The number identifying the order of the item in the list. The source IP address and netmask entered. The destination IP address and netmask entered. Select to remove an item in the list.
368
UTM
Intrusion Protection
DoS sensor
The FortiGate IPS uses a traffic anomaly detection feature to identify network traffic that does not fit known or common traffic patterns and behavior. For example, one type of flooding is the denial of service (DoS) attack that occurs when an attacking system starts an abnormally large number of sessions with a target system. The large number of sessions slows down or disables the target system so legitimate users can no longer use it. This type of attack gives the DoS sensor its name, although it is capable of detecting and protecting against a number of anomaly attacks. You can enable or disable logging for each traffic anomaly, and configure the detection threshold and action to take when the detection threshold is exceeded. You can create multiple DoS sensors. Each sensor consists of 12 anomaly types that you can configure. When a sensor detects an anomaly, it applies the configured action. One sensor can be selected for use in each DoS policy, allowing you to configure the anomaly thresholds separately for each interface. Multiple sensors allow great granularity in detecting anomalies because each sensor can be configured for the specific needs of the interface it is attached to by the DoS policy. The traffic anomaly detection list can be updated only when the FortiGate firmware image is upgraded. Since an improperly configured DoS sensor can interfere with network traffic, no DoS sensors are present on a factory default FortiGate unit. You must create your own and then select them in a DoS policy before they will take effect. Thresholds for newly created sensors are preset with recommended values that you can adjust to meet the needs of your network. You can configure NAC quarantine for DoS sensors from the FortiGate CLI. For more information, see Configuring NAC quarantine on page 469.
Note: It is important to know normal and expected network traffic before changing the default anomaly thresholds. Setting the thresholds too low could cause false positives, and setting the thresholds too high could allow otherwise avoidable attacks. Note: If virtual domains are enabled on the FortiGate unit, the Intrusion Protection settings must be configured separately in each VDOM. All sensors and custom signatures will appear only in the VDOM in which they were created. DoS Sensor page Lists each default DoS sensor and each DoS sensor that you created. On this page, you can create, edit or delete a DoS sensor. Create New When you create a new DoS sensor, you are automatically redirected to the New DoS Sensor page. The New DoS Sensor page provides a name field and a comemnt file; you must enter a name to go to the Edit DoS Sensor page. The DoS sensor name. An optional description of the DoS sensor. Delete the DoS sensor. Edit the following information: Action, Severity, and Threshold.
Edit DoS Sensor page Provides settings for configuring the action type, threshold amount, and if logging should be enabled for the anomaly. There are twelve default anomalies to configure settings for. If you are editing a DoS Sensor, you are redirected to this page. Name Enter or change the DoS sensor name.
369
Intrusion Protection
UTM
Enter or change an optional description of the DoS sensor. This description will appear in the DoS sensor list. The name of the anomaly. Select the check box to enable the DoS sensor to detect when the specified anomaly occurs. Selecting the check box in the header row will enable all anomalies. Select the check box to enable the DoS sensor to log when the anomaly occurs. Selecting the check box in the header row will enable logging for all anomalies. Anomalies that are not enabled are not logged. Select Pass to allow anomalous traffic to pass when the FortiGate unit detects it, or set Block to prevent the traffic from passing. Displays the number of sessions/packets that must show the anomalous behavior before the FortiGate unit triggers the anomaly action (pass or block). If required, change the number. Range 1 to 2 147 483 647.For more information about how these settings affect specific anomalies, see Table 49 on page 370.
Logging
Action Threshold
tcp_port_scan
udp_scan
icmp_sweep
icmp_src_session icmp_dst_session
370
UTM
Intrusion Protection
Predefined
The FortiGate Intrusion Protection system can use signatures once you have grouped the required signatures in an IPS sensor. If required, you can override the default settings of the signatures specified in an IPS sensor. The FortiGate unit provides a number of pre-built IPS sensors, but you should check their settings before using them, to ensure they meet your network requirements. By using only the signatures you require, you can improve system performance and reduce the number of log messages and alert email messages that the IPS sensor generates. For example, if the FortiGate unit is not protecting a web server, web server signatures are not included. The predefined signature list, located in UTM > Intrusion Protection > Predefined, includes signatures that are currently in the FortiGuard Center Vulnerability Encyclopedia. This encyclopedia also includes additional signatures not found in the Predefined menu. Each signature name is a link to the vulnerability encyclopedia entry for the signature. The vulnerability encyclopedia describes the attack detected by the signature and provides recommended actions and links for more information. The predefined signature list also includes characteristics such as severity of the attack, protocol, and applications affected for each signature. These characteristics give you a quick reference to what the signature is for. You can also use these characteristics to sort the signature list, grouping signatures by common characteristics. The signature list also displays the default action, the default logging status, and whether the signature is enabled by default. The signatures are sorted by name, which is default. You can view predefined signatures in UTM > Intrusion Protection > Predefined.
Note: If virtual domains are enabled on the FortiGate unit, the Intrusion Protection settings are configured separately in each VDOM. All sensors and custom signatures will appear only in the VDOM in which they were created.
Predefined page Lists each predefined signature that is currently on your FortiGate unit. When you select the name of the signature, you are automatically redirected to that signatures detailed defniition in the FortiGuard Center Vulnerability Encyclopedia. This page also indicates which signatures are enabled and which are disabled. Column Settings Select to customize the signature information displayed in the table. You can also readjust the column order. For more information, see Using column settings to control the columns displayed on page 35 and Using filters with column settings on page 35. Clear All Filters Filter If you have applied filtering to the predefined signature list display, select this option to clear all filters and display all the signatures. Edit the column filters to filter or sort the predefined signature list according to the criteria you specify. For more information, see Adding filters to web-based manager lists on page 33. The name of the signature. Each name is also a link to the description of the signature in the FortiGuard Center Vulnerability Encyclopedia. The severity rating of the signature. The severity levels, from lowest to highest, are Information, Low, Medium, High, and Critical. The target of the signature: servers, clients, or both. The protocol the signature applies to. The operating system the signature applies to. The applications the signature applies to.
371
Intrusion Protection
UTM
Enable Action
The default status of the signature. A green circle indicates the signature is enabled. A gray circle indicates the signature is not enabled. The default action for the signature: Pass allows the traffic to continue without any modification. Drop prevents the traffic with detected signatures from reaching its destination. If Logging is enabled, the action appears in the status field of the log message generated by the signature. Tip: To determine what effect IPS protection will have on your network traffic, enable the required signatures, set the action to pass, and enable logging. Traffic will not be interrupted, but you will be able to examine, in detail, which signatures were detected.
Custom
Caution: Custom signatures are an advanced feature. This document assumes the user has previous experience creating intrusion detection signatures
Custom signatures provide the power and flexibility to customize the FortiGate Intrusion Protection system for diverse network environments. The FortiGate predefined signatures represent common attacks. If you use an unusual or specialized application or an uncommon platform, you can add custom signatures based on the security alerts released by the application and platform vendors. You can also create custom signatures to help you block P2P protocols. After creating custom signatures, you need to specify them in IPS sensors that were created to scan traffic. Use custom signatures to block or allow specific traffic. For example, to block traffic containing profanity, add custom signatures similar to the following: set signature 'F-SBID (--protocol tcp; --flow bi_direction; -pattern "bad words"; --no_case)' Custom signatures must be added to a signature override in an IPS filter to have any effect. Creating a custom signature is a necessary step, but a custom signature does not affect traffic simply by being created. Custom signatures are configured in UTM > Intrusion Protection > Custom.
Note: If virtual domains are enabled on the FortiGate unit, the Intrusion Protection settings are configured separately in each VDOM. All sensors and custom signatures will appear only in the VDOM in which they were created.
Custom page Lists each custom signature that you created. On this page you can edit, delete or create a new custom signature. Create New Edit When you select Create New, you are automatically redirected to the New Custom Signature page. Select to modify the custom signature.
372
UTM
Packet logging
Select to remove a custom signature from the list on the page. The name of the custom signature. The signature itself. Enter a name for the custom signature. Enter the signature.
Protocol Decoder
The FortiGate Intrusion Protection system uses protocol decoders to identify the abnormal traffic patterns that do not meet the protocol requirements and standards. For example, the HTTP decoder monitors traffic to identify any HTTP packets that do not meet the HTTP protocol standards. The decoder list is provided for your reference and can be configured using the CLI. For more information, see the FortiGate CLI Reference. You can view protocol decoders in UTM > Intrusion Protection > Protocol Decoder.
Protocol Decoder page Displays a list of the current protocol decoders that are on your FortiGate unit. The FortiGate unit automatically updates this list by contacting the FDN. This lists includes the port number that the protocol decoder monitors. Protocols Ports The protocol decoder name. The port number or numbers that the decoder monitors.
Packet logging
Packet logging is a way you can debug custom signatures or how any signature is functioning in your network environment. If a signature is selected in a custom override, and packet logging is enabled, the FortiGate unit will save any network packet triggering the signature to memory, the internal hard drive (if so equipped), a FortiAnalyzer, or the FortiGuard Analysis and Management Service. These saved packets can later be viewed and saved in PCAP format for closer examination. Packet logs are enabled in either a pre-defined override or a custom override, within an IPS sensor. IPS sensors are located in UTM > Intrusion Protection > IPS Sensor.
373
Web Filter
UTM
There are a number of CLI commands available to further configure packet logging. When logging to memory, the packet-log-memory command defines the maximum amount of memory is used to store logged packets. This command only takes effect when logging to memory. Since only the packet containing the signature is sometimes not sufficient to troubleshoot a problem, the packet-log-history command allows you to specify how many packets are captured when an IPS signature is found in a packet. If the value is set to larger than 1, the packet containing the signature is saved in the packet log, as well as those preceding it, with the total number of logged packets equalling the value. For example, if packet-log-history is set to 7, the FortiGate unit will save the packet containing the IPS signature and the six before it. After the FortiGate unit logs packets, you can view or save them. You can save logged packets as PCAP files. PCAP files can be opened and examined in network analysis software such as Wireshark.
Note: Setting packet-log-history to a value larger than 1 can affect the maximum performance of the FortiGate unit because network traffic must be buffered. The performance penalty depends on the model, the setting, and the traffic load.
Web Filter
The following explains the FortiGate web filtering options in the Web Filtering menu. If your FortiGate unit supports SSL content scanning and inspection you can also configure web filtering for HTTPS traffic. For more information, see the UTM chapter of the FortiOS Handbook. If you enable virtual domains (VDOMs) on the FortiGate unit, web filtering is configured separately for each virtual domain. For more information, see Using virtual domains on page 73. This topic includes the following: Profile Web Content FilterURL Filter URL Filter Override Local Categories Local Ratings Reports
Profile
The Profile menu allows you to configure a web filter profile to apply to a firewall policy. A profile is specific information that defines how the traffic within a policy is examined and what action may be taken based on the examination. If you want to use the SSL Proxy exemption by FortiGuard category feature, you must enable this feature in the FortiGuard Web Filtering section of the New Web Filter Profile page. The SSL Proxy exemption feature allows a FortiGuard category to bypass proxy setup for connection to certain destinations that are based on a FortiGuard category. This web filtering check does not check if the connection should be exempted and blocking or logging of traffic occurs in the HTTP proxy as normal. Web filter profiles are configured in UTM > Web Filter > Profile.
374
UTM
Web Filter
Profile page Lists each web filter profile that you created. On this page, you can edit, delete or create a new web filter profile. Create New Edit Delete Name Comments Select to create a new web filter profile. Select to modify settings to a web filter profile. Select to remove a web filter profile. The name of the web filter profile. A description given to the web filter profile. This is an optional setting.
New Web Filter Profile page Provides settings for configuring a web filter profile. If you want to enable Web Content Filter, you also need to have a web content filter; and if you want to enable Web URL Filter you must have a URL filter. When editing a web filter profile, you are redirected to the Edit Web Filter Profile page. Name Comments Web Content Filter Enter a name for the web filter profile. Enter a description for the web filter profile. This is optional. Select the protocols to apply web content filtering to. In the Options column, select the web content filter list from the drop-down list. To log web content filtering, select the check box in the Logging column. To apply a threshold, enter a number in the Threshold field. Select the protocols to apply web URL filtering to. In the Options column, select a URL filter list from the drop-down list. To log URL filtering, select the check box in the Logging column. When enabled, the supported search engines exclude offensive material from search results. The search engines that you can enable this for are Google, Yahoo! and Bing. Select the check box in the Options column to enforce strict filtering levels of the safe search protection for Google searches. Strict filtering filters both explicit text and images. Select the check box in the Options column to enforce strict filtering levels of the safe search protection for Yahoo! searches. Select the check box in the Options column to enforce strict filtering levels of the safe search protection for Bing searches. Enable and apply FortiGuard Web Filtering options to the profile. Select the check boxes for the protocols that you want to apply FortiGuard web filtering settings to. To enable SSL exempt proxy exemption by FortiGuard category, select the SSL Exempt check box in the row of the category that you want to enable this for. You can apply FortiGuard Quota settings as well. Within Classification, you can also apply FortiGuard Quota settings. Enable to allow FortiGuard Web Filtering override options for the profile. These options are for users who may require access to web sites that are blocked by FortiGuard web filtering. Select the check boxes for the protocols that you want to apply web filtering overrides to. You must select the protocol or the options will be inaccessible. If you want to specify the amount of time users are allowed to browse each type of web category, select Enable in the FortiGuard Web Quota area of FortiGuard Web Filtering Override. You can specify the length of time in hours, minutes, or seconds. Select one of the scopes in the drop-down list. Select one of the types from the drop-down list.
Safe Search
375
Web Filter
UTM
Off-site URLs
This option defines whether the override web page will display the images and other contents from the blocked offsite URLs. For example, all FortiGuard categories are blocked, and you want to visit a site whose images are served from a different domain. You can create a directory override for the site and view the page. If the offsite feature was set to deny, all the images on the page will appear broken because they come from a different domain for which the existing override rule does not apply. If you set the offsite feature to allow, the images on the page will then show up. Only users that apply under the scope for the page override can see the images from the temporary overrides. The users will not be able to view any pages on the sites where the images come from (unless the pages are servers from the same directory as the images themselves) without having to create a new override rule. Specify when the override rule will end. If you have specified User Group in Override Scope, select the user group in the Available column and move that group to the Selected column. Select from the available advanced filter options. If you want to log these options, select the check box in the Logging column. For the HTTP POST Action row, select an action from the Option drop-down list.
Advanced Filter
With web content filter enabled, in a firewall policy every requested web page is checked against the content filter list. The score value of each pattern appearing on the page is added, and if the total is greater than the threshold value set in the web filter profile, the page is blocked. The score for a pattern is applied only once even if it appears on the page multiple times. For each pattern you can select Block or Exempt. Block, blocks access to a web page that matches with the pattern. Exempt allows access to the web page even if other entries in the list that would block access to the page. Web content patterns can be one word or a text string up to 80 characters long. The maximum number of patterns in the list is 5000. Web content filters are configured in UTM > Web Filter > Web Content Filter.
Web Content Filter page Lists each individual web content filter that you created. On this page, you can edit, delete or create a new web content filters. Create New When you select Create New, you are automatically redirected to the New List page. The New List page provides a name field and comment field; you must enter a name to go to the Web Content Filter List page. The name of the web content filter list. The number of content patterns in each web content filter list.
Name # Entries
376
UTM
Web Filter
Optional description of each web content filter list. The comment text must be less than 63 characters long. Otherwise, it will be truncated. Remove a web content filter from the page. Modify a web content filter. When you select Edit, you are automatically redirected to the Web Content Filter Settings page.
Web Content Filter Settings page Provides settings for configuring multiple patterns which make up a web content filter, and also lists the patterns you created for that web content filter. You are automatically redirected to this page from the New List page. If you are editing a web content filter, you are redirected to this page. Name If you are editing an existing web content filter and want to change the name, enter a new name in this field. You must select OK to save the change. If you are editing an existing web content filter and want to change the description, enter a new description in this field. If you want to change the description, enter the changes here as well. You must select OK to save these changes. Select only when you have changed the name in the Name field or added a description (as well as changes) in the Comments field. Select to configure a new pattern for the web content filter. When you select Create New, you are automatically redirected to the New Pattern page. Indicates whether the pattern is enabled or disabled. The current list of patterns that were created for the web content filter. The pattern type used in the pattern list entry. Pattern type can be wildcard or regular expression. The character set to which the pattern belongs: Simplified Chinese, Traditional Chinese, Cyrillic, French, Japanese, Korean, Spanish, Thai, or Western. Action can be either block or exempt. A numerical weighting applied to the pattern. The score values of all the matching patterns appearing on a page are added, and if the total is greater than the threshold value set in the web filter profile, the page is blocked. The score value is not applied when Action is set to Exempt. Use the page controls to view all web content filters within Web Content Filter Settings page. Modify the pattern in the list. Remove the pattern in the list. Enable the pattern so that it will be used in the list. Disable the pattern so that it will not be used in the list. When selected, all patterns within the list are removed. Select one of: Block If the pattern matches, the Score is added to the total for the web page. The page is blocked if the total score of the web page exceeds the web content block threshold defined in the protection profile. Exempt If the pattern matches, the web page will not be blocked even if there are matching Block entries. Enter the content pattern. Web content patterns can be one word or a text string up to 80 characters long. For a single word, the FortiGate unit checks all web pages for that word. For a phrase, the FortiGate checks all web pages for any word in the phrase. For a phrase in quotation marks, the FortiGate unit checks all web pages for the entire phrase.
Comments
OK Create New
Action Score
Page Controls Edit Delete Enable Disable Remove All Entries New Pattern page Action
Pattern
377
Web Filter
UTM
Select a pattern type from the dropdown list: Wildcard or Regular Expression. The character set to which the pattern belongs: Simplified Chinese, Traditional Chinese, Cyrillic, French, Japanese, Korean, Spanish, Thai, or Western. Enter a score for the pattern. When you add a web content list to a protection profile you configure a web content filter threshold for the protection profile. When a web page is matched with an entry in the content block list, the score is recorded. If a web page matches more than one entry the score for the web page increases. When the total score for a web page equals or exceeds the threshold, the page is blocked. The default score for a content list entry is 10 and the default threshold is 10. This means that by default a web page is blocked by a single match. You can change the scores and threshold so that web pages are blocked only if there are multiple matches. For more information, see Web Filtering options on page 473. Select to enable the entry.
Score
Enable
In general, client comforting provides a visual display of progress for web page loading or HTTP or FTP file downloads. Client comforting does this by sending the first few packets of the file or web page being downloaded to the client at configured time intervals so that the client is not aware that the download has been delayed. The client is the web browser or FTP client. Without client comforting, clients and their users have no indication that the download has started until the FortiGate unit has completely buffered and scanned the download. During this delay users may cancel or repeatedly retry the transfer, thinking it has failed. The appearance of a client comforting message (for example, a progress bar) is clientdependent. In some instances, there will be no visual client comforting cue. During client comforting, if the file being downloaded is found to be infected, then the FortiGate unit caches the URL and drops the connection. The client does not receive any notification of what happened because the download to the client had already started. Instead the download stops, and the user is left with a partially downloaded file. If the user tries to download the same file again within a short period of time, then the cached URL is matched and the download is blocked. The client receives the Infection cache message replacement message as a notification that the download has been blocked. The number of URLs in the cache is limited by the size of the cache.
378
UTM
Web Filter
2 The FortiGate unit buffers the file from the server. The connection is slow, so after 20 seconds about one half of the file has been buffered. 3 The FortiGate unit continues buffering the file from the server, and also sends 512 bytes to the client. 4 After 20 more seconds, the FortiGate unit sends the next 512 bytes of the buffered file to the client. 5 When the file has been completely buffered, the client has received the following amount of data: ca * (T/ci) bytes == 512 * (40/20) == 512 * 2 == 1024 bytes, where ca is the client comforting amount, T is the buffering time and ci is the client comforting interval. 6 FTP client: If the file does not contain a virus, the FortiGate unit sends the rest of the file to the client. If the file is infected, the FortiGate unit closes the data connection and sends the FTP Virus replacement message to the client. HTTP client: If the file does not contain a virus, the FortiGate unit sends the rest of the file to the client. If the file is infected, the FortiGate unit closes the data connection but cannot send a message to the client.
Character sets and Web content filtering, Email filtering banned word, and DLP scanning
Caution: Specifying multiple character sets reduces web filtering and DLP performance.
The FortiGate unit converts HTTP, HTTPS, and email content to the UTF-8 character set before applying email filtering banned word checking, web filtering and DLP content scanning as specified in the protection profile. For email messages, while parsing the MIME content, the FortiGate unit converts the content to UTF-8 encoding according to the email message charset field before applying Email filtering banned word checking and DLP scanning. For HTTP get pages, the FortiGate unit converts the content to UTF-8 encoding according to the character set specified for the page before applying web content filtering and DLP scanning. For HTTP post pages, because character sets are not always accurately indicated in HTTP posts, you can use the following CLI command to specify up to five character set encodings. config firewall profile edit <profile_name> set http-post-lang <charset1> [<charset2> ... <charset5>] end The FortiGate unit performs a forced conversion of HTTP post pages to UTF-8 for each specified character set. After each conversion the FortiGate unit applies web content filtering and DLP scanning to the content of the converted page. To view the list of available character sets, enter set http-post-lang ? from within the edit shell for the protection profile. Separate multiple character set names with a space. You can add up to 5 character set names.
379
Web Filter
UTM
URL Filter
Allow or block access to specific URLs by adding them to the URL filter list. Add patterns using text and regular expressions (or wildcard characters) to allow or block URLs. The FortiGate unit allows or blocks web pages matching any specified URLs or patterns and displays a replacement message. You can add multiple URL filter lists and then select the best URL filter list for each profile. You can add the following to block or exempt URLs: complete URLs IP addresses partial URLs to allow or block all sub-domains
Each URL filter list can have up to 5000 entries. URL filters are configured in UTM > Web Filter > URL Filter.
Note: URL blocking does not block access to other services that users can access with a web browser. For example, URL blocking does not block access to ftp://ftp.example.com. Instead, use firewall policies to deny FTP connections.
URL Filter page Lists each URL filter that you created. On this page, you can edit, delete or create a new URL filter. Create New When you select Create New, you are automatically redirected to the New List page. This page provides a name field and comment field; you must enter a name to go to the URL Filter Settings page. The available URL filter lists. The number of URL patterns in each URL filter list. Optional description of each URL filter list. Select to remove the URL filter list from the catalog. The Delete icon is only available if the URL filter list is not selected in any protection profiles. Select to edit the URL filter list, list name, or list comment.
URL Filter Settings page Provides settings for configuring URLs that make up the URL filter, and also lists the URLs that you created. You are automatically redirected to this page from the New List Page. If you are editing a URL filter, you are automatically redirected to this page. Name Comments If you are editing an existing URL filter setting and want to change the name, enter a new name in this field. You must select OK to save the change. If you are editing an existing URL filter setting and want to change the description, enter the changes in this field. You must select OK to save these changes. Select to save the changes you made to the list. Select to add a URL to the URL filter list. When you select Create New, the following appears: Select to change the settings. Select to delete an entry from the list. Select to enable a filter in the list. Select to disable a filter in the list. Select to open the Move URL Filter dialog box and configure where the URL will be positioned in the list. Select to remove all filter entries within the list.
OK Create New Edit Delete Enable Disable Move Remove All Entries
380
UTM
Web Filter
New URL Filter page URL Type Action Enter the URL. Do not include http://. For details about URL formats, see URL formats on page 381. Select a type from the drop-down list: Simple, Regex (regular expression), or Wildcard, Select an action the FortiGate unit will take. An allow match exits the URL filter list and checks the other web filters. An exempt match stops all further checking including AV scanning. A block match blocks the URL and no further checking will be done. Select to enable the URL.
Enable
Tip: Type a top-level domain suffix (for example, com without the leading period) to block access to all URLs with this suffix.
URL formats
When adding a URL to the URL filter list (see URL Filter on page 380), follow these rules: How URL formats are detected when using HTTPS If your FortiGate unit does not support SSL content scanning and inspection or if you have selected the URL filtering option in web content profile for HTTPS content filtering mode under Protocol Recognition, filter HTTPS traffic by entering a top level domain name, for example, www.example.com. HTTPS URL filtering of encrypted sessions works by extracting the CN from the server certificate during the SSL negotiation. Since the CN only contains the domain name of the site being accessed, web filtering of encrypted HTTPS sessions can only filter by domain names. If your FortiGate unit supports SSL content scanning and inspection and if you have selected Deep Scan, you can filter HTTPS traffic in the same way as HTTP traffic. For more information about SSL content scanning and inspection, see the UTM chapter of the FortiOS Handbook. How URL formats are detected when using HTTP URLs with an action set to exempt are not scanned for viruses. If users on the network download files through the FortiGate unit from trusted web site, add the URL of this website to the URL filter list with an action set to exempt so the FortiGate unit does not virus scan files downloaded from this URL. Type a top-level URL or IP address to control access to all pages on a web site. For example, www.example.com or 192.168.144.155 controls access to all pages at this web site. Enter a top-level URL followed by the path and filename to control access to a single page on a web site. For example, www.example.com/news.html or 192.168.144.155/news.html controls the news page on this web site. To control access to all pages with a URL that ends with example.com, add example.com to the filter list. For example, adding example.com controls access to www.example.com, mail.example.com, www.finance.example.com, and so on. Control access to all URLs that match patterns created using text and regular expressions (or wildcard characters). For example, example.* matches example.com, example.org, example.net and so on. FortiGate URL filtering supports standard regular expressions.
381
Web Filter
UTM
Override
You can modify FortiGuard web filtering overrides for users who may require access to web sites that are blocked by FortiGuard web filtering. To configure web filter overrides, see Dynamically assigning VPN client IP addresses from a user group on page 464. When a user attempts to access a blocked site, if override is enabled in the users user group, a link appears on the block page directing the user to an authentication form. The user can enter a user name and password to override the FortiGuard web filtering for the the web site. Overrides are modified in UTM > Web Filter > Override.
Override page Lists the two default overrides, Administration Overrides and User Overrides. You can modify and add new overrides to each default override. Creating new overrides is not supported. Edit Name Administrative Overrides User Overrides Select to change an overrides settings. The name of the override setting. The administrative overrides that you can either modify or add administrative overrides to. See Administrative overrides on page 382. The user overrides that you can modify. See User overrides on page 383.
Administrative overrides
Administrative override rules can be modified to allow access to blocked web sites based on directory, domain name, or category. You can also create new overrides within the Administrative Overrides group. Administrative are backed up with the main configuration and managed by the system. The administrative overrides are not cleaned up when they expire and you can reuse these override entries by extending their expiry dates. You can create administrative overrides using both the CLI and the web-based manager. Administrative overrides are accessed on the Override page, in UTM > Web Filter > Override. If you want to modify or create new rules for the Administrative Override list, you must access Administrative Overrides, located on the Override page.
Administrative Overrides page Lists each individual rule that you created for the Administrative Override. On this page, you can edit, delete or create a new override. You can also disable individual overrides within the list, or delete all overrides within the list. Create New Edit Delete Enable Disable Remove All Entries # Enable URL/Category Scope Select to add a new override rule to the list. This is not available for User Overrides. Select to modify the settings of an administrative override. Select to remove an administrative rule. Select to enable an administrative rule. Select to disable an administrative rule. Select to remove all administrative override entries within the list. The number that displays which order the override is listed in the list. The number identifying the order of the rule in the list. The URL or category to which the rule applies. The user or user group who may use the rule.
382
UTM
Web Filter
Off-site URLs
A green check mark indicates that the off-site URL option is set to Allow, which means that the overwrite web page will display the contents from off-site domains. A gray cross indicates that the off-site URL option is set to Block, which means that the overwrite web page will not display the contents from off-site domains. For more information, see Administrative overrides on page 382. The creator of the override rule. The expiry date of the override rule. Use to navigate through lists on the page. Select Directory, Exact Domain or Categories. If you select Categories, web filtering category options appear including classifications. Enter the URL or the domain name of the website. Select one of the following: User, User Group, IP, or Profile. Depending on the option selected, a different option appears below Scope. Select a user group from the drop-down list. User groups must be configured before FortiGuard Web Filtering configuration. For more information, see User Group on page 460. Enter the name of the user selected in Scope. Enter the IP address in the field. This is for IPv4 addresses. Enter the IPv6 address in the field. This option defines whether the override web page will display the images and other contents from the blocked offsite URLs. For example, all FortiGuard categories are blocked, and you want to visit a site whose images are served from a different domain. You can create a directory override for the site and view the page. If the offsite feature was set to deny, all the images on the page will appear broken because they come from a different domain for which the existing override rule does not apply. If you set the offsite feature to allow, the images on the page will then show up. Only users that apply under the scope for the page override can see the images from the temporary overrides. The users will not be able to view any pages on the sites where the images come from (unless the pages are served from the same directory as the images themselves) without having to create a new override rule. Specify when the override rule will end using the available time options.
URL Scope
User Group
User overrides
Entries are added to the User Overrides list when a user authenticates to enable a user override. User overrides are not backed up as part of the FortiGate configuration. These overrides are also purged when they expire. Administrators can view and delete user overrides. User overrides are accessed on the Override page, in UTM > Web Filter > Override. You cannot modify the entries in the list on the Override page.
User Override page Lists each individual authentication user. You cannot add new overrides to the list. Delete Select to remove a user override setting.
383
Web Filter
UTM
Enable Disable Remove All Entries # Enable URL/Category Scope Off-site URLs
Select to enable a user override. Select to disable a user override. Select to remove all user overrides from the list. The number identifying the order of the item in the list. A green checkmark appears if the user override was enabled. A gray x appears if the user override is disabled. The URL or category to which the override applies. The user or user group who may use the override. A green check mark indicates that the off-site URL option is set to Allow, which means that the overwrite web page will display the contents from off-site domains. A gray cross indicates that the off-site URL option is set to Block, which means that the overwrite web page will not display the contents from off-site domains. For more information, see Administrative overrides on page 382. The creator of the override rule. The expiry date of the override rule.
Local Categories
User-defined categories can be created to allow users to block groups of URLs on a perprofile basis. The categories defined here appear in the global URL category list when configuring a protection profile. Users can rate URLs based on the local categories. Users can create user-defined categories then specify the URLs that belong to the category. This allows users to block groups of web sites on a per profile basis. The ratings are included in the global URL list with associated categories and compared in the same way the URL block list is processed. The local ratings override the FortiGuard server ratings and appear in reports as Local Category. Local categories are configured in UTM > Web Filter > Local Categories.
Local Cateogries page Lists the individual local categories that you created. Local categories are created when you enter the local category in the Create New field. You cannot modify a local category, only remove it from the list. Create New Delete Local categories Enter a local category name in the field and then select Create New. . Select to remove the local category from the list. The category or classification in which the URL has been placed. If the URL is rated in more than one category or classification, trailing dots appear. Select the gray funnel to open the Category Filter dialog box. When the list has been filtered, the funnel changes to green.
Note: If virtual domains are enabled on the FortiGate unit, web filtering features are configured globally. To access these features, select Global Configuration on the main menu.
384
UTM
Web Filter
This feature uses the dynamic profile feature to assign a protection profile that includes FortiGuard Web Filtering to a communication session. Just like normal FortiGuard Web Filtering overrides, when FortiGuard Web Filtering blocks access to a web page, the user can authenticate to override FortiGuard Web Filtering. However, with Browser cookie-based overrides enabled, the browser cookie is used to identify the user instead of the users IP address. To allow browser based FortiGuard Web Filtering overrides in a user group, go to User > User Group, edit a firewall or directory service user group. Select Allow to create FortiGuard Web Filtering overrides and make sure Browser (Cookie) Override is set to Allow. See Dynamically assigning VPN client IP addresses from a user group on page 490. You can also go to UTM > Web Filter > Configuration and configure the following browser cookie-based override settings.
Note: Additional browser cookie-based configuration settings are available from the CLI using the config webfilter cookie-ovrd command. Override Validation Hostname Enter a hostname to be used in cookies sent by the FortiOS Carrier unit to remote sites to support browser cookie-based overrides. See How browser cookie-based FortiGuard Web Filtering overrides work on page 375 for more information. Requests to this host name using the Override Validation Port are permanently intercepted by the FortiOS Carrier unit. The host name can be a domain name (example.com or www.example.com) or a numeric IP address. Enter the port number on which the FortiOS Carrier unit intercepts all requests from the Override Validate Hostname. The default is 20080.
385
Web Filter
UTM
Local Ratings
You can configure user-defined categories and then specify the URLs that belong to the category. This allows users to block groups of web sites on a per profile basis. The ratings are included in the global URL list with associated categories and compared in the same way the URL block list is processed. Local ratings are configured in UTM > Web Filter > Local Ratings.
Local Ratings page Lists each individual local rating that you created. On this page, you can edit, delete or create a new local rating. You can also disable or enable a local rating, as well as remove all local ratings from the page. Create New Search Edit Delete Enable Disable Remove All Entries # Enable URL Category Select to create a new local rating. Enter a word or name to search for the local rating within the list. Select Go to start the search. Select to modify settings to a local rating. Select to remove a local rating from the list. Select to enable a local rating. Select to disable a local rating. Select to remove all local ratings within the list. The number identifying the order of the item in the list. A green checkmark appears if the local rating is enabled. A gray x appears if the local rating is disabled. The URL address of the local rating. The category that was selected for the local rating.
New Local Rating page Provides settings for configuring the URL address that belongs to a category and classification rating. When editing a local rating, you are automatically redirected to the Edit Local Rating page which contains the same settings. URL Category Rating Classification Rating Enter the URL address. Select the ratings for the URL. Select to add classifications.
Reports
The Reports menu appears only for FortiGate models with local disks. The Reports menu, located in UTM > Web Filtering, provides reports based on web filtering profiles. The information generated is in a text and pie chart format. The FortiGate unit maintains statistics for allowed, blocked, and monitored web pages for each category. You can view reports with a range of hours or days, or view the overall activity. You must have a web filtering profile or multiple web filtering profiles configured before you can generate a report from UTM > Web Filtering > Reports.
Reports page Provides settings for configuring a report that you generated. The information for these reports are taken from a web filter profile. You must first configure a web filter profile before you can generate a report. Web Filter Profile Clear report data Report Type Select the web filter profile that you want to see a report based on. Removes all data within the report that you are currently viewing. Select the time frame for the report. Choose from hour, day, or all.
386
UTM
Email Filter
Report Range
Select the time range (format is in the 24 hour clock) or day range (from six days ago to today) for the report. For example, for an hour report type with a range of 13 to 16, the result is a category block report for 1 pm and 4 pm today. For a day report type with a range of 0 to 3, the result is a category block report for three days ago from today. Select to generate a report.
Get Report
The generated report includes the following columns that appear below the pie chart on the Reports page: Category Allowed Blocked Monitored The category for which the statistic was generated. The number of allowed web addresses accessed in the selected time frame. The number of blocked web addresses accessed in the selected time frame. The number of monitored web addresses accessed in the selected time frame.
Email Filter
The following explains FortiGate email filtering for IMAP, POP3, and SMTP email. If your FortiGate unit supports SSL content scanning and inspection you can also configure email filtering for IMAPS, POP3S, and SMTPS email traffic. For more information about SSL content scanning and inspection, see the UTM chapter of the FortiOS Handbook. If you enable virtual domains (VDOMs) on the FortiGate unit, Email filtering is configured separately for each virtual domain. For more information, see Using virtual domains on page 73. You can configure the FortiGate unit to manage unsolicited commercial email by identifying spam messages from known or suspected spam servers. The FortiGuard Antispam Service uses both a sender IP reputation database and a spam signature database, along with sophisticated spam filtering tools, to detect and block a wide range of spam messages. Using FortiGuard Email filtering profile settings you can enable IP address checking, URL checking, E-mail checksum checking, and Spam submission. Updates to the IP reputation and spam signature databases are provided continuously from the global FortiGuard distribution network. From the FortiGuard Antispam Service page in the FortiGuard center you can use IP and signature lookup to check whether an IP address is blacklisted in the FortiGuard antispam IP reputation database, or whether a URL or email address is in the signature database. This section provides an introduction to configuring email filtering. For more information see the FortiGate UTM User Guide.
387
Email Filter
UTM
Each filter passes the email to the next if no matches or problems are found. If the action in the filter is Mark as Spam, the FortiGate unit tags as spam the email according to the settings in the protection profile. For SMTP and SMTPS if the action is discard the email message is discarded or dropped. If the action in the filter is Mark as Clear, the email is exempt from any remaining filters. If the action in the filter is Mark as Reject, the email session is dropped. Rejected SMTP or SMTPS email messages are substituted with a configurable replacement message.
Profile
The Profile menu allows you to configure email filter profiles for applying to firewall policies. A profile is specific information that defines how the traffic within a policy is examined and what action may be taken based on the examination. Email filter profiles are configured in UTM > Email Filter > Profile.
Profile page Lists each individual email filter profile that you created. On this page, you can edit, delete or create a new email filter profile. Create New Edit Delete Select to create a new email filteri profile. Select to modify settings within an email filtering profile. Select to remove an email filter profile.
388
UTM
Email Filter
Name Comments
The name of the email filter profile. The description given to the email filter profile. This is an optional setting.
New Email Filter Profile page Provides settings for configuring multiple email filter profiles. If you are editing an email filter profile, you are automatically redirected to the Edit Email Filter Profile page. Name Comments Enable logging FortiGuard Email Filtering IP Address Check Enter a name for the email filter profile. Enter a description about the email filter profile. This is optional. Select to enable logging for the email filter profile. To access the options, you must select the check box beside the column name of the protocol that you want to configure settings. For example, selecting the check box beside IMAP allows you access to the options available for IMAP. Select to enable a check of the FortiGuard IP Address black list. If the IP Address Check is not enabled, the FortiGate unit does not examine that type of traffic. Note: Disabling the traffic types that you do not want checked to save system resources. Select to enable a check of the FortiGuard URL black list. Select to enable the FortiGuard email message checksum check. Select to add a spam submission message and a link to the message body of all email messages marked as spam by the FortiGuard Email Filtering. If the receiver determines that the email message is not spam, he or she can use the link in the message to inform. You can change the content of this message by going to the Replacement Messages page and customizing the Spam submission message. For more information, see Spam replacement messages on page 157. Select the IP address black/white list in the Options column from the drop-down list. Select to look up the source domain name (from the SMTP HELO command) for SMTP email messages. Select to look up the DNS of the email address.
IP Address BWL Check HELO DNS Lookup E-mail Address DNS Check
Return E-mail DNS Check Select to enable checking that the domain specified in the reply to or from address has an A or MX record. Banned Word Check Select to block email messages based on matching the content of the messages with the words or patterns in the selected email filter banned word list. Select to either tag or discard email that the FortiGate unit determines to be spam. Tagging adds the text in the Tag Format field to the subject line or header of email identified as spam. Note: When you enable virus scanning for SMTP and SMTPS in an antivirus profile, scanning in splice mode is also called streaming mode and is enabled automatically. When scanning in splice mode, the FortiGate unit scans and streams the traffic to the destination at the same time, terminating the stream to the destination if a virus is selected. For more information about configuring splicing, see the splice option for each protocol in the config firewall profile command in the FortiGate CLI Reference. For more information about splicing behavior for SMTP, see the Knowledge Base article FortiGate Proxy Splice and Client Comforting Technical Note. When virus scanning is enabled for SMTP, the FortiGate unit can only discard spam email if a virus is detected. Discarding immediately drops the connection. If virus scanning is not enabled, you can choose to either tag or discard SMTP spam.
Spam Action
389
Email Filter
UTM
Tag Location
Select to add the tag to the subject or MIME header of email identified as spam. If you select to add the tag to the subject line, the FortiGate unit converts the entire subject line, including the tag, to UTF-8 format. This improves display for some email clients that cannot properly display subject lines that use more than one encoding. For more information about preventing conversion of subject line to UTF-8, see the system settings chapter of the FortiGate CLI Reference. To add the tag to the MIME header, you must enable spamhdrcheck in the CLI for each protocol (IMAP, SMTP and POP3). For more information, see profile in the FortiGate CLI Reference. Enter a word or phrase with which to tag email identified as spam. When typing a tag, use the same language as the FortiGate units current administrator language setting. Tag text using other encodings may not be accepted. For example, when entering a spam tag that uses Japanese characters, first verify that the administrator language setting is Japanese, the FortiGate unit will not accept a spam tag written in Japanese characters while the administrator language setting is English. For more information on changing the language settings, see Changing the web-based manager language on page 27. Tags must not exceed 64 bytes. The number of characters constituting 64 bytes of data varies by text encoding, which may vary by the FortiGate administrator language setting.
Tag Format
Banned Word
Control spam by blocking email messages containing specific words or patterns. You can add words, phrases, wild cards and Perl regular expressions to match content in email messages. For information, about wild cards and Perl regular expressions, see Using wildcards and Perl regular expressions on page 393. The FortiGate unit checks each email message against the banned word list. The FortiGate unit can sort email messages containing those banned words in the subject, body, or both. The score value of each banned word appearing in the message is added, and if the total is greater than the threshold value set in the protection profile, the FortiGate unit processes the message according to the setting in the profile. The score for a pattern is applied only once even if the word appears in the message multiple times.. Banned words are configured in UTM > Email Filter > Banned Word.
Banned Word page Lists each banned word list that you created. On this page you can edit, delete or create a new banned word. Create New When you select Create New, you are automatically redirected to the New List page. This page provides a name field and comment field; you must enter a name to go to the Banned Word Settings page. The available Email Filter banned word lists. The number of entries in each banned word list. Optional description of each banned word list. Remove the banned word list from the catalog. The delete icon is available only if the banned word list is not selected in any email filter profiles. Modify the banned word list, list name, or list comment.
Banned Word Settings page Provides settings for configuring a word pattern or word that will be considered banned by the FortiGate unit. These words and word patterns make up a banned word list which appears on the Banned Word page. if you are editing a banned word, you are automatically redirected to the Banned Word Settings page.
390
UTM
Email Filter
Name
If you are editing an existing banned word list and you want to change the name, enter a new name in this field. You must select OK to save these changes. If you are editing an existing banned word list and want to change the description, enter the changes in this field. You must select OK to save these changes. Select to save changes in the list. Select to add a word or phrase to the banned word list. When you select Create New, the following appear: A green checkmark appears if the banned word is enabled. The list of banned words. Select the check box to enable all the banned words in the list. The pattern type used in the banned word list entry. Choose from wildcard or regular expression. For more information, see Using wildcards and Perl regular expressions on page 393. The character set to which the banned word belongs. The location where the FortiGate unit searches for the banned word: Subject, Body, or All. A numerical weighting applied to the banned word. The score values of all the matching words appearing in an email message are added, and if the total is greater than the Banned word check value set in the protection profile, the email is processed according to whether the spam action is set to Discard or Tagged in the email filter profile. The score for a banned word is counted once even if the word appears multiple times on the web page in the email. For more information, see Configuring a protection profile on page 466. Select to modify banned word settings. Select to remove a banned word from the list. Select to enable a banned word. Select to disable a banned word. Select to remove all banned word entries within the list. Use to navigate through the information in the Banned Word menu. Enter the banned word pattern. A pattern can be part of a word, a whole word, or a phrase. Multiple words entered as a pattern are treated as a phrase. The phrase must appear exactly as entered to match. You can also use wildcards or regular expressions to have a pattern match multiple words or phrases.
Comments
Edit Delete Enable Disable Remove All Entries Page Controls Pattern
Pattern Type Select the pattern type for the banned word. Choose from wildcard or regular expressions. For more information, see Using wildcards and Perl regular expressions on page 393. Language Where Score Select the character sets for the banned word. Select where the FortiGate unit should search for the banned word, Subject, Body, or All. Enter a score for the pattern. Each entry in the banned word list added to the profile includes a score. When an email message is matched with an entry in the banned word list, the score is recorded. If an email message matches more than one entry, the score for the email message increases. When the total score for an email message equals or exceeds the threshold, the message is considered spam and handled according to the spam action configured in the profile.
391
Email Filter
UTM
Note: Perl regular expression patterns are case sensitive for banned words. To make a word or phrase case insensitive, use the regular expression /i. For example, /bad language/i will block all instances of bad language regardless of case. Wildcard patterns are not case sensitive.
IP Address
You can add IP address black/white lists and email address black/white lists to filter email. When performing an IP address list check, the FortiGate unit compares the IP address of the message sender to the IP address list items in sequence. When performing an email list check, the FortiGate unit compares the email address of the message sender to the email address list items in sequence. If a match is found, the action associated with the IP address or email address is taken. If no match is found, the message is passed to the next enabled email filte.r You can add multiple IP address lists and then select the best one for each email filter profile. Configure the FortiGate unit to filter email from specific IP addresses. The FortiGate unit compares the IP address of the sender to the check list in sequence. Mark each IP address as clear, spam, or reject. Filter single IP addresses or a range of addresses at the network level by configuring an address and mask. After creating an IP address list, you can add IP addresses to the list. Enter an IP address or a pair of IP address and mask in the following formats: x.x.x.x, for example, 192.168.69.100. x.x.x.x/x.x.x.x, for example, 192.168.69.100/255.255.255.0 x.x.x.x/x, for example, 192.168.69.100/24
IP addresses black/white lists configured in UTM > Email Filter > IP Address.
IP Address page Lists each individual IP address list that you created. On this page, you can edit, delete or create a new IP address list. An IP address list contains multiple IP addresses and this list is configured in the IP Address Settings page. Create New When you select Create New, you are automatically redirected to the New List page. This page provides a name field and comment field; you must enter a name to go to the IPS Address Settings page. The available name of the IP address lists. The number of entries in each IP address list. Optional description of each IP address list. Remove the IP address list from the catalog. The delete icon is available only if the IP address list is not selected in any protection profiles. Edit the IP address list, list name, or list comment.
Edit
IP Address Settings page Provides settings for configuring multiple IP addresses that are then grouped together to form a list of IP addresses. This list is then applied within the email filter profile. You are automatically redirected to this page from the New List page. If you are editing an IP Address, you are automatically redirected to the IP Address Settings page. Name If you are editing an existing IP address list and want to change the name, enter a new name in this field. You must select OK to save the change.
392
UTM
Email Filter
Comments
If you are editing an existing IP address list and want to change the description, enter the changes in this field. You must select OK to save the changes. Select to save modification to the list. Select to create a new IP address list. Edit address information. Select to remove an IP address from the list. Select to enable an IP address. Select to disable an IP address. Select to move the entry to a different position in the list. The firewall policy executes the list from top to bottom. For example, if you have IP address 192.168.100.1 listed as spam and 192.168.100.2 listed as clear, you must put 192.168.100.1 above 192.168.100.2 for 192.168.100.1 to take effect. Select to remove all IP addresses from within the list. Enter the IP address or the IP address/mask pair. Select: Mark as Spam to apply the spam action configured in the protection profile, Mark as Clear to bypass this and remaining email filters, or Mark as Reject (SMTP or SMTPS) to drop the session. Select to enable the address.
Enable
E-mail Address
The FortiGate unit can filter email from specific senders or all email from a domain (such as example.net). You can add email address lists and then select the best one for each protection profile. Email address lists are configured in UTM > Email Filter > E-mail Address.
E-mail Address page Lists each individual email address list that you created. On this page, you can edit, delete or create a new email address list. Create New When you select Create New, you are automatically redirected to the New List page. This page provides a name field and comemnt field; you must enter a name to go to the E-mail Address Settings page. The name of the email address list. The number of entries in each email address list. Optional description of each email address list. Remove the email address list from the catalog. The delete icon is only available if the email address list is not selected in any protection profiles. Edit the email address list, list name, or list comment.
Edit
E-mail Address Settings page Provides settings for configuring multiple email addresses that are then grouped together to form a list of email addresses. This list is then applied within the email filter profile. You are automatically redirected to this page from the New List page. If you are editing an E-mail Address, you are automatically redirected to the E-mail Address Settings page. Name If you are editing an existing email address list and want to change the name, enter a new name in this field. You must select OK to save the change.
393
UTM
Comments
If you are editing an existing email address list and want to change the description, enter the changes in this field. You must select OK to save the changes. Select to save changes to the list. Add a new email address to the email address list. When you select Create New, the following appears: Select to make changes to the email address. Select to remove an email address. Select to enable an email address. Select to disable an email address. Delete all table entries. A green checkmark appears if an email address is enabled. A gray x appears if an email address is disabled. The email address entered. The pattern type chosen for that email address. The action that will be take when that email address is detected. Use to navigate through the lists on the E-mail Address Settings page. Enter the email address. Select a pattern type: Wildcard or Regular Expression. For more information, see Using wildcards and Perl regular expressions on page 393. Select: Mark as Spam to apply the spam action configured in the protection profile, or Mark as Clear to bypass this and remaining email filters. Select to enable the email address.
OK Create New Edit Delete Enable Disable Remove All Entries Enable Email-Address Pattern Type Action Page Controls Add E-Mail Address page E-mail Address Pattern Type
Action
Enable
Note: Because the FortiGate unit uses the server domain name to connect to the DNSBL or ORDBL server, it must be able to look up this name on the DNS server. For information on configuring DNS, see Configuring Networking Options on page 112.
394
UTM
Note: To add a question mark (?) character to a regular expression from the FortiGate CLI, enter Ctrl+V followed by ?. To add a single backslash character (\) to a regular expression from the CLI you must add precede it with another backslash character. For example, fortinet\\.com.
To match a special character such as '.' and * use the escape character \. For example: To match fortinet.com, the regular expression should be: fortinet\.com In Perl regular expressions, * means match 0 or more times of the character before it, not 0 or more times of any character. For example: forti*.com matches fortiiii.com but does not match fortinet.com To match any character 0 or more times, use .* where . means any character and the * means 0 or more times. For example, the wildcard match pattern forti*.com should therefore be fort.*\.com.
Word boundary
In Perl regular expressions, the pattern does not have an implicit word boundary. For example, the regular expression test not only matches the word test but also any word that contains test such as atest, mytest, testimony, atestb. The notation \b specifies the word boundary. To match exactly the word test, the expression should be \btest\b.
Case sensitivity
Regular expression pattern matching is case sensitive in the web and Email Filter filters. To make a word or phrase case insensitive, use the regular expression /i. For example, /bad language/i will block all instances of bad language, regardless of case.
395
UTM
Table 3: Perl regular expression formats (Continued) [^abc]+ \d\d /i \w+ 100\s*mk abc\b perl\B \x Any (nonempty) string which does not contain any of a, b, and c (such as defg) Any two decimal digits, such as 42; same as \d{2} Makes the pattern case insensitive. For example, /bad language/i blocks any instance of bad language regardless of case. A word: A nonempty sequence of alphanumeric characters and low lines (underscores), such as foo and 12bar8 and foo_1 The strings 100 and mk optionally separated by any amount of white space (spaces, tabs, newlines) abc when followed by a word boundary (for example, in abc! but not in abcd) perl when not followed by a word boundary (for example, in perlert but not in perl stuff) Tells the regular expression parser to ignore white space that is neither preceded by a backslash character nor within a character class. Use this to break up a regular expression into (slightly) more readable parts. Used to add regular expressions within other text. If the first character in a pattern is forward slash '/', the '/' is treated as the delimiter. The pattern must contain a second '/'. The pattern between / will be taken as a regular expressions, and anything after the second / will be parsed as a list of regular expression options ('i', 'x', etc). An error occurs if the second '/' is missing. In regular expressions, the leading and trailing space is treated as part of the regular expression.
/x
396
UTM
If you enable virtual domains (VDOMs) on the FortiGate unit, data leak prevention is configured separately for each virtual domain. For more information, see Using virtual domains on page 73. This topic includse the following: Sensor Compound rules Rule DLP archiving
Sensor
Caution: Before use, examine the sensors and rules in the sensors closely to ensure you understand how they will affect the traffic on your network.
DLP sensors are simply collections of DLP rules and DLP compound rules. The DLP sensor also includes settings such as action, archive, and severity for each rule or compound rule. Once a DLP sensor is configured, it can be specified in a protection profile. Any traffic handled by the policy in which the protection profile is specified will enforce the DLP sensor configuration. You can create a new DLP sensor and configure it to include the DLP rules and DLP compound rules required to protect the traffic leaving your network. A DLP sensor must be created before it can be configured by adding rules and compound rules. Sensors are configured in UTM > Data Leak Prevention > Sensor.
Sensor page Lists each individual DLP sensor that you created, as well as the default DLP sensors. On this page, you can edit DLP sensors (default or ones that you created), delete or create new DLP sensors. Create New When you select Create New, you are automatically redirected to the New DLP List page. This page provides a name field and comment field; you must enter a name to go to the Sensor Settings page. The DLP sensor name. There are six default sensors. The following default DLP sensors are provided with your FortiGate unit. You can use these as provided, or modify them as required. DLP archive all email (POP3, IMAP, and SMTP), FTP, HTTP, and IM traffic. For each rule in the sensor, Archive is set to Full. No blocking or quarantine is performed. See DLP archiving on page 405. You can add the All-Session-Control rule to also archive session control content. If you have a FortiGate unit that supports SSL content scanning and inspection, you can edit the All-Email rule to archive POP3S, IMAPS, and SMTPS traffic. For more information about SSL content
Name
Content_Archive (default)
traffic.
scanning and inspection, see the UTM chapter of the FortiOS Handbook. You can also edit the All-HTTP rule to archive HTTPS
397
UTM
Content_Summary (default)
DLP summary archive all email (POP3, IMAP, and SMTP), FTP, HTTP, and IM traffic. For each rule in the sensor, Archive is set to Summary Only. No blocking or quarantine is performed. See DLP archiving on page 405. You can add the All-Session-Control rule to also archive session control content. If you have a FortiGate unit that supports SSL content scanning and inspection, you can edit the All-Email rule to archive POP3S, IMAPS, and SMTPS traffic. You can also edit the All-HTTP rule to archive HTTPS traffic. For more information about SSL content scanning and inspection, see the UTM chapter of the FortiOS Handbook. The number formats used by American Express, Visa, and Mastercard credit cards are detected in HTTP and email traffic. As provided, the sensor is configured not to archive matching traffic and an action of None is set. Configure the action and archive options as required. Files larger than 5MB will be detected if attached to email messages or if send using HTTP or FTP. As provided, the sensor is configured not to archive matching traffic and an action of None is set. Configure the action and archive options as required. The number formats used by U.S. Social Security and Canadian Social Insurance numbers are detected in email and HTTP traffic. As provided, the sensor is configured not to archive matching traffic and an action of None is set. Configure the action and archive options as required. The optional description of the DLP sensor. Select to remove a DLP sensor from the list. Select to make changes to a DLP sensor.
Credit-Card (default)
Large-File (default)
SSN-Sensor (default)
Sensor Settings page Provides settings for configuring rules that are added to DLP sensors. When you select Create New to create a new sensor, you are automatically redirected to the New DLP Sensor page. You must enter a name for the sensor in the Name field to continue configuring the sensor, at which time you are redirected to the Sensor Settings page. When you select Create New on this page, you are redirected to the New DLP Sensor Rule page. Name Comment If you are editing an existing sensor and want to change the name, enter a name in this field. You must select OK to save the change. If you are editing an existing sensor and want to change the description, etner the changes in this field. You must select OK to save these changes. Select Create New to add a new rule or compound rule to the sensor. When you select a specify type of member, either Compound rule or Rule, different options become available. You can disable a rule or compound rule by clearing this check box. The item will be listed as part of the sensor, but it will not be used. The names of the rules and compound rules included in the sensor. The action configured for each rule. If the selected action is None, no action will be listed. Although archiving is enabled independent of the action, the Archive designation appears with the selected action. For example, if you select the Block action and set Archive to Full for a rule, the action displayed in the sensor rule list is Block, Archive. The optional description of the rule or compound rule. Select to modify a rule or compound rule. Select to remove a compound rule or a rule from the list. Select to enable a compound rule or rule.
Create New
398
UTM
Disable Action
Select to disable a compound rule or rule. Select an action that the FortiGate unit will take for that particular rule or compound rule. When you select Ban, Ban Sender, Quarantine IP address, or Quarantine Interface, the Expires options appear. Select the type of archival logging for that sensor. Appears when Quarantine Virus Sender (to Banned Users List) is selected. You can select whether the attacker is banned indefinitely or for a specified number of days, hours, or minutes. Enter the severity of the content that the rule or compound rule is a match for. Use the severity to indicate the seriousness of the problems that would result from the content passing through the FortiGate unit. For example, if the DLP rule finds high-security content the severity could be 5. On the other hand if the DLP rule finds any content the severity should be 1. DLP adds the severity to the severity field of the log message generated when the rule or compound rule matches content. The higher the number the greater the severity. Select Rule or Compound Rule. The rules of the selected type will be displayed in the table below.
Archive Expires
Severity
Member Type
Note: DLP prevents duplicate action. Even if more than one rule in a sensor matches some content, DLP will not create more than one DLP archive entry, quarantine item, or ban entry from the same content.
Compound rules
DLP compound rules are groupings of DLP rules that also change the way they behave when added to a DLP sensor. Individual rules can be configured with only a single attribute. When this attribute is discovered in network traffic, the rule is activated. Compound rules allow you to group individual rules to specify far more detailed activation conditions. Each included rule is configured with a single attribute, but every attribute must be present before the rule is activated. For example, create two rules and add them to a sensor: Rule 1 checks SMTP traffic for a sender address of [email protected] Rule 2 checks SMTP traffic for the word sale in the message body
When the sensor is used, either rule could be activated its configured condition is true. If only one condition is true, only the corresponding rule would be activated. Depending on the contents of the SMTP traffic, neither, either, or both could be activated. If you remove these rules from the sensor, add them to a compound rule, and add the compound rule to the sensor, the conditions in both rules have to be present in network traffic to activate the compound rule. If only one condition is present, the message passes without any rule or compound rule being activated. By combining the individually configurable attributes of multiple rules, compound rules allow you to specify far more detailed and specific conditions to trigger an action. Compound rules for DLP sensors are configured in UTM > Data Leak Prevention > Compund.
399
UTM
Compound page Lists the coupound rules that you created. On this page, you can edit, delete or create new compound rules. Create New Name Comments DLP sensors Edit Delete Select Create New to add a new compound rule. The compound rule name. The optional description of the compound rule. If the compound rule is used in any sensors, the sensor names are listed here. Select to modify a compound rule. Select to remove a compound rule from the Compound page. If a compound rule is used in a sensor, the Delete icon will not be available. Remove the compound rule from the sensor and then delete it.
New/Edit Compound Rule page Provides settings for configuring compound rules. When you edit an existing compound rule, you are automatically redirected to this page. Name Comments Protocol Enter a name for the compound rule. An optional description of the compound rule. Select the type of content traffic that the DLP compound rule applies to. The rules that you can add to the compound rule vary depending on the protocol that you select. You can select the following protocols: Email, HTTP, FTP, NNTP, and Instant Messaging.
AIM, ICQ, MSN, Yahoo! When you select the Instant Messaging protocol, you can select the supported IM protocols for which to add rules. Only the rules that include all of the selected protocols can be added to the compound rule. HTTP POST, HTTP GET When you select the HTTP protocol, you can configure the compound rule to apply to HTTP post or HTTP get sessions or both. Only the rules that include all of the selected options can be added to the compound rule. HTTPS POST, HTTPS GET When you select the HTTP protocol, if your FortiGate unit supports SSL content scanning and inspection, you can configure the compound rule to apply to HTTPS post or HTTPS get sessions or both. Only the rules that include all of the selected options can be added to the compound rule. For more information about SSL content scanning and inspection, see the UTM chapter of the FortiOS Handbook. To scan these encrypted traffic types, you must set HTTPS Content Filtering Mode to Deep Scan (Decrypt on SSL Traffic) in the Protocol Recognition section of the protection profile. If URL Filtering is selected, the DLP sensors will not scan HTTPS content. When you select the FTP protocol, you can configure the compound rule to apply to FTP put, or FTP get sessions or both. Only the rules that include all of the selected options can be added to the compound rule. When you select the Email protocol, you can select the supported email protocols for which to add rules. Only the rules that include all of the selected protocols can be added to the compound rule. Select the rule to include in the compound rule. Only the rules that include all of the selected protocols can be added to the compound rule. Use the add rule and delete rule icons to add and remove rules from the compound rule. Select the add rule icon and then select rule from the list.
Rules
400
UTM
Rule
Caution: Before use, examine the rules closely to ensure you understand how they will affect the traffic on your network.
DLP rules are the core element of the data leak prevention feature. These rules define the data to be protected so the FortiGate unit can recognize it. For example, an included rule uses regular expressions to describe Social Security number: ([0-6]\d{2}|7([0-6]\d|7[0-2]))[ \-]?\d{2}[ \-]\d{4} Rather than having to list every possible Social Security number, this regular expression describes the structure of a Social Security number. The pattern is easily recognizable by the FortiGate unit. For more information about regular expressions, see Using wildcards and Perl regular expressions on page 579. DLP rules can be combined into compound rules and they can be included in sensors. If rules are specified directly in a sensor, traffic matching any single rule will trigger the configured action. If the rules are first combined into a compound rule and then specified in a sensor, every rule in the compound rule must match the traffic to trigger the configured action. Individual rules in a sensor are linked with an implicit OR condition while rules within a compound rule are linked with an implicit AND condition. You can now create a session control DLP rule that includes SIP, SIMPLE or SCCP for DLP archiving within the CLI. For more information, see the FortiGate CLI Reference. Rules are configured in UTM > Data Leak Prevention > Rule.
Note: These rules affect only unencrypted traffic types. If you are using a FortiGate unit able to decrypt and examine encrypted traffic, you can enable those traffic types in these rules to extend their functionality if required. Rule page Lists the rules that you created. On this page, you can edit, delete or create new rules. Create New Edit Delete Select Create New to add a new rule. Select to modify a rule. Select to remove a rule from the list on the Rule page. If a compound rule is used in a compound rule or a sensor, the delete icon will not be available. Remove the compound rule from the compound rule or sensor and then delete it. The rule name. There are many default rules to choose from that are provided with your FortiGate unit. You can modify the default rules as required. These rules will detect all traffic of the specified type.
Name
All-Email, All-FTP, All-HTTP, All-IM, AllNNTP, All-SessionControl Email-AmEx, Email-Canada-SIN, Email-US-SSN, Email-Visa-Mastercard
These four rules detect American Express numbers, Canadian Social Insurance Numbers, U.S. Social Security Numbers, or Visa and Mastercard numbers within the message bodies of SMTP, POP3, and IMAP email traffic.
401
UTM
These four rules detect American Express numbers, Canadian Social Insurance Numbers, U.S. Social Security Numbers, or Visa and Mastercard numbers within POST command in HTTP traffic. The HTTP POST is used to send information to a web server. As written, these rules are designed to detect data the user is sending to web servers. This rule does not detect the data retrieved with the HTTP GET command, which is used to retrieve load web pages.
Email-Not-Webex, These rules prevent DLP from matching email or HTTP pages that HTTP-Post-Not-Webex contain the string WebEx. Large-Attachment Large-FTP-Put Large-HTTP-Post Comments Compound Rules DLP Sensors This rule detects files larger than 5MB attached to SMTP, POP3, and IMAP email messages. This rule detects files larger than 5MB sent using the FTP PUT protocol. Files received using FTP GET are not examined. This rule detects files larger than 5MB sent using the HTTP POST protocol. Files received using HTTP GET are not examined. The optional description of the rule. If the rule is included in any compound rules, the compound rule names are listed here. If the rule is used in any sensors, the sensor names are listed here.
New/Edit Regular Rule Provides settings for configuring each type of rule, for example, a rule that is for emails. Name Comments Protocol The name of the rule. An optional comment describing the rule. Select the type of content traffic that the DLP rule the rule will apply to. The available rule options vary depending on the protocol that you select. You can select the following protocols: Email, HTTP, FTP, NNTP, Instant Messaging and Session Control.
AIM, ICQ, MSN, Yahoo! When you select the Instant Messaging protocol, you can configure the rule to apply to file transfers using any or all of the supported IM protocols (AIM, ICQ, MSN, and Yahoo!). Only file transfers using the IM protocols are subject to DLP rules. IM messages are not scanned. HTTP POST, HTTP GET When you select the HTTP protocol, you can configure the rule to apply to HTTP post or HTTP get traffic or both. HTTPS POST, HTTPS GET When you select the HTTP protocol, if your FortiGate unit supports SSL content scanning and inspection, you can also configure the HTTP rule to apply to HTTPS get or HTTPS post sessions or both. For more information about SSL content scanning and inspection, see the UTM chapter of the FortiOS Handbook. To scan these encrypted traffic types, you must set HTTPS Content Filtering Mode to Deep Scan (Decrypt on SSL Traffic) in the Protocol Recognition section of the protection profile. If URL Filtering is selected, the DLP sensors will not scan HTTPS content. When you select the FTP protocol, you can configure the rule to apply to FTP put, or FTP get sessions or both. When you select the Email protocol, you can configure the rule to apply to any or all of the supported email protocols (SMTP, IMAP, and POP3).
SMTPS IMAPS POP3S When you select the Email protocol, if your FortiGate unit supports SSL content scanning and inspection, you can also configure the rule to apply to SMTPS, IMAPS, POP3S or any combination of these protocols. For more information about SSL content scanning and inspection, see the UTM chapter of the FortiOS Handbook.
402
UTM
When you select the Session Control protocol, you can configure the rule to apply to any or all of the supported session control protocols (SIP, SIMPLE, and SCCP). The only rule option for the session control protocols is Always. This option matches all session control traffic is used for session control DLP archiving. Use the Rule settings to configure the content that the DLP rule matches. These settings change according to what protocol is chosen. For example, when the protocol HTTPS is selected, no Rule settings appear. Note: For HTTPS, no settings are given because there are none. Match any content. This option is available for all protocols. Search for the specified string in the message or page body. Search for the specified string in the message subject. This option is available for Email. Search for the specified string in the message sender user ID or email address. This option is available for Email and IM. For email, the sender is determined by the From: address in the email header. For IM, all members of an IM session are senders and the senders are determined by finding the IM user IDs in the session. Search for the specified string in the message recipient email address. Check the attachment file size. Search email messages for file types or file patterns as specified in the selected file filter. Search for the text within the attachment that uses either UTF-8 or ASCII, and may contain wildcard or regular expression. Check the total size of the information transfer. In the case of email traffic for example, the transfer size includes the message header, body, and any encoded attachment. Search for the specified binary string in network traffic. Search for traffic from the specified authenticated user. Search for traffic from any user in the specified user group. Check whether the file is or is not encrypted. Encrypted files are archives and MS Word files protected with passwords. Because they are password protected, the FortiGate unit cannot scan the contents of encrypted files. Match any content. This option is available for all protocols. Search for the specified string in the message or page body. Search for the specified URL in HTTP traffic. Check the total size of the information transfer. In the case of email traffic for example, the transfer size includes the message header, body, and any encoded attachment. Search the contents of cookies for the specified text. This option is available for HTTP. Search for the specified CGI parameters in any web page with CGI code. This option is available for HTTP. Search for the specified string in HTTP headers. Search for the specified host name when contacting a HTTP server.
Rule
When the protocol type Email is selected in Protocol, the following appear: Always Body Subject Sender
Binary file pattern (enter in base 64) Authenticated User User group File
When the protocol type HTTP is selected in Protocol, the following appear: Always Body URL Transfer Size
403
UTM
File type
Search for the specified file patterns and file types. The patterns and types configured in file filter lists and a list is selected in the DLP rule. For more information about file filter lists, see File Filter on page 518. Search for the specified binary string in network traffic. Search for traffic from the specified authenticated user. Search for traffic from any user in the specified user group. Check whether the file is or is not encrypted. Encrypted files are archives and MS Word files protected with passwords. Because they are password protected, the FortiGate unit cannot scan the contents of encrypted files. Match any content. This option is available for all protocols. Check the total size of the information transfer. In the case of email traffic for example, the transfer size includes the message header, body, and any encoded attachment. Search for the severs IP address in a specified range. Search for the specified file patterns and file types. The patterns and types configured in file filter lists and a list is selected in the DLP rule. For more information about file filter lists, see File Filter on page 518. Search for the specified text in transferred text files. Search for the specified binary string in network traffic. Search for traffic from the specified authenticated user. Search for traffic from any user in the specified user group. Check whether the file is or is not encrypted. Encrypted files are archives and MS Word files protected with passwords. Because they are password protected, the FortiGate unit cannot scan the contents of encrypted files. Match any content. This option is available for all protocols. Search for the specified string in the message or page body. Check the total size of the information transfer. In the case of email traffic for example, the transfer size includes the message header, body, and any encoded attachment. Search for the servers IP address in a specified address range. Search for the specified file patterns and file types. The patterns and types configured in file filter lists and a list is selected in the DLP rule. For more information about file filter lists, see File Filter on page 518. Search for the specified text in transferred text files. Search for the specified binary string in network traffic. Search for traffic from the specified authenticated user. Search for traffic from any user in the specified user group. Check whether the file is or is not encrypted. Encrypted files are archives and MS Word files protected with passwords. Because they are password protected, the FortiGate unit cannot scan the contents of encrypted files. Match any content. This option is available for all protocols.
Binary file pattern (enter in base 64) Authenticated User User group File
When the protocol type FTP is selected in Protocol, the following appear: Always Transfer Size
File text Binary file pattern (enter in base 64) Authenticated User User group File
When the protocol type NNTP is selected in Protocol, the following appear: Always Body Transfer Size
File text Binary file pattern (enter in base 64) Authenticated User User group File
When the protocol type Instant Messaging is selected in Protocol, the following appear: Always
404
UTM
Sender
Search for the specified string in the message sender user ID or email address. This option is available for Email and IM. For email, the sender is determined by the From: address in the email header. For IM, all members of an IM session are senders and the senders are determined by finding the IM user IDs in the session. Check the total size of the information transfer. In the case of email traffic for example, the transfer size includes the message header, body, and any encoded attachment. Search for the specified file patterns and file types. The patterns and types configured in file filter lists and a list is selected in the DLP rule. For more information about file filter lists, see File Filter on page 518. Search for the specified text in transferred text files. Search for the specified binary string in network traffic. Search for traffic from the specified authenticated user. Search for traffic from any user in the specified user group. Check whether the file is or is not encrypted. Encrypted files are archives and MS Word files protected with passwords. Because they are password protected, the FortiGate unit cannot scan the contents of encrypted files.
Transfer Size
File type
File Text Binary file pattern (enter in base 64) Authenticated User User group File
Rule operators that appear on the New/Edit Regular Rule page are:
matches/does not match This operator specifies whether the FortiGate unit is searching for the presence of specified string, or for the absence of the specified string. Matches: The rule will be triggered if the specified string is found in network traffic. Does not match: The rule will be triggered if the specified string is not found in network traffic. Select the encoding used for text files and messages. Select the means by which patterns are defined. For more information about wildcards and regular expressions, see Using wildcards and Perl regular expressions on page 579 This operator specifies if the rule is triggered when a condition is true or not true. Is: The rule will be triggered if the rule is true. Is not: The rule will be triggered if the rule is not true. For example, if a rule specifies that a file type is found within a specified file type list, all matching files will trigger the rule. Conversely, if the rule specifies that a file type is not found in a file type list, only the file types not in the list would trigger the rule. These operators allow you to compare the size of a transfer or attached file to an entered value. == is equal to the entered value. >= is greater than or equal to the entered value. <= is less than or equal to the entered value. != is not equal to the entered value.
==/>=/<=/!=
405
Application Control
UTM
DLP archiving
You can use DLP archiving to collect and view historical logs that have been archived to a FortiAnalyzer unit or the FortiGuard Analysis and Management service. DLP archiving is available for FortiAnalyzer when you add a FortiAnalyzer unit to the FortiGate configuration (see Remote logging to a FortiAnalyzer unit on page 491). The FortiGuard Analysis and Management server becomes available when you subscribe to the FortiGuard Analysis and Management Service (see the FortiGuard Analysis and Management Service Administration Guide). You can configure full DLP archiving and summary DLP archiving. Full DLP archiving includes all content, for example, full email DLP archiving includes complete email messages and attachments. Summary DLP archiving includes just the meta data about the content, for example, email message summary records include only the email header. You can archive Email, FTP, HTTP, IM, MMS, and session control content: Email content includes IMAP, POP3, and SMTP sessions. Email content can also include email messages tagged as spam by FortiGate Email filtering. If your FortiGate unit supports SSL content scanning and inspection, Email content can also include IMAPS, POP3S, and SMTPS sessions. For more information about SSL content scanning and inspection, see the UTM chapter of the FortiOS Handbook. HTTP content includes HTTP sessions. If your FortiGate unit supports SSL content scanning and inspection HTTP content can also include HTTPS sessions. For more information about SSL content scanning and inspection, see the UTM chapter of the FortiOS Handbook. IM content includes AIM, ICQ, MSN, and Yahoo! sessions. MMS content includes MM1, MM3, MM4, and MM7 sessions. Session control content includes SIP, SIMPLE and SCCP sessions. Only summary DLP archiving is available for SIP and SCCP. Full and summary DLP archiving is available for SIMPLE.
You add DLP sensors to archive Email, Web, FTP, IM, and session control content. Archiving of spam email messages is configured in protection profiles. MMS archiving is configured in MMS protection profiles. See MMS DLP archive options on page 532. DLP archiving is enabled in the DLP sensor itself. DLP sensors are located in UTM > Data Leak Prevention > Sensor. You can also use either Content_Archive or Content_Summary sensors to archive DLP logs instead of creating a new DLP sensor for archiving purposes. You can now create a session control DLP rule that includes SIP, SIMPLE or SCCP for DLP archiving within the CLI. For more information, see the FortiGate CLI Reference.
Application Control
This section describes how to configure the application control options associated with firewall protection profiles. If you enable virtual domains (VDOMs) on the FortiGate unit, the application control configuration of each VDOM is entirely separate. For example, application black/white lists created in one VDOM will not be visible in other VDOMs. For details, see Using virtual domains on page 73.
406
UTM
Application Control
Using the application control UTM feature, your FortiGate unit can detect and take action against network traffic depending on the application generating the traffic. Based on FortiGate Intrusion Protection protocol decoders, application control is a more userfriendly and powerful way to use Intrusion Protection features to log and manage the behavior of application traffic passing through the FortiGate unit. Application control uses IPS protocol decoders that can analyze network traffic to detect application traffic even if the traffic uses non-standard ports or protocols. The FortiGate unit can recognize the network traffic generated by a large number of applications. You can create application control black/white lists that specify the action to take with the traffic of the applications you need to manage and the network on which they are active. Add application control black/white lists to protection profiles applied to the network traffic you need to monitor. Fortinet is constantly increasing the list of applications that application control can detect by adding applications to the FortiGuard Application Control Database. Because intrusion protection protocol decoders are used for application control, the application control database is part of the FortiGuard Intrusion Protection System Database and both of these databases have the same version number. You can find the version of the application control database that is installed on your FortiGate unit, by going to the License Information dashboard widget and find IPS Definitions version. To see the complete list of applications supported by FortiGuard Application Control go to the FortiGuard Application Control List. This web page lists all of the supported applications. You can select any application name to see details about the application.
Figure 1: ISIS.Over.IPv4 application page
Black/White List
Each application control black/white list contains details about the application traffic to be monitored and the actions to be taken when it is detected. An application control black/white list must be selected in a firewall policy to take effect. There are no default black/white lists provided.
407
Application Control
UTM
The FortiGate unit examines network traffic for the application entries in the listed order, one at a time, from top to bottom. Whenever a match is detected, the action specified in the matching rule is applied to the traffic and further checks for application entry matches are stopped. Because of this, you can use both actions to create a complex rule with fewer entries. For example, if your organization has standardized on AIM for instant messaging, you can allow AIM and block all other IM clients with just two entries. First, create an entry in which AIM is the specified application. Set the action to Pass. Then create an entry in which the Category is im, the Application is all, and the action is Block. Since the entries are checked from top to bottom, AIM traffic triggers the first rule, and is passed. All other detected IM traffic triggers the second rule, and the FortiGate unit blocks it. In the Black/White List menu, you can enable monitoring so that your network is being monitored. When you select the check box beside Monitor in the Black/White Lists Setting page, you are enabling network monitoring. Black/White lists are configured in UTM > Application Control > Black/White List.
Black/White Lists page Lists each individual black/white list that you created. On this page, you can edit, delete and create a new black/white list. Create New When you select Create New, you are automatically redirected to the New Application Control Black/White List page. This page provides a name field and a comment field; you must enter a name to go to the Black/White Lists Settings page. The available application control black/white lists. The number of application rules in each application control black/white list. The protection profile each application control black/white list has been applied to. If the black/white list has not been applied to a protection profile, this field will be blank. An optional description of each application control black/white list. Select to remove the application control black/white list. The delete icon is only available if the application control black/white list is not selected in any protection profiles. Select to edit the application control black/white list.
Comments Delete
Edit
Black/White Lists Settings page Provides settings for configuring the applications for the black/white list. When you are edting a black/white list, you are redirected to this page. Name If you are editing an existing black/white list and want to change the name, enter a new name in the field. You must select OK to save the change. If you are editing an existing black/white list and want to change the description, enter the changes in the field. You must select OK to save the change. Select to save changes that you made to the Name and/or Comment fields. Select to enable network monitoring. Select to create a new application entry. A unique number used primarily when re-ordering application entries.
Comments
408
UTM
Application Control
Category
The category indicates the scope of the applications included in the application entry if Application is set to all. For example, if Application is all and Category is toolbar, then all the toolbar applications are included in the application entry even though they are not specified individually. If Application is a single application, the value in Category has no effect on the operation of the application entry. The FortiGate unit will examine network traffic for the listed application. If Application is all, every application in the selected category is included. If the FortiGate unit detects traffic from the specified application, the selected action will be taken. If traffic from the specified application is detected, the FortiGate unit will log the occurrence and the action taken. Select to delete the application entry. Select to edit the application entry. Select to create a new application entry above the entry in which you selected Insert. Select to move the application entry to a different position in the black/white list. The applications are categorized by type. If you want to choose an IM application, for example, select the im category, and the application black/white list will show only the im applications. The Category selection can also be used to specify an entire category of applications. To select all IM applications for example, select the im category, and select all as the application. This specifies all the IM applications with a single application control black/white list entry. The FortiGate unit will examine network traffic for the listed application. If Application is all, every application in the selected category is included. If the FortiGate unit detects traffic from the specified application, the selected action will be taken. The options that you can select for the black/white list. The applications session TTL. If this option is not enabled, the TTL defaults to the setting of the config system session-ttl CLI command. When enabled, the FortiGate unit will log the occurrence and the action taken if traffic when the specified application is detected.
Application
Application
Application List
The application list displays applications, which also shows their popularity and risk. You can view the details of each application by selecting the applications name; this link redirects you to the FortiGuard Application Control List where the details are given for the application. You can also filter the information that appears in UTM > Application Control > Application List. For more information about how to filter information in lists, see . To see the complete list of applications supported by FortiGuard Application Control, go to the FortiGuard Application Control List. This web page lists all of the supported applications. You can select any application name to see details about the application. Application lists are configured in UTM > Application Control > Application List.
409
VoIP
UTM
Application List page Lists the applications that are available on the FortiGate unit, which includes their category, popularity rating and risk. Current Page The current page number of list items that are displayed. Select the left and right arrows to display the first, previous, next or last page of the email address list. The maximum number of applications that are in the FortiGuard Application Control List. The name of the application. The category that the application is associated with. The level of popularity of the application. The popularity contains three levels: low, medium and high. The level of risk associated with the application. The risk contains three levels: low, medium and high.
VoIP
The FortiGate unit can effectively secure VoIP solutions since it supports VoIP protocols and associates state at the signaling layer with packet flows at the media layer. By using SIP ALG controls, the FortiGate unit can interpret the VoIP signaling protocols used in the network and dynamically open and close ports (pinholes) for each specific VoIP call to maintain security. In UTM > VoIP > Profile, you can configure multiple profiles for applying to firewall policies that concern only VoIP protocols.
Profile
The Profile menu allows you to configure VoIP profiles for applying to firewall policies. A profile is specific information that defines how the traffic within a policy is examined and what action may be taken based on the examination. VoIP profiles are configured in UTM > VoIP > Profile.
Profile page Lists the profiles that you created for SIP and SCCP protocols. On this page, you can edit, delete or create a new profile for VoIP protocols. Create New Edit Delete Name Comments Select to create a new VoIP profile. Select to change a profiles settings. Select to remove a profile. The name of the profile. A description about the profile. This is an optional setting.
New VoIP Profile page Provides settings for configuring SIP and SCCP options within the profile. When you edit a VoIP profile, you are automatically redirected to the Edit VoIP Profile page. Name Comments SIP Limit REGISTER requests Enable Logging Enter a name for the profile. Enter a description about the profile. This is optional. Configuration settings for SIP protocols. Enter a number for limiting the time it takes to register requests.
Limit INVITE requests Enter a number to limit invitation requests. Select to log SIP requests.
410
UTM
VoIP
Enable Logging of Violations SCCP Limit Call Setup Enable Logging Enable Logging of Violations
Select to log SIP violations. Configuration settings for SCCP protocols. Enter a number to limit call setup time. Select to log SCCP. Select to local violations of SCCP.
411
VoIP
UTM
412
IPsec VPN
IPsec VPN
This section provides an introduction to Internet Protocol Security (IPsec) VPN configuration options that are available through the web-based manager. FortiGate units support both policy-based (tunnel-mode) and route-based (interface mode) VPNs. For information about how to configure an IPSec VPN, as well as background information, see the FortiGate IPSec VPN User Guide. If you enable virtual domains (VDOMs) on the FortiGate unit, VPN IPSec is configured separately for each virtual domain. For more information, see Using virtual domains on page 73. The following topics are included in this section: IPsec VPN overview Policy-based versus route-based VPNs Auto Key (IKE) Manual Key Internet browsing Concentrator Monitoring VPNs
Note: L2TP and IPSec is supported for native Windows XP, Windows Vista and Mac OSX native VPN clients.
413
IPsec VPN
3 Create a firewall policy to permit communication between your private network and the VPN. For a policy-based VPN, the firewall policy action is IPSEC. For an interfacebased VPN, the firewall policy action is ACCEPT. See Configuring firewall policies on page 258. Phase 1 is a group of settings that configure the first part of the IPsec VPN. These settings are used to authenticate remote peers or clients, and establishes a secure connection. Phase 2 is a group of settings that configure the second and last of the IPsec VPN, and provide the information the FortiGate unit needs to create a VPN tunnel with a remote peer or dialup client. FortiGate units implement the Encapsulated Security Payload (ESP) protocol. The encrypted packets look like ordinary packets that can be routed through any IP network. Internet Key Exchange (IKE) is performed automatically based on pre-shared keys or X.509 digital certificates. As an option, you can specify manual keys. Interface mode, supported in NAT/Route mode only, creates a virtual interface for the local end of a VPN tunnel.
Requires a firewall policy with IPSEC Requires only a simple firewall policy with action that specifies the VPN tunnel. One ACCEPT action. A separate policy is required policy controls connections in both for connections in each direction. directions.
You create a policy-based VPN by defining an IPsec firewall policy between two network interfaces and associating it with the VPN tunnel (phase 1 or manual key) configuration. You need only one firewall policy, even if either end of the VPN can initiate a connection. You create a route-based VPN by enabling IPsec interface mode when you create the VPN phase 1 or manual key configuration. This creates a virtual IPsec interface that is bound to the local interface you selected. You then define an ACCEPT firewall policy to permit traffic to flow between the virtual IPSec interface and another network interface. If either end of the VPN can initiate the connection, you need two firewall policies, one for each direction. Virtual IPsec interface bindings are shown on the network interfaces page. (Go to System > Network > Interface.) The names of all tunnels bound to physical, aggregate, VLAN, inter-VDOM link or wireless interfaces are displayed under their associated interface names in the Name column. For more information, see Configuring interfaces on page 89. As with other interfaces, you can include a virtual IPsec interface in a zone.
Hub-and-spoke configurations
To function as the hub of a hub-and-spoke VPN, the FortiGate unit provides a concentrator function. This is available only for policy-based VPNs, but you can create the equivalent function for a route-based VPN in any of the following ways:
414
IPsec VPN
Define a firewall policy between each pair of IPsec interfaces that you want to concentrate. This can be time-consuming to maintain if you have many site-to-site connections, since the number of policies required increases rapidly as the number of spokes increases. Put all the IPsec interfaces into a zone and then define a single zone-to-zone policy. Put all the IPsec interfaces in a zone and enable intra-zone traffic. There must be more than one IPsec interface in the zone.
Redundant configurations
Route-based VPNs help to simplify the implementation of VPN tunnel redundancy. You can configure several routes for the same IP traffic with different route metrics. You can also configure the exchange of dynamic (RIP, OSPF, or BGP) routing information through VPN tunnels. If the primary VPN connection fails or the priority of a route changes through dynamic routing, an alternative route will be selected to forward traffic through the redundant connection. A simple way to provide failover redundancy is to create a backup IPsec interface. You can do this in the CLI. For more information, including an example configuration, see the monitor-phase1 keyword for the ipsec vpn phase1-interface command in the FortiGate CLI Reference.
Routing
Optionally, through the CLI, you can define a specific default route for a virtual IPsec interface. For more information, see the default-gw variable for the vpn ipsec phase1-interface command in the FortiGate CLI Reference.
415
IPsec VPN
Phase 1 configuration
In phase 1, two VPN peers (or a FortiGate dialup server and a VPN client) authenticate each other and exchange keys to establish a secure communication channel between them. The basic phase 1 settings associate IPsec phase 1 parameters with a remote gateway and determine: whether the various phase 1 parameters will be exchanged in multiple rounds with encrypted authentication information (main mode) or in a single message with authentication information that is not encrypted (Aggressive mode) whether a pre-shared key or digital certificates will be used to authenticate the identities of the two VPN peers (or a VPN server and its client) whether a special identifier, certificate distinguished name, or group name will be used to identify the remote VPN peer or client when a connection attempt is made.
New Phase 1 page Provides settings for configuring a phase 1. When you select Create New Phase 1 on the Auto Key (IKE) page, you are automatically redirected to the New Phase 1 page. Name Type a name to represent the phase 1 definition. The maximum name length is 15 characters for an interface mode VPN, 35 characters for a policy-based VPN. If Remote Gateway is Dialup User, the maximum name length is further reduced depending on the number of dialup tunnels that can be established: by 2 for up to 9 tunnels, by 3 for up to 99 tunnels, 4 for up to 999 tunnels, and so on. For a tunnel mode VPN, the name should reflect where the remote connection originates. For a route-based tunnel, the FortiGate unit also uses the name for the virtual IPsec interface that it creates automatically. Select the category of the remote connection: Static IP Address If the remote peer has a static IP address. Dialup User If one or more FortiClient or FortiGate dialup clients with dynamic IP addresses will connect to the FortiGate unit. Dynamic DNS If a remote peer that has a domain name and subscribes to a dynamic DNS service will connect to the FortiGate unit. If you selected Static IP Address, type the IP address of the remote peer. If you selected Dynamic DNS, type the domain name of the remote peer. This option is available in NAT/Route mode only. Select the name of the interface through which remote peers or dialup clients connect to the FortiGate unit. By default, the local VPN gateway IP address is the IP address of the interface that you selected. Optionally, you can specify a unique IP address for the VPN gateway in the Advanced settings. Select Main (ID Protection) or Aggressive: In Main mode, the phase 1 parameters are exchanged in multiple rounds with encrypted authentication information. In Aggressive mode, the phase 1 parameters are exchanged in single message with authentication information that is not encrypted. When the remote VPN peer has a dynamic IP address and is authenticated by a pre-shared key, you must select Aggressive mode if there is more than one dialup phase1 configuration for the interface IP address. When the remote VPN peer has a dynamic IP address and is authenticated by a certificate, you must select Aggressive mode if there is more than one phase 1 configuration for the interface IP address and these phase 1 configurations use different proposals. Peer Options settings may require a particular mode. See Peer Options, below.
Remote Gateway
Mode
416
IPsec VPN
Select Preshared Key or RSA Signature. If you selected Pre-shared Key, type the pre-shared key that the FortiGate unit will use to authenticate itself to the remote peer or dialup client during phase 1 negotiations. You must define the same value at the remote peer or client. The key must contain at least 6 printable characters and should be known only by network administrators. For optimum protection against currently known attacks, the key should consist of a minimum of 16 randomly chosen alphanumeric characters. If you selected RSA Signature, select the name of the server certificate that the FortiGate unit will use to authenticate itself to the remote peer or dialup client during phase 1 negotiations. For information about obtaining and loading the required server certificate, see the FortiGate Certificate Management User Guide. One or more of the following options are available to authenticate VPN peers or clients, depending on the Remote Gateway and Authentication Method settings. Accept the local ID of any remote VPN peer or client. The FortiGate unit does not check identifiers (local IDs). You can set Mode to Aggressive or Main. You can use this option with RSA Signature authentication. But, for highest security, you should configure a PKI user/group for the peer and set Peer Options to Accept this peer certificate only. This option is available only if the remote peer has a dynamic IP address. Enter the identifier that is used to authenticate the remote peer. This identifier must match the identifier that the remote peers administrator has configured. If the remote peer is a FortiGate unit, the identifier is specified in the Local ID field of the phase 1 configuration. If the remote peer is a FortiClient dialup client, the identifier is specified in the Local ID field, accessed by selecting Config in the Policy section of the VPN connections Advanced Settings. Authenticate multiple FortiGate or FortiClient dialup clients that use unique identifiers and unique pre-shared keys (or unique pre-shared keys only) through the same VPN tunnel. You must create a dialup user group for authentication purposes. (For more information, see User Group on page 460.) Select the group from the list next to the Accept peer ID in dialup group option. For more information about configuring FortiGate dialup clients, see the FortiGate IPSec VPN User Guide. For more information about configuring FortiClient dialup clients, see the Authenticating FortiClient Dialup Clients Technical Note. You must set Mode to Aggressive when the dialup clients use unique identifiers and unique pre-shared keys. If the dialup clients use unique pre-shared keys only, you can set Mode to Main if there is only one dialup phase 1 configuration for this interface IP address. Defines advanced phase 1 parameters. For more information, see Phase 1 advanced configuration settings on page 415.
Certificate Name
Peer Options
Advanced
417
IPsec VPN
IKE Version
Select the version of IKE to use: 1 or 2. The default is 1. This is available only if IPsec Interface Mode is enabled. For more information about IKE v2, refer to RFC 4306. IKE v2 is not available if Mode is Aggressive. When IKE Version is 2, Mode and XAUTH are not available. Select if you want to use IPv6 addresses for the remote gateway and interface IP addresses. This is available only when Enable IPsec Interface Mode is enabled and IPv6 Support is enabled in the administrative settings. If you selected Enable IPsec Interface Mode, specify an IP address for the local end of the VPN tunnel. Select one of the following: Main Interface IP The FortiGate unit obtains the IP address of the interface from the network interface settings. For more information, see Configuring interfaces on page 89. Specify You can specify a secondary address of the interface selected in the phase 1 Local Interface field. For more information, see Local Interface on page 414. You cannot configure Interface mode in a Transparent mode VDOM. Select the encryption and authentication algorithms used to generate keys for protecting negotiations. Add or delete encryption and authentication algorithms as required. Select a minimum of one and a maximum of three combinations. The remote peer or client must be configured to use at least one of the proposals that you define. Select one of the following symmetric-key algorithms: DES Digital Encryption Standard, a 64-bit block algorithm that uses a 56-bit key. 3DES Triple-DES, in which plain text is encrypted three times by three keys. AES128 a 128-bit block Cipher Block Chaining (CBC) algorithm that uses a 128-bit key. AES192 a 128-bit block Cipher Block Chaining (CBC) algorithm that uses a 192-bit key. AES256 a 128-bit block Cipher Block Chaining (CBC) algorithm that uses a 256-bit key. Select either of the following message digests to check the authenticity of messages during phase 1 negotiations: MD5 Message Digest 5, the hash algorithm developed by RSA Data Security. SHA1 Secure Hash Algorithm 1, which produces a 160-bit message digest. SHA256 Secure Hash Algorithm 2, which produces a 256-bit message digest. To specify a third combination, use the Add button beside the fields for the second combination.
IPv6 Version
Local Gateway IP
P1 Proposal
DH Group
Select one or more Diffie-Hellman groups from DH group 1, 2, 5 and 14. At least one of the DH Group settings on the remote peer or client must match one the selections on the FortiGate unit. Type the time (in seconds) that must pass before the IKE encryption key expires. When the key expires, a new key is generated without interrupting service. The keylife can be from 120 to 172 800 seconds. If the FortiGate unit will act as a VPN client and you are using peer IDs for authentication purposes, enter the identifier that the FortiGate unit will supply to the VPN server during the phase 1 exchange. If the FortiGate unit will act as a VPN client and you are using security certificates for authentication, select the distinguished name (DN) of the local server certificate that the FortiGate unit will use for authentication purposes. If the FortiGate unit is a dialup client and will not be sharing a tunnel with other dialup clients (that is, the tunnel will be dedicated to this FortiGate dialup client), set Mode to Aggressive.
Keylife
Local ID
418
IPsec VPN
XAuth
This option supports the authentication of dialup clients. It is available for IKE v1 only. Disable Select if you do not use XAuth. Enable as Client If the FortiGate unit is a dialup client, type the user name and password that the FortiGate unit will need to authenticate itself to the remote XAuth server. Enable as Server This is available only if Remote Gateway is set to Dialup User. Dialup clients authenticate as members of a dialup user group. You must first create a user group for the dialup clients that need access to the network behind the FortiGate unit. For more information, see Configuring a user group on page 463. You must also configure the FortiGate unit to forward authentication requests to an external RADIUS or LDAP authentication server. For information about these topics, see Configuring a RADIUS server on page 452 or Configuring an LDAP server on page 454. Select a Server Type setting to determine the type of encryption method to use between the FortiGate unit, the XAuth client and the external authentication server, and then select the user group from the User Group list.
Enter the user name that is used for authentication. Enter the password that is used for authentication. Select the check box if a NAT device exists between the local FortiGate unit and the VPN peer or client. The local FortiGate unit and the VPN peer or client must have the same NAT traversal setting (both selected or both cleared) to connect reliably. If you enabled NAT-traversal, enter a keepalive frequency setting. The value represents an interval ranging from 10 to 900 seconds. Select this check box to reestablish VPN tunnels on idle connections and clean up dead IKE peers if required. You can use this option to receive notification whenever a tunnel goes up or down, or to keep the tunnel connection open when no traffic is being generated inside the tunnel. (For example, in scenarios where a dialup client or dynamic DNS peer connects from an IP address that changes periodically, traffic may be suspended while the IP address changes). With Dead Peer Detection selected, you can use the config vpn ipsec phase1 (tunnel mode) or config vpn ipsec phase1interface (interface mode) CLI command to optionally specify a retry count and a retry interval. For more information, see the FortiGate CLI Reference.
Phase 2 configuration
After IPsec phase 1 negotiations end successfully, you begin phase 2. You configure the phase 2 parameters to define the algorithms that the FortiGate unit may use to encrypt and transfer data for the remainder of the session. During phase 2, you select specific IPsec security associations needed to implement security services and establish a tunnel. The basic phase 2 settings associate IPsec phase 2 parameters with the phase 1 configuration that specifies the remote end point of the VPN tunnel. In most cases, you need to configure only basic phase 2 settings.
New Phase 2 page Provides settings for configuring Phase 2. When you select Create Phase 2 on the Auto Key (IKE) page, you are automatically redirected to the New Phase 2 page. Name Type a name to identify the phase 2 configuration.
419
IPsec VPN
Phase 1
Select the phase 1 tunnel configuration. For more information, see Phase 1 configuration on page 414. The phase 1 configuration describes how remote VPN peers or clients will be authenticated on this tunnel, and how the connection to the remote peer or client will be secured. Define advanced phase 2 parameters. For more information, see Phase 2 advanced configuration settings on page 418.
Advanced
Encryption
Authentication
Enable replay detection Enable perfect forward secrecy (PFS) DH Group Keylife
420
IPsec VPN
Autokey Keep Alive Select the check box if you want the tunnel to remain active when no data is being processed. DHCP-IPSec Provide IP addresses dynamically to VPN clients. This is available for phase 2 configurations associated with a dialup phase 1 configuration. You also need configure a DHCP server or relay on the private network interface. You must configure the DHCP parameters separately. For more information, see System DHCP Server on page 131. If you configure the DHCP server to assign IP addresses based on RADIUS user group attributes, you must also set the Phase 1 Peer Options to Accept peer ID in dialup group and select the appropriate user group. See Phase 1 configuration on page 414. If the FortiGate unit acts as a dialup server and you manually assigned FortiClient dialup clients VIP addresses that match the network behind the dialup server, selecting the check box will cause the FortiGate unit to act as a proxy for the dialup clients.
Quick Mode Selector Optionally specify the source and destination IP addresses to be used as selectors for IKE negotiations. If the FortiGate unit is a dialup server, you should keep the default value 0.0.0.0/0 unless you need to circumvent problems caused by ambiguous IP addresses between one or more of the private networks making up the VPN. You can specify a single host IP address, an IP address range, or a network address. You may optionally specify source and destination port numbers and a protocol number. If you are editing an existing phase 2 configuration, the Source address and Destination address fields are unavailable if the tunnel has been configured to use firewall addresses as selectors. This option exists only in the CLI. For more information, see the dst-addr-type, dst-name, src-addr-type and src-name keywords for the vpn ipsec phase2 command in the FortiGate CLI Reference. Source address If the FortiGate unit is a dialup server, type the source IP address that corresponds to the local senders or network behind the local VPN peer (for example, 172.16.5.0/24 or 172.16.5.0/255.255.255.0 for a subnet, or 172.16.5.1/32 or 172.16.5.1/255.255.255.255 for a server or host, or 192.168.10.[80-100] or 192.168.10.80192.168.10.100 for an address range). A value of 0.0.0.0/0 means all IP addresses behind the local VPN peer. If the FortiGate unit is a dialup client, source address must refer to the private network behind the FortiGate dialup client. Type the port number that the local VPN peer uses to transport traffic related to the specified service (protocol number). The range is from 0 to 65535. To specify all ports, type 0. Type the destination IP address that corresponds to the recipients or network behind the remote VPN peer (for example, 192.168.20.0/24 for a subnet, or 172.16.5.1/32 for a server or host, or 192.168.10.[80100] for an address range). A value of 0.0.0.0/0 means all IP addresses behind the remote VPN peer. Type the port number that the remote VPN peer uses to transport traffic related to the specified service (protocol number). The range is from 0 to 65535. To specify all ports, type 0. Type the IP protocol number of the service. The range is from 0 to 255. To specify all services, type 0.
Source port
Destination address
Destination port
Protocol
Note: You can configure settings so that VPN users can browse the Internet through the FortiGate unit. For more information, see Internet browsing on page 422.
421
Manual Key
IPsec VPN
Manual Key
Caution: You should use manual keys only if it is unavoidable. There are potential difficulties in keeping keys confidential and in propagating changed keys to remote VPN peers securely.
If required, you can manually define cryptographic keys for establishing an IPsec VPN tunnel. You would define manual keys in situations where: You require prior knowledge of the encryption or authentication key (that is, one of the VPN peers requires a specific IPsec encryption or authentication key). You need to disable encryption and authentication.
In both cases, you do not specify IPsec phase 1 and phase 2 parameters; you define manual keys by going to VPN > IPsec > Manual Key instead.
Manual Key page Lists each individual cryptographic key that you created for establishing an IPSec VPN. Create New Tunnel Name Remote Gateway Encryption Algorithm Authentication Algorithm Edit Delete Create a new manual key configuration. See New manual key configuration on page 420. The names of existing manual key configurations. The IP addresses of remote peers or dialup clients. The names of the encryption algorithms specified in the manual key configurations. The names of the authentication algorithms specified in the manual key configurations. Select to modify settings of a cryptographic key. Select to remove a cryptographic key from the list.
If one of the VPN devices is manually keyed, the other VPN device must also be manually keyed with the identical authentication and encryption keys. In addition, it is essential that both VPN devices be configured with complementary Security Parameter Index (SPI) settings. The administrators of the devices need to cooperate to achieve this. Each SPI identifies a Security Association (SA). The value is placed in ESP datagrams to link the datagrams to the SA. When an ESP datagram is received, the recipient refers to the SPI to determine which SA applies to the datagram. You must manually specify an SPI for each SA. There is an SA for each direction, so for each VPN you must specify two SPIs, a local SPI and a remote SPI, to cover bidirectional communications between two VPN devices.
New Manual Key page Provides settings for configuring a cryptographic key for the IPSec VPN. Name Local SPI Type a name for the VPN tunnel. The maximum name length is 15 characters for an interface mode VPN, 35 characters for a policy-based VPN. Type a hexadecimal number (up to 8 characters, 0-9, a-f) that represents the SA that handles outbound traffic on the local FortiGate unit. The valid range is from 0x100 to 0xffffffff. This value must match the Remote SPI value in the manual key configuration at the remote peer.
422
IPsec VPN
Manual Key
Remote SPI
Type a hexadecimal number (up to 8 characters, 0-9, a-f) that represents the SA that handles inbound traffic on the local FortiGate unit. The valid range is from 0x100 to 0xffffffff. This value must match the Local SPI value in the manual key configuration at the remote peer. Type the IP address of the public interface to the remote peer. The address identifies the recipient of ESP datagrams. This option is available in NAT/Route mode only. Select the name of the interface to which the IPsec tunnel will be bound. The FortiGate unit obtains the IP address of the interface from the network interface settings. For more information, see Configuring interfaces on page 89. Select one of the following symmetric-key encryption algorithms: NULL Do not use an encryption algorithm. DES Digital Encryption Standard, a 64-bit block algorithm that uses a 56-bit key. 3DES Triple-DES, in which plain text is encrypted three times by three keys. AES128 a 128-bit block Cipher Block Chaining (CBC) algorithm that uses a 128-bit key. AES192 a 128-bit block Cipher Block Chaining (CBC) algorithm that uses a 192-bit key. AES256 a 128-bit block Cipher Block Chaining (CBC) algorithm that uses a 256-bit key. Note: The algorithms for encryption and authentication cannot both be NULL. Enter an encryption key appropriate to the encryption algorithm: for NULL, for DES, type a 16-character hexadecimal number (0-9, a-f). for 3DES, type a 48-character hexadecimal number (0-9, a-f) separated into three segments of 16 characters. for AES128, type a 32-character hexadecimal number (0-9, a-f) separated into two segments of 16 characters. for AES192, type a 48-character hexadecimal number (0-9, a-f) separated into three segments of 16 characters. for AES256, type a 64-character hexadecimal number (0-9, a-f) separated into four segments of 16 characters. Select one of the following message digests: NULL Do not use a message digest. MD5 Message Digest 5 algorithm, which produces a 128-bit message digest. SHA1 Secure Hash Algorithm 1, which produces a 160-bit message digest. SHA256 Secure Hash Algorithm 2, which produces a 256-bit message digest. Note: The Algorithms for encryption and authentication cannot both be NULL.
Encryption Algorithm
Encryption Key
Authentication Algorithm
Authentication Key Enter an authentication key appropriate to the authentication algorithm: for MD5, type a 32-character hexadecimal number separated into two segments of 16 characters. for SHA1, type a 40-character hexadecimal number separated into two segments of 16 characters and a third segment of 8 characters. for SHA256, type a 64-character hexadecimal number separated into four segments of 16 characters. Digits can be 0 to 9, and a to f. IPsec Interface Mode Create a virtual interface for the local end of the VPN tunnel. Select this check box to create a route-based VPN, clear it to create a policy-based VPN. This is available only in NAT/Route mode.
423
Internet browsing
IPsec VPN
Internet browsing
By using appropriate firewall policies, you can enable VPN users to browse the Internet through the FortiGate unit. The required policies are different for policy-based and routebased VPNs. For more information, see Configuring firewall policies on page 258.
Concentrator
In a hub-and-spoke configuration, policy-based VPN connections to a number of remote peers radiate from a single, central FortiGate unit. Site-to-site connections between the remote peers do not exist; however, You can establish VPN tunnels between any two of the remote peers through the FortiGate unit hub. In a hub-and-spoke network, all VPN tunnels terminate at the hub. The peers that connect to the hub are known as spokes. The hub functions as a concentrator on the network, managing all VPN connections between the spokes. VPN traffic passes from one tunnel to the other through the hub. You define a concentrator to include spokes in the hub-and-spoke configuration. You create the concentrator in VPN > IPSec > Concentrator. A concentrator configuration specifies which spokes to include in an IPsec hub-and-spoke configuration.
Concentrator page Lists each individual concentrator which is made up of spokes. On this page, you can edit, delete or create a new concentrator. Create New Define a new concentrator for an IPsec hub-and-spoke configuration. For more information, see Monitoring VPNs on page 422. The tunnels that are associated with the concentrators. Select to remove a concentrator from the list. Select to modify the settings within a concentrator. Provides settings for configuring a concentrator which is made up of IPSec tunnels which are called members. A list of defined IPsec VPN tunnels. Select a tunnel from the list and then select the right arrow. Repeat these steps until all of the tunnels associated with the spokes are included in the concentrator. A list of tunnels that are members of the concentrator. To remove a tunnel from the concentrator, select the tunnel and select the left arrow.
Concentrator Name The names of existing IPsec VPN concentrators. Members Delete Edit New VPN Concentrator Available Tunnels
Members
Monitoring VPNs
You can use the IPsec monitor to view activity on IPsec VPN tunnels and start or stop those tunnels. The display provides a list of addresses, proxy IDs, and timeout information for all active tunnels, including tunnel mode and route-based (interface mode) tunnels. For Dialup VPNs, the list provides status information about the VPN tunnels established by dialup clients, including their IP addresses. The number of tunnels shown in the list can change as dialup clients connect and disconnect. For Static IP or dynamic DNS VPNs, the list provides status and IP addressing information about VPN tunnels, active or not, to remote peers that have static IP addresses or domain names. You can also start and stop individual tunnels from the list.
424
IPsec VPN
Monitoring VPNs
You can use filters to control the information displayed in the list. For more information, see Adding filters to web-based manager lists on page 33.
Monitor page Lists all IPSec VPNs that are currently being monitored. You can view either just Dialup or Static or Dynamic DNS IPSec VPNs. Type Column Settings Select the types of VPN to display: All, Dialup, or Static IP or Dynamic DNS. Customize the table view. You can select the columns to hide or display and specify the column displaying order in the table. For more information, see Using column settings to control the columns displayed on page 35 and on page 36. The current page number of list items that are displayed. Select the left and right arrows to display the first, previous, next or last page of monitored VPNs. Edit the column filters to filter or sort the IPsec monitor list according to the criteria you specify. For more information, see Adding filters to web-based manager lists on page 33. The name of the phase 1 configuration for the VPN. Appears only when viewing all types of IPSec VPNs The public IP address of the remote host device, or if a NAT device exists in front of the remote host, the public IP address of the NAT device. The UDP port of the remote host device, or if a NAT device exists in front of the remote host, the UDP port of the NAT device. Zero (0) indicates that any port can be used.
Clear All Filters Select to clear any column display filters you might have applied. Page Controls Filter icons
Timeout Proxy ID Source The IP addresses of the hosts, servers, or private networks behind the FortiGate unit. The page may display a network range if the source address in the firewall encryption policy was expressed as a range of IP addresses. Proxy ID Destination When a FortiClient dialup client establishes a tunnel: If VIP addresses are not used, the Proxy ID Destination field displays the public IP address of the remote host Network Interface Card (NIC). If VIP addresses were configured (manually or through FortiGate DHCP relay), the Proxy ID Destination field displays either the VIP address belonging to the FortiClient dialup client, or the subnet address from which VIP addresses were assigned. When a FortiGate dialup client establishes a tunnel, the Proxy ID Destination field displays the IP address of the remote private network. A green arrow means the tunnel is currently processing traffic. Select to bring down the tunnel. A red arrow means the tunnel is not processing traffic. Select to bring up the tunnel.
Status
Reset Statistics Select to reset the current statistics that are on the page.
425
Monitoring VPNs
IPsec VPN
426
PPTP VPN
PPTP VPN
FortiGate units support PPTP to tunnel PPP traffic between two VPN peers. Windows or Linux PPTP clients can establish a PPTP tunnel with a FortiGate unit that has been configured to act as a PPTP server. As an alternative, you can configure the FortiGate unit to forward PPTP packets to a PPTP server on the network behind the FortiGate unit. PPTP VPN is available only in NAT/Route mode. The current maximum number of PPTP sessions is 254. If you enable virtual domains (VDOMs) on the FortiGate unit, you need to configure VPN PPTP separately for each virtual domain. For more information, see Using virtual domains on page 73. When you intend to use the FortiGate unit as a PPTP gateway, you can select a PPTP client IP from a local address range or use the server defined in the PPTP user group. You select which method to use for IP address retrieval and, in the case of the user group server, provide the IP address and the user group. This section explains how to specify a range of IP addresses for PPTP clients or configure the PPTP client-side IP address to be used in the tunnel setup. For information about how to perform other related PPTP VPN setup tasks, see the FortiGate PPTP VPN User Guide. The following topics are included in this section: PPTP configuration using FortiGate web-based manager PPTP configuration using CLI commands
Note: The PPTP feature is disabled by default in the FortiGate web-based manager. You configure the PPTP tunnel configuration by creating a customized FortiGate screen.
427
PPTP VPN
Note: The start and end IPs in the PPTP address range must be in the same 24-bit subnet, e.g. 192.168.1.1 - 192.168.1.254.
Enable PPTP. You must add a user group before you can select the option. See User Group on page 460. Select how PPTP users are assigned an IP address. Users IP addresses are assigned from the range of IP addresses configured by Starting IP and Ending IP. Users IP addresses are assigned by the user group used to authenticate the user. Select the user group. See Dynamically assigning VPN client IP addresses from a user group on page 464. Type the starting address in the range of reserved IP addresses. Type the ending address in the range of reserved IP addresses. Type the IP address to be used for the peers remote IP on the PPTP client side. Select the PPTP user group from the list. Select to disable PPTP support.
Syntax
config vpn pptp set eip <address_ipv4> set ip-mode {range | usrgrp} set local-ip <address_localip> set sip <address_ipv4> set status {disable | enable} set usrgrp <group_name> end
Variables eip <address_ipv4> ip-mode {range | usrgrp} Description The ending address of the PPTP address range. Select one of: range Assign user IP addresses from the IP address range of configured by sip and eip. usrgrp Retrieve the IP address from the user group used to authenticate the user. Select the user group in usrgrp. Enter the IP address to be used for the peers remote IP on the PPTP client side. The starting address of the PPTP IP address range. Enable or disable PPTP VPN. Default 0.0.0.0 range
428
PPTP VPN
usrgrp <group_name>
This keyword is available when ip-mode is set to Null. usrgrp. Enter the name of the user group for authenticating PPTP clients. The user group must be added to the FortiGate configuration before it can be specified here. The ending address of the PPTP address range. 0.0.0.0
eip <address_ipv4>
429
PPTP VPN
430
SSL VPN
SSL VPN
This section is an introduction to the SSL VPN menu. For more information about configuring SSL VPN, including additional general information about SSL VPN, see the FortiGate SSL VPN chapter of the FortiOS Handbook. If you enable virtual domains (VDOMs) on the FortiGate unit, VPN SSL is configured separately for each virtual domain. For more information, see Using virtual domains on page 73. The following topics are included in this section: SSL VPN overviewConfig Portal Virtual Desktop Application Control Host Check SSL VPN monitor list
Note: The Fortinet SSL VPN app for either the iPhone or iPod touch allows you to connect directly to your FortiGate units SSL VPN. The app supports web mode access only. With this app, you can add, edit, or delete user-defined bookmarks. For more information about the Fortinet SSL VPN app, see Whats new in FortiOS 4.0 MR2 on page 33 as well as the iTunes app store.
When the FortiGate unit provides services in web-only mode, a secure connection between the remote client and the FortiGate unit is established through the SSL VPN security in the FortiGate unit and the SSL security in the web browser. After the connection has been established, the FortiGate unit provides access to selected services and network resources through a web portal. The FortiGate SSL VPN web portal has a widget-based layout with customizable themes. Each widget is displayed in a 1- or 2column format with the ability to modify settings, minimize the widget window, or other functions depending on the type of content within the widget. When users have complete administrative rights over their computers and use a variety of applications, tunnel mode allows remote clients to access the local internal network as if they were connected to the network directly.
431
Config
SSL VPN
ssl.root
The FortiGate unit has a virtual SSL VPN interface called ssl.<vdomname>. The root VDOM, called ssl.root, appears in the firewall policy interface lists and static route interface lists. You can use the ssl-root interface to allow access to additional networks and facilitate a connected users ability to browse the Internet through the FortiGate unit. SSL VPN tunnel-mode access requires the following firewall policies: External > Internal, with the action set to SSL, with an SSL user group ssl.root > Internal, with the action set to Accept Internal > ssl.root, with the action set to Accept.
Access also requires a new static route: Destination network - <ssl tunnel mode assigned range> interface ssl.root. If you are configuring Internet access through an SSL VPN tunnel, you must add the following configuration: ssl.root > External, with the action set to Accept, NAT enabled.
Config
You can configure basic SSL VPN settings including timeout values and SSL encryption preferences. If required, you can also enable the use of digital certificates for authenticating remote clients. SSL VPN configuration is located in VPN > SSL > Config.
Note: If required, you can enable SSL version 2 encryption (for compatibility with older browsers) through a FortiGate CLI command. For more information, see the ssl settings command in the FortiGate CLI Reference.
432
SSL VPN
Portal
SSL-VPN Settings page Provides settings for configuring an SSL-VPN. This page also provides advanced configuration settings for DNS and WINS servers. Enable SSL VPN IP Pools Select to enable SSL VPN connections. Select Edit to select the range or subnet firewall addresses that represent IP address ranges reserved for tunnel-mode SSL VPN clients. If the appropriate addresses do not exist, go to Firewall > Address to create them. You cannot add the all firewall address or a FQDN firewall address. You also cannot add an address group that includes the all firewall address or a FQDN address. Select the signed server certificate to use for authentication purposes. If you leave the default setting (Self-Signed), the FortiGate unit offers its factory installed (self-signed) certificate from Fortinet to remote clients when they connect.
Server Certificate
Require Client Certificate If you want to enable the use of group certificates for authenticating remote clients, select the check box. Afterward, when the remote client initiates a connection, the FortiGate unit prompts the client for its clientside certificate as part of the authentication process. Encryption Key Algorithm Default - RC4(128 bits) and higher High - AES(128/256 bits) and 3DES Low - RC4(64 bits), DES and higher Idle Timeout Select the algorithm for creating a secure SSL connection between the remote client web browser and the FortiGate unit. If the web browser on the remote client can match a cipher suite greater than or equal to 128 bits, select this option. If the web browser on the remote client can match a high level of SSL encryption, select this option to enable cipher suites that use more than 128 bits to encrypt data. If you are not sure which level of SSL encryption the remote client web browser supports, select this option to enable a cipher suite greater than or equal to 64 bits. Type the period of time (in seconds) to control how long the connection can remain idle before the system forces the user to log in again. The range is from 10 to 28800 seconds. You can also set the value to 0 to have no idle connection timeout. This setting applies to the SSL VPN session. The interface does not time out when web application sessions or tunnels are up. Enter up to two DNS Servers to be provided for the use of clients. Enter up to two WINS Servers to be provided for the use of clients.
Advanced (DNS and WINS Servers) DNS Server #1 DNS Server #2 WINS Server #1 WINS Server #2
Portal
The SSL VPN Service portal allows you to access network resources through a secure channel using a web browser. FortiGate administrators can configure log in privileges for system users and which network resources are available to the users, such as HTTP/HTTPS, telnet, FTP, SMB/CIFS, VNC, RDP and SSH. The portal configuration determines what the system user sees when they log in to the FortiGate. Both the system administrator and the system user have the ability to customize the SSL VPN portal. There are three pre-defined default web portal configurations available: full-access: Includes all widgets available to the user - Session Information, Connection Tool, Bookmarks, and Tunnel Mode. tunnel-access: Includes Session Information and Tunnel Mode widgets.
433
Portal
SSL VPN
You can also choose to create your own web portal from VPN > SSL > Portal. This topic includes the following: Portal settings Portal widgets
Portal page Lists all the web portals that you have created, as well as the default web portals. On this page, you can edit, delete or create a new web portal. If you want, you can also edit a default web portal. Create New Edit When you select Create New, you are automatically redirected to the Portal Settings page. Select to modify either a default web portal, or an existing web portal that you created. When you select Edit, you are automatically redirected to the Portal Settings page. Select to remove a web portal from the Portal page. The name of the web portal.
Delete Name
Portal Settings page Provides settings for configuring the SSL VPN Service page. Settings window Provides general, virtual desktop and security control settings for the SSL VPN Service portal page. This window appears when you select Settings. This window also appears whenever you select Create New and are automatically redirected to the Portal Settings page. For more information, see Portal settings on page 433. Select to save the configuration. If you select OK, you exit out of the SSL VPN web portal configuration window. Select to exit the configuration window without saving any changes. Select to apply any changes made in the web portal configuration. If you select Apply, you will not leave the portal configuration window. Select to edit the settings for the SSL VPN web portal. See Portal on page 431. The widgets that will appear on the SSL VPN Service page. You can add widgets from the Add Widgets drop-down list. For more information, see Portal widgets on page 434. Select to add a new widget to the page. Displays the login name of the user, the amount of time the user has been logged in, and the inbound and outbound traffic of HTTP and HTTPS. For more information, see Session Information on page 434. Displays configured bookmarks, allows for the addition of new bookmarks and editing of existing bookmarks. For more information, see Bookmarks on page 434. Enter the URL or IP address for a connection tool application/server (selected when configuring the Connection Tool). You can also check connectivity to a host or server on the network behind the FortiGate unit by selecting the Type Ping. For more information, see Connection Tool on page 435 Displays tunnel information and actions in user mode. The administrator can configure a split-tunneling option. For more information, see Tunnel Mode on page 435.
Connection Tool
Tunnel Mode
434
SSL VPN
Portal
Portal settings
A web portal defines SSL VPN user access to network resources, such as HTTP/HTTPS, telnet and SSH. The portal configuration determines what SSL VPN users see when they log in to the FortiGate. Both the FortiGate administrator and the SSL VPN user have the ability to customize the web portal settings. Portal settings are configured in VPN > SSL > Portal. The Settings Window provides settings for configuring general, virtual desktop and security console options for your web portal. The virtual desktop options, available for Windows XP and Windows Vista client PCs, are configured to completely isolate the SSL VPN session from the client computers desktop environment. All data is encrypted, including cached user credentials, browser history, cookies, temporary files, and user files created during the session. When the SSL VPN session ends normally, the files are deleted. If the session ends due to a malfunction, files might remain, but they are encrypted, so the information is protected. When the user starts an SSL VPN session with virtual desktop enabled, the virtual desktop replaces the users normal desktop. When the virtual desktop exits, the users normal desktop is restored. Virtual desktop requires the Fortinet host check plugin. If the plugin is not present, it is automatically downloaded to the client computer. Security control options provide cache cleaning and host checking to the clients of your web portal. Cache cleaning clears information from the client browser cache just before the SSL VPN session ends. The cache cleaner is effective only if the session terminates normally. The cache is not cleaned if the session ends due to a malfunction, such as a power failure. Host checking enforces the clients use of antivirus or firewall software. Each client is checked for security software that is recognized by the Windows Security Center. As an alternative, you can create a custom host check that looks for specific security software selected from the Host Check list located at VPN > SSL > Host Check. See Host Check on page 436.
Settings Window Provides settings for configuring general, virtual desktop and security console options. When you select OK, these settings appear on the Portal Settings page. For example, if you selected the general color scheme orange, the widgets and page take on that color scheme after OK is selected. General tab Name Applications Portal Message Theme Page Layout Redirect URL Virtual Desktop tab The general overall settings for the page, such as color scheme. Enter a name for the web portal configuration. Select the abbreviated name of the server applications or network services clients can use. Enter the caption that appears at the top of the web portal home page. Select the color scheme for the web portal home page from the list. Select the one or two page column format for the web portal home page. The web portal can display a second HTML page in a popup window when the web portal home page is displayed. Enter the URL. The virtual desktop settings that allow users certain options, such as allow to switch between the virtual desktop and the regular desktop.
Enable Virtual Desktop Select to enable the virtual desktop feature. Allow switching Select to allow users to switch between the virtual desktop, and their between virtual desktop regular desktop. and regular desktop
435
Portal
SSL VPN
Select to allow users access to the clipboard contents when they are using the regular desktop.
Allow use of removable Select to allow users to use removable media. media Allow network share access Allow printing Select to allow users to have network share access. Select to allow users to print from the virtual desktop.
Quit the virtual desktop Select to have the virtual desktop close and log the user out of the current session whenever the browser is closed. and logout session when browser is closed Application Control List Select a virtual desktop application list from the drop-down list. Security Control tab Clean Cache Host Check Interval Policy The security controls for the portal. Select to have the FortiGate unit remove residual information from the remote client computer just before the SSL VPN session is done. Select to enable host checking. Enter how often to recheck the host. Select the specific host check software to look for. This is available only when Custom is selected in Host Check.
Portal widgets
Portal widgets are widgets that you can specify certain things when users are viewing the portal. These specifications can be certain web URL bookmarks, or connecting to network resources. If a portal has tunnel access, the Tunnel Mode widget allows you to configure how many tunnel mode clients are assigned IP addressees, as well as enabling split tunneling configuration.
Edit OK Cancel Name Remove widget (x symbol) Select to edit the information in the widget. Select to save the Session Information configuration. Select to exit the Session Information widget without saving any changes. Enter a customized name for the Session Information widget. Select to close the widget and remove it from the web portal home page.
Session Information
The Session Information widget displays the login name of the user, along with the amount of time the user has been logged in and the inbound and outbound traffic statistics of HTTP and HTTPS.
Bookmarks
Bookmarks are used as links to specific resources on the network. When a bookmark is selected from a bookmark list, a pop-up window appears with the requested web page. Telnet, VNC, and RDP all pop up a window that requires a browser plug-in. FTP and Samba replace the bookmarks page with an HTML file-browser.
436
SSL VPN
A web bookmark can include login credentials to automatically log the SSL VPN user into the web site. This means that once the user logs into the SSL VPN, he or she does not have to enter any more credentials to visit preconfigured web sites. When the administrator configures bookmarks, the web site credentials must be the same as the users SSL VPN credentials. Users configuring their own bookmarks can specify alternative credentials for the web site.
Connection Tool
You can use the Connection Tool widget to connect to a network resource without adding a bookmark to the bookmark list. You select the type of resource and specify the URL or IP address of the host computer.
Tunnel Mode
If your web portal provides tunnel mode access, you need to configure the Tunnel Mode widget. These settings determine how tunnel mode clients are assigned IP addresses. Also, you can enable a split tunneling configuration so that the VPN carries only the traffic for the networks behind the FortiGate unit. The users other traffic follows its normal route.
Virtual Desktop Application Settings page Provides settings for configuring a virtual desktop application list which contains multiple applications. This list can either block applications or allow applications. Name Enter a name for the virtual desktop application list. Allow the applications on Select to allow the applications on this list and block all others. the list and block all others Block the application on the list and allow all others Create New Select to block the applications on the list and allow all others.
Select to add an application to the virtual desktop application list. When you select Create New, the Application Signatures window appears.
437
Host Check
SSL VPN
Select to modify settings of an application within the list. Select to removed an application from the list. The name of the application. Enter the name of the application. This name does not have to match the official name of the application.
MD5 Signatures (one per Enter the MD5 signature for application executable file. You can enter more than one but each one needs to be on a separate line. You can line) use a third-party utility to calculate MD5 signatures or hashes for the file. Entering multiple MD5 signatures helps to match multiple versions of the application.
Host Check
When you enable AV, FW, or AV-FW host checking in the web portal Security Control settings, each client is checked for security software that is recognized by the Windows Security Center. As an alternative, you can create a custom host check that looks for security software selected from the Host Check list. For more information, see Portal settings on page 433. The Host Check list includes default entries for many security software products.
Host Check page Lists each individual host check list that you created for host checking for a web portal. On this page, you can edit, delete or create a new host check list. Create New Name Type Version Edit Delete Add a new application to the host check list. The name of the applications added to the host check list. The name does not need to match the actual application name. The type of host check application. Can be AV for antivirus or FW for firewall. The version of the host check application. Select Edit beside an existing host check application to modify it. Delete a host check application.
Host Check Software page Provides settings for configuring a host check list which contains applications and how those applications will be checked. Name Type GUID Enter a name for the host check list. Select the type of host checking, either AV or FW. Enter the globally unique identifier (GUID) for the host check application. The GUID is usually in the form xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx, where each x is a hexadecimal digit. Windows uses GUIDs to identify applications in the Windows Registry. Enter the softwares version. Select to create a new check item to add to the list below. When you select Create New, the Check Item window appears. Select to change settings to a host check. Select to remove a check item within the list. The order in which each item is listed. The type of target that you chose. The type of check that you chose. The type of action that you chose. FortiGate Version 4.0 MR2 Administration Guide 01-420-89802-20100326 http://docs.fortinet.com/ Feedback
438
SSL VPN
Check Item Type Action Select how to check for the application. Select one of the following: Require If the item is found, the client meets the check item condition. Deny If the item is found, the client is considered to not meet the check item condition. Use this option if it is necessary to prevent use of a particular security product. Enter the file name and path. Enter the applications executable file name. When you select process, you must also enter one or more MD5 signatures in the MD5 Signatures field. You can use a third-party utility to calculate MD5 signatures or hashes for the file. Enter the registry number of the application. Enter the applications version. Enter the MD5 signature for application executable file. You can enter more than one but each one needs to be on a separate line. You can use a third-party utility to calculate MD5 signatures or hashes for the file. Entering multiple MD5 signatures helps to match multiple versions of the application.
File/Path Process
439
SSL VPN
440
Rule page Lists each individual WAN opt rule that you created. On this page, you can delete, edit or create a new WAN opt rule. You can also insert or move a WAN opt rule in the list. Create New Add a new WAN optimization rule. New rules are added to the bottom of the list.
441
Select to enable a rule or deselect to disable a rule. A disabled rule is out of service. The rule identifier. Rules are numbered in the order they are added to the rule list. The source address or address range that the rule matches. See About WAN optimization addresses on page 442. The destination address or address range that the rule matches. See About WAN optimization addresses on page 442. The destination port number or port number range that the rule matches. Indicates whether you have selected byte caching in the WAN optimization rule. Indicates whether the rule is an active (client) rule, a passive (server) rule or if auto-detect is off. If auto-detect is off, the rule can be a peer-to-peer rule or a Web Cache Only rule. The protocol optimization WAN optimization technique applied by the rule. See the FortiGate WAN Optimization, Web Cache, and Web Proxy User Guide. For a peer-to-peer rule, the name of the peer WAN optimizer at the other end of the link. Indicates whether the rule applies Full Optimization or Web Cache Only. Indicates whether the rule is configured for SSL offloading. Indicates whether the rule is configured to used a WAN optimization tunnel. Delete a rule from the list. Edit a rule. Add a new rule above the corresponding rule (the New rule screen appears).
Protocol Peer Mode SSL Secure Tunnel Delete icon Edit icon Insert WAN Optimization Rule Before Move To
Move the corresponding rule before or after another rule in the list. See Moving a rule to a different position in the rule list on page 440.
442
To add a WAN optimization rule, go to WAN Opt. & Cache > Rule > Rule and select Create New.
New WAN Optimization Rule page Provides settings for configuring a WAN opt rule. Mode Select Full Optimization to add a rule that can apply all WAN optimization features. Select Web Cache Only to add a rule that just applies web caching. If you select Web Cache Only, you can configure the source and destination address and port for the rule. You can also select Transparent Mode and Enable SSL. Enter an IP address, followed by a forward slash (/), then subnet mask, or enter an IP address range separated by a hyphen. See About WAN optimization addresses on page 442. Only packets whose source address header contains an IP address matching this IP address or address range will be accepted by and subject to this rule. For a passive rule, the server (passive) source address range should be compatible with the source addresses of the matching client (active) rule. To match one passive rule with many active rules, the passive rule source address range should include the source addresses of all of the active rules. Enter an IP address, followed by a forward slash (/), then subnet mask, or enter an IP address range separated by a hyphen. See About WAN optimization addresses on page 442. Only a packet whose destination address header contains an IP address matching this IP address or address range will be accepted by and subject to this rule. Tip: For a Web Cache Only rule, if you set Destination to 0.0.0.0, the rule caches web pages on the Internet or any network. For a passive rule, the server (passive) destination address range should be compatible with the destination addresses of the matching client (active) rule. To match one passive rule with many active rules, the passive rule destination address range should include the destination addresses of all of the active rules. Port Enter a single port number or port number range. Only packets whose destination port number matches this port number or port number range will be accepted by and subject to this rule. For a passive rule, the server (passive) port range should be compatible with the port range of the matching client (active) rule. To match one passive rule with many active rules, the passive rule port range should include the port ranges of all of the active rules. Available only if Mode is set to Full Optimization. Specify whether the rule is an Active (client) rule, a Passive (server) rule or if autodetect is Off. If auto-detect is off the rule is a peer-to-peer rule. For an Active (client) rule, you must select all of the WAN optimization features to be applied by the rule. You can select the protocol to optimize, transparent mode, byte caching, SSL offloading, secure tunneling, and an authentication group. A Passive (server) rule uses the settings in the active rule on the client FortiGate unit to apply WAN optimization settings. You can also select web caching for a passive rule. If Auto-Detect is Off, the rule must include all required WAN optimization features and you must select a Peer for the rule. Select this option to configure peer-topeer WAN optimization where this rule can start a WAN optimization tunnel with this peer only. Available only if Mode is set to Full Optimization, and Auto-Detect is set to Off or Active. Select CIFS, FTP, HTTP, or MAPI to apply protocol optimization for one of these protocols. For information about protocol optimization, see the FortiGate WAN Optimization, Web Cache, and Web Proxy User Guide. Select TCP if the WAN optimization tunnel accepts sessions that use more than one protocol or that do not use the CIFS, FTP, HTTP, or MAPI protocol. Available only if Mode is set to Full Optimization, and Auto-Detect is set to Off. Select the peer host ID of the peer that this peer-to-peer WAN optimization rule will start a WAN optimization tunnel with. You can also select [Create New ...] to add a new peer.
Source
Destination
Auto-Detect
Protocol
Peer
443
Available only if Mode is set to Full Optimization, and Auto-Detect is set to Off or Passive. If Auto-Detect is set to Off, then Protocol must be set to HTTP. Select to apply WAN optimization web caching to the sessions accepted by this rule. For more information, see the FortiGate WAN Optimization, Web Cache, and Web Proxy User Guide. Servers receiving packets after WAN optimization see different source addresses depending on whether or not you select Transparent Mode. You can select this option if Auto-Detect is set to Active or Off. You can also select it for Web Cache Only rules. Select this option to keep the original source address of the packets when they are sent to servers. The servers appear to receive traffic directly from clients. The server network should be configured to route traffic with client source IP addresses from the server side FortiGate unit to the server and back to the server side FortiGate unit. If this option is not selected, the server side FortiGate unit changes the source address of the packets received by servers to the address of the server side FortiGate unit interface that sends the packets to the servers. So servers appear to receive packets from the server side FortiGate unit. Routing on the server network is usually simpler in this case because client addresses are not involved, but the server sees all traffic as coming from the server side FortiGate unit and not from individual clients. Available only if Mode is set to Full Optimization, and Auto-Detect is set to Off or Active. Select to apply WAN optimization byte caching to the sessions accepted by this rule. For more information, see the FortiGate WAN Optimization, Web Cache, and Web Proxy User Guide. Available only if Auto-Detect is set to Active or Off. Select to apply SSL offloading for HTTPS traffic. You can use SSL offloading to offload SSL encryption and decryption from one or more HTTP servers to the FortiGate unit. If you enable this option, you must configure the rule to accept SSL-encrypted traffic, for example, by configuring the rule to accept HTTPS traffic by setting Port to 443. If you enable SSL offloading, you must also use the CLI command config wanopt ssl-server to add an SSL server for each HTTP server that you want to offload SSL encryption/decryption for. For more information, see the FortiGate WAN Optimization, Web Cache, and Web Proxy User Guide.
Transparent Mode
Enable SSL
Enable Secure Available only if Mode is set to Full Optimization, and Auto-Detect is set to Active or Off. Tunnel If you select Enable Secure Tunnel, the WAN optimization tunnel is encrypted using SSL encryption. You must also add an authentication group to the rule. For more information, see the FortiGate WAN Optimization, Web Cache, and Web Proxy User Guide. Authentication Available only if Mode is set to Full Optimization, and Auto-Detect is set to Active or Off. Group Select this option and select an authentication group from the list if you want groups of FortiGate units to authenticate with each other before starting the WAN optimization tunnel. You must also select an authentication group if you select Enable Secure Tunnel. You must add identical authentication groups to both of the FortiGate units that will participate in the WAN optimization tunnel started by the rule. For more information, see Configuring authentication groups on page 444.
444
The netmask corresponds to the subnet class of the address being added, and can be represented in either dotted decimal or CIDR format. The FortiGate unit automatically converts CIDR formatted netmasks to dotted decimal format. Example formats: netmask for a single computer: 255.255.255.255, or /32 netmask for a class A subnet: 255.0.0.0, or /8 netmask for a class B subnet: 255.255.0.0, or /16 netmask for a class C subnet: 255.255.255.0, or /24 netmask including all IP addresses: 0.0.0.0 x.x.x.x/x.x.x.x, such as 192.168.1.0/255.255.255.0 x.x.x.x/x, such as 192.168.1.0/24
Note: An IP address 0.0.0.0 with netmask 255.255.255.255 is not a valid source or destination address.
When representing hosts by an IP range, the range indicates hosts with continuous IP addresses in a subnet, such as 192.168.1.[2-10], or 192.168.1.* to indicate the complete range of hosts on that subnet. Valid IP range formats include: x.x.x.x-x.x.x.x, such as 192.168.110.100-192.168.110.120 x.x.x.[x-x], such as 192.168.110.[100-120] x.x.x.*, such as 192.168.110.*
New WAN Optimization Peer page Provides settings for configuring a peer host ID and IP address for the peer. Peer Host ID IP Address The peer host ID of the peer FortiGate unit. This is the local host ID added to the peer FortiGate unit. The IP address of the FortiGate unit. Usually this is the IP address of the FortiGate interface connected to the WAN.
445
New Authentication Group page Provides settings for configuring an authentication group. Name Add or change the name of the authentication group. Select this name when adding the authentication group to a rule. Other FortiGate units that participate in WAN optimization tunnels with this FortiGate unit must have an authentication group with the same name. Select the authentication method to use. Select Certificate if you want to use a certificate to authenticate and encrypt WAN optimization tunnels. Select Pre-shared key if you want to use a pre-shared key or password to authenticate and encrypt WAN optimization tunnels. Available only when Authentication Method is Certificate. Select a local certificate that has been added to this FortiGate unit. Other FortiGate units that participate in WAN optimization tunnels with this FortiGate unit must have an authentication group with the same name and certificate. Go to System > Certificates > Local Certificates to add a local certificate to a FortiGate unit.
Authentication Method
Certificate (list)
446
Password
Available only when Authentication Method is Pre-shared key. Add the password (or pre-shared key) used by the authentication group. Other FortiGate units that participate in WAN optimization tunnels with this FortiGate unit must have an authentication group with the same name and password. The key must contain at least 6 printable characters and should be known only by network administrators. For optimum protection against currently known attacks, the key should consist of a minimum of 16 randomly chosen alphanumeric characters. One or more of the following options are available to authenticate WAN optimization peers:
Peer Acceptance
Accept Any Peer Authenticate with any peer. Use this setting if you do not know the peer host IDs or IP addresses of the peers that will use this authentication group. This setting is most often used for WAN optimization with the FortiClient application. Accept Defined Peers Specify Peer Authenticate with any peer in the FortiGate unit peer list. Authenticate with the selected peer only. Select this option and then select the peer to add to this authentication group.
Reduction Rate
LAN WAN
447
Bandwidth Optimization widget of the Monitor page This section shows network bandwidth optimization per time Period. A line or column chart compares an applications pre-optimized (LAN data) size with its optimized size (WAN data). Refresh icon Period Select to refresh the Bandwidth Optimization display. Select a time frame to show bandwidth optimization. You can select: Last 10 Minutes Last 1 Hour Last 1 Day Last 1 Week Last 1 Month Select All to display bandwidth optimization for all applications. Select an individual protocol to display bandwidth optimization for that individual protocol. Select to display bandwidth optimization with a line chart or a column chart.
Protocol
Chart Type
Negative Response Set how long in minutes to cache negative responses. The default is 0, meaning negative responses are not cached. The content server might send Duration a client error code (4xx HTTP response) or a server error code (5xx HTTP response) as a response to some requests. If the web cache is configured to cache these negative responses, it returns that response in subsequent requests for that page or image for the specified number of minutes. Fresh Factor Set the fresh factor as a percentage. The default is 100, and the range is 1 to 100. For cached objects that do not have an expiry time, the web cache periodically checks the server to see if the objects have expired. The higher the Fresh Factor the less often the checks occur. For example, if you set the Max TTL value and Default TTL to 7200 minutes (5 days) and set the Fresh Factor to 20, the web cache check the cached objects 5 times before they expire, but if you set the Fresh Factor to 100, the web cache will check once. The maximum amount of time (Time to Live) an object can stay in the web cache without the cache checking to see if it has expired on the server. The default is 7200 minutes (120 hours or 5 days).
Max TTL
448
Min TTL
The minimum amount of time an object can stay in the web cache before the web cache checks to see if it has expired on the server. The default is 5 minutes. The default expiry time for objects that do not have an expiry time set by the web server. The default expiry time is 1440 minutes (24 hours). Indicates whether the explicit web proxy has been enabled for the FortiGate unit. See Configuring the explicit web proxy on page 117. Select to use WAN optimization web caching to cache content received by the explicit web proxy.
If-modified-since By default, if the time specified by the if-modified-since (IMS) header in the client's conditional request is greater than the last modified time of the object in the cache, it is a strong indication that the copy in the cache is stale. If so, HTTP does a conditional GET to the Overlay Caching Scheme (OCS), based on the last modified time of the cached object. Enable ignoring if-modified-since to override this behavior. HTTP 1.1 Conditionals HTTP 1.1 provides additional controls to the client over the behavior of caches toward stale objects. Depending on various cache-control headers, the FortiGate unit can be forced to consult the OCS before serving the object from the cache. For more information about the behavior of cache-control header values, see RFC 2616. Typically, if a client sends an HTTP GET request with a pragma no-cache (PNC) or cache-control no-cache header, a cache must consult the OCS before serving the content. This means that the FortiGate unit always refetches the entire object from the OCS, even if the cached copy of the object is fresh. Because of this behavior, PNC requests can degrade performance and increase server-side bandwidth utilization. However, if you enable ignring Pragma-no-cache, then the PNC header from the client request is ignored. The FortiGate unit treats the request as if the PNC header is not present. Some versions of Internet Explorer issue Accept / header instead of Pragma no-cache header when you select Refresh. When an Accept header has only the / value, the FortiGate unit treats it as a PNC header if it is a type-N object. Enable ignoring IE reload to cause the FortiGate unit to ignore the PNC interpretation of the Accept / header. Applies only to type-1 objects. When this option is selected, expired type-1 objects are cached (if all other conditions make the object cacheable).
Pragma-nocache
IE Reload
Revalidated Pragma- The pragma-no-cache (PNC) header in a client's request can affect how efficiently the FortiGate unit uses bandwidth. If you do not want to completely no-cache ignore PNC in client requests (which you can do by selecting to ignore Pragma-no-cache, above), you can nonetheless lower the impact on bandwidth usage by selecting Revalidate Pragma-no-cache. When you select Revalidate Pragma-no-cache, a client's non-conditional PNC-GET request results in a conditional GET request sent to the OCS if the object is already in the cache. This gives the OCS a chance to return the 304 Not Modified response, which consumes less server-side bandwidth, because the OCS has not been forced to otherwise return full content. By default, Revalidate Pragma-no-cache is disabled and is not affected by changes in the top-level profile. Most download managers make byte-range requests with a PNC header. To serve such requests from the cache, you should also configure byte-range support when you configure the Revalidate pragma-no-cache option.
449
450
User
User
This section explains how to set up user accounts, user groups, and external authentication servers. You can use these components of user authentication to control access to network resources. If you enable virtual domains (VDOMs) on the FortiGate unit, user authentication is configured separately for each virtual domain. For more information, see Using virtual domains on page 73. The following topics are included in this section: Getting started - User authentication Local user accounts Remote RADIUS LDAP TACACS+ PKI Directory Service User Group Authentication Monitor NAC quarantine and the Banned User list
451
User
You can configure your FortiGate unit to authenticate system administrators with your FortiGate unit, using RADIUS, LDAP and TACACS+ servers and with certificate-based authentication using PKI. For more information, see System Admin on page 167. You can change the authentication timeout value or select the protocol supported for Firewall authentication. For more information, see Authentication on page 465. You can view lists of currently authenticated users, authenticated IM users, and banned users. For more information, see Monitor on page 466. For each network resource that requires authentication, you specify which user groups are permitted access to the network. There are three types of user groups: Firewall, Directory Service, and SSL VPN. For more information, see Firewall user groups on page 461, Directory Service user groups on page 462, and SSL VPN user groups on page 462.
Delete Edit
Note: Deleting the user name deletes the authentication configured for the user.
452
User
Remote
To add a Local user, go to User > User > User, select Create New, and enter or select the following:
New User page Provides settings for configuring whether to allow or block a local user from authenticating. User Name Disable Password LDAP A name that identifies the user. Select to prevent this user from authenticating. Select to authenticate this user using a password stored on the FortiGate unit and then enter the password. The password should be at least six characters. Select to authenticate this user using a password stored on an LDAP server. Select the LDAP server from the list. You can select only an LDAP server that has been added to the FortiGate LDAP configuration. For more information, see LDAP on page 453. Select to authenticate this user using a password stored on a RADIUS server. Select the RADIUS server from the list. You can select only a RADIUS server that has been added to the FortiGate RADIUS configuration. For more information, see RADIUS on page 451. Select to authenticate this user using a password stored on a TACACS server. Select the TACACS+ server from the list. You can select only a TACACS server that has been added to the FortiGate TACACS configuration. For more information, see TACACS+ on page 456.
RADIUS
TACACS+
Remote
Remote authentication is generally used to ensure that employees working offsite can remotely access their corporate network with appropriate security measures in place. In general terms, authentication is the process of attempting to verify the (digital) identity of the sender of a communication such as a login request. The sender may be someone using a computer, the computer itself, or a computer program. Since a computer system should be used only by those who are authorized to do so, there must be a measure in place to detect and exclude any unauthorized access. On a FortiGate unit, you can control access to network resources by defining lists of authorized users, called user groups. To use a particular resource, such as a network or VPN tunnel, the user must: belong to one of the user groups that is allowed access correctly enter a user name and password to prove his or her identity, if asked to do so.
RADIUS
Remote Authentication and Dial-in User Service (RADIUS) servers provide authentication, authorization, and accounting functions. FortiGate units use the authentication function of the RADIUS server. To use the RADIUS server for authentication, you must configure the server before you configure the FortiGate users or user groups that will need it. If you have configured RADIUS support and a user is required to authenticate using a RADIUS server, the FortiGate unit sends the users credentials to the RADIUS server for authentication. If the RADIUS server can authenticate the user, the user is successfully authenticated with the FortiGate unit. If the RADIUS server cannot authenticate the user, the FortiGate unit refuses the connection. You can override the default authentication scheme by selecting a specific authentication protocol or changing the default port for RADIUS traffic.
453
RADIUS
User
Note: The default port for RADIUS traffic is 1812. If your RADIUS server is using port 1645, use the CLI to change the default RADIUS port. For more information, see the config system global command in the FortiGate CLI Reference.
If you want to configure settings for UTF-8 encoding, you must enable this in the CLI. The following is the command syntax used to enable UTF-8 encoding. config vpn ssl settings set force-utf8-login enable end To view the list of RADIUS servers, go to User > Remote > RADIUS.
RADIUS page Lists each individual RADIUS server that you created. On this page, you can edit, delete or create a new RADIUS server. Create New Name Delete Edit Add a new RADIUS server. The maximum number is 10. Name that identifies the RADIUS server on the FortiGate unit. Delete a RADIUS server configuration. You cannot delete a RADIUS server that has been added to a user group. Edit a RADIUS server configuration.
The RADIUS server can use several different authentication protocols during the authentication process: MS-CHAP-V2 is the Microsoft challenge-handshake authentication protocol v2 MS-CHAP is the Microsoft challenge-handshake authentication protocol v1 CHAP (challenge-handshake authentication protocol) provides the same functionality as PAP, but does not send the password and other user information over the network to a security server PAP (password authentication protocol) is used to authenticate PPP connections. PAP transmits passwords and other user information in clear text (unencrypted).
If you have not selected a protocol, the default protocol configuration uses PAP, MSCHAPv2, and CHAP, in that order. To add a new RADIUS server, go to User > Remote > RADIUS, select Create New, and enter or select the following:
454
User
LDAP
New RADIUS Server page Provides settings for configuring a RADIUS server. Name Primary Server Name/IP Primary Server Secret Enter the name that is used to identify the RADIUS server on the FortiGate unit. Enter the domain name or IP address of the primary RADIUS server. Enter the RADIUS server secret key for the primary RADIUS server. The primary server secret key should be a maximum of 16 characters in length.
Secondary Server Name/IP Enter the domain name or IP address of the secondary RADIUS server, if you have one. Secondary Server Secret Enter the RADIUS server secret key for the secondary RADIUS server. The secondary server secret key should be a maximum of 16 characters in length. Select Use Default Authentication Scheme to authenticate with the default method. The default authentication scheme uses PAP, MSCHAP-V2, and CHAP, in that order. Select Specify Authentication Protocol to override the default authentication method, and choose the protocol from the list: MSCHAP-V2, MS-CHAP, CHAP, or PAP, depending on what your RADIUS server needs. Enter the NAS IP address and Called Station ID (for more information about RADIUS Attribute 31, see RFC 2548 Microsoft Vendor-specific RADIUS Attributes). If you do not enter an IP address, the IP address that the FortiGate interface uses to communicate with the RADIUS server will be applied.
Authentication Scheme
Include in every User Group Select to have the RADIUS server automatically included in all user groups.
LDAP
Lightweight Directory Access Protocol (LDAP) is an Internet protocol used to maintain authentication data that may include departments, people, groups of people, passwords, email addresses, and printers. An LDAP consists of a data-representation scheme, a set of defined operations, and a request/response network. If you have configured LDAP support and require a user to authenticate using an LDAP server, the FortiGate unit contacts the LDAP server for authentication. To authenticate with the FortiGate unit, the user enters a user name and password. The FortiGate unit sends this user name and password to the LDAP server. If the LDAP server can authenticate the user, the FortiGate unit successfully authenticates the user. If the LDAP server cannot authenticate the user, the FortiGate unit refuses the connection. The FortiGate unit supports LDAP protocol functionality defined in RFC 2251: Lightweight Directory Access Protocol v3, for looking up and validating user names and passwords. FortiGate LDAP supports all LDAP servers compliant with LDAP v3. In addition, FortiGate LDAP supports LDAP over SSL/TLS. To configure SSL/TLS authentication, refer to the FortiGate CLI Reference. FortiGate LDAP supports password renewal, and these settings are configured in the CLI. There are settings for a warning that the password is going to expire, and threshold of the expiry as well. The following commands are used to configure password renewal for LDAP. config user ldap edit <name> set password-expiry-warning {enable | disable} set password-expiry-threshold <number_of_days>
FortiGate Version 4.0 MR2 Administration Guide 01-420-89802-20100326 http://docs.fortinet.com/ Feedback
455
LDAP
User
set password-renewal {enable | disable} end To view the list of LDAP servers, go to User > Remote > LDAP.
LDAP page Lists each individual LDAP server that you created. On this page, you can edit, delete or create a new LDAP server. Create New Name Port Add a new LDAP server. The maximum number is 10. The name that identifies the LDAP server on the FortiGate unit. The TCP port used to communicate with the LDAP server.
Server Name/IP The domain name or IP address of the LDAP server. Common Name The common name identifier for the LDAP server. Most LDAP servers use cn. However, some servers use other common name identifiers such as uid. Identifier Distinguished Name Delete Edit The distinguished name used to look up entries on the LDAP servers use. The distinguished name reflects the hierarchy of LDAP database object classes above the common name identifier. Delete the LDAP server configuration. Edit the LDAP server configuration.
You can use simple authentication if the user records all fall under one dn. If the users are under more than one dn, use the anonymous or regular type, which can search the entire LDAP database for the required user name. If your LDAP server requires authentication to perform searches, use the regular type and provide values for user name and password. To add an LDAP server, go to User > Remote > LDAP and select Create New. Enter the information below and select OK.
456
User
LDAP
New LDAP Server page Provides settings for configuring an LDAP server. Name Server Name/IP Server Port Enter the name that identifies the LDAP server on the FortiGate unit. Enter the domain name or IP address of the LDAP server. Enter the TCP port used to communicate with the LDAP server. By default, LDAP uses port 389. If you use a secure LDAP server, the default port changes when you select Secure Connection.
Common Name Identifier Enter the common name identifier for the LDAP server. The maximum number of characters is 20. Distinguished Name Enter the base distinguished name for the server using the correct X.500 or LDAP format. The FortiGate unit passes this distinguished name unchanged to the server. The maximum number of characters is 512. View the LDAP server Distinguished Name Query tree for the LDAP server that you are configuring so that you can cross-reference to the Distinguished Name. For more information, see Using Query. Select the type of binding for LDAP authentication. Connect to the LDAP server directly with user name/password, then receive accept or reject based on search of given values. Connect as an anonymous user on the LDAP server, then retrieve the user name/password and compare them to given values. Connect directly to the LDAP server with user name/password authentication. Enter the filter to use for group searching. Available if Bind Type is Regular or Anonymous. Enter the Distinguished name of the user to be authenticated. Available if Bind Type is Regular. Enter the password of the user to be authenticated. Available if Bind Type is Regular. Select to use a secure LDAP server connection for authentication. Select a secure LDAP protocol to use for authentication. Depending on your selection, the value in Server Port will change to the default port for the selected protocol. Available only if Secure Connection is selected. LDAPS: port 636 STARTTLS: port 389 Select a certificate to use for authentication from the list. The certificate list comes from CA certificates at System > Certificates > CA Certificates.
Query
Bind Type Regular Anonymous Simple Filter User DN Password Secure Connection Protocol
Certificate
Using Query
The LDAP Distinguished Name Query list displays the LDAP Server IP address, and all the distinguished names associated with the Common Name Identifier for the LDAP server. The tree helps you to determine the appropriate entry for the DN field. To see the distinguished name associated with the Common Name identifier, select the Expand Arrow beside the CN identifier and then select the DN from the list. The DN you select is displayed in the Distinguished Name field. Select OK to save your selection in the Distinguished Name field of the LDAP Server configuration. To see the users within the LDAP Server user group for the selected Distinguished Name, select the Expand arrow beside the Distinguished Name in the LDAP Distinguished Name Query tree.
FortiGate Version 4.0 MR2 Administration Guide 01-420-89802-20100326 http://docs.fortinet.com/ Feedback
457
TACACS+
User
TACACS+
In recent years, remote network access has shifted from terminal access to LAN access. Users connect to their corporate network (using notebooks or home PCs) with computers that use complete network connections and have the same level of access to the corporate network resources as if they were physically in the office. These connections are made through a remote access server. As remote access technology has evolved, the need for network access security has become increasingly important. Terminal Access Controller Access-Control System (TACACS+) is a remote authentication protocol that provides access control for routers, network access servers, and other networked computing devices via one or more centralized servers. TACACS+ allows a client to accept a user name and password and send a query to a TACACS+ authentication server. The server host determines whether to accept or deny the request and sends a response back that allows or denies network access to the user. The default TCP port for a TACACS+ server is 49. To view the list of TACACS+ servers, go to User > Remote > TACACS+.
TACACS+ page Lists each individual TACACS+ server that you created. On this page, you can edit, delete or create a new TACACS+ server. Create New Server Authentication Type Delete Edit Add a new TACACS+ server. The maximum number is 10. The server domain name or IP address of the TACACS+ server. The supported authentication method. TACACS+ authentication methods include: Auto, ASCII, PAP, CHAP, and MSCHAP. Delete this TACACS+ server. Edit this TACACS+ server.
458
User
Directory Service
New TACACS+ Server page Provides settings for configuring a TACACS+ server. Name Server Name/IP Server Key Authentication Type Enter the name of the TACACS+ server. Enter the server domain name or IP address of the TACACS+ server. Enter the key to access the TACACS+ server. The server key should be a maximum of 16 characters in length. Select the authentication type to use for the TACACS+ server. Selection includes: Auto, ASCII, PAP, CHAP, and MSCHAP. Auto authenticates using PAP, MSCHAP, and CHAP (in that order).
Directory Service
Windows Active Directory (AD) and Novell eDirectory provide central authentication services by storing information about network resources across a domain (a logical group of computers running versions of an operating system) in a central directory database. Each person who uses computers within a domain receives his or her own unique account/user name. This account can be assigned access to resources within the domain. In a domain, the directory resides on computers that are configured as domain controllers. A domain controller is a server that manages all security-related features that affect the user/domain interactions, security centralization, and administrative functions. FortiGate units use firewall policies to control access to resources based on user groups configured in the policies. Each FortiGate user group is associated with one or more Directory Service user groups. When a user logs in to the Windows or Novell domain, a Fortinet Server Authentication Extension (FSAE) sends the FortiGate unit the users IP address and the names of the Directory Service user groups to which the user belongs. The FSAE has two components that you must install on your network: The domain controller (DC) agent must be installed on every domain controller to monitor user logins and send information about them to the collector agent. The collector agent must be installed on at least one domain controller to send the information received from the DC agents to the FortiGate unit.
The FortiGate unit uses this information to maintain a copy of the domain controller user group database. Because the domain controller authenticates users, the FortiGate unit does not perform authentication. It recognizes group members by their IP address. You must install the Fortinet Server Authentication Extensions (FSAE) on the network and configure the FortiGate unit to retrieve information from the Directory Service server. For more information about FSAE, see the Fortinet Server Authentication Extension Administration Guide. To view the list of Directory Service servers, go to User > Directory Service > Directory Service.
Directory Service page Lists each individual directory service server, which includes all FSAE collector agents configured for that server. On this page, you can edit, delete or create a new directory service. Create New Name AD Server Domain Add a new Directory Service server. When you select Create New, you are automatically redirected to the New page. Select the Expand arrow beside the server/domain/group name to display Directory Service domain and group information. The name defined for the Directory Service server. The domain name imported from the Directory Service server.
459
PKI
User
The group names imported from the Directory Service server. The IP addresses and TCP ports of up to five FSAE collector agents that send Directory Service server login information to the FortiGate unit. Delete this Directory Service server. Edit this Directory Service server. Add a user or group to the list. You must know the distinguished name for the user or group. Select to refresh the current information on the page. Select users and groups to add to the list.
To add a new Directory Service server, go to User > Directory Service > Directory Service, select Create New, and enter the information you require for the server.
New page Provides settings for configuring a directory service server, which contains multiple FSAE collector agents. When you select Create New on the Directory Service Page, you are automatically redirected to the New page. Name Enter the name of the Directory Service server. This name appears in the list of Directory Service servers when you create user groups.
FSAE Collector Enter the IP address or name of the Directory Service server where this collector agent is installed. The maximum number of characters is 63. IP/Name Port Password LDAP Server Enter the TCP port used for Directory Service. This must be the same as the FortiGate listening port specified in the FSAE collector agent configuration. Enter the password for the collector agent. This is required only if you configured your FSAE collector agent to require authenticated access. Select the check box and select an LDAP server to access the Directory Service.
PKI
Public Key Infrastructure (PKI) authentication utilizes a certificate authentication library that takes a list of peers, peer groups, and/or user groups and returns authentication successful or denied notifications. Users only need a valid certificate for successful authenticationno user name or password are necessary. Firewall and SSL VPN are the only user groups that can use PKI authentication. For more information about certificate authentication, see the FortiGate Certificate Management User Guide. For information about the detailed PKI configuration settings available only through the CLI, see the FortiGate CLI Reference.
460
User
PKI
To view the list of PKI users, go to User > PKI > PKI.
PKI page Lists each individual PKI user that you have created. On this page, you can edit, delete or create a new PKI user. Create New Name Subject CA Delete Add a new PKI user. When you select Create New, you are automatically redirected to the New PKI User page. The name of the PKI user. The text string that appears in the subject field of the certificate of the authenticating user. The CA certificate that is used to authenticate this user. Delete this PKI user. The delete icon is not available if the peer user belongs to a user group. Remove it from the user group first. Edit this PKI user.
Edit
You can define peer users and peer groups used for authentication in some VPN configurations and for PKI certificate authentication in firewall policies. A peer user is a digital certificate holder that can use PKI authentication. Before using PKI authentication, you must define peer users to include in the user group that is incorporated into the firewall authentication policy. To define a peer user, you need: a peer user name the text from the subject field of the certificate of the authenticating peer user, or the CA certificate used to authenticate the peer user.
You can add or modify other configuration settings for PKI authentication. For more information, see the FortiGate CLI Reference. To create a peer user for PKI authentication, go to User > PKI > PKI, select Create New, and enter information for the peer user.
Note: You must enter a value for at least one of Subject or CA.
New PKI User page Provides settings for configuring a new PKI user. Name Subject CA Enter the name of the PKI user. Enter the text string that appears in the subject field of the certificate of the authenticating user. This field is optional. Enter the CA certificate that must be used to authenticate this user. This field is optional.
461
User Group
User
Require this PKI user to authenticate by password in addition to certificate authentication. Enter a Password. Enter the password that this PKI user must enter.
You can configure peer user groups only through the CLI. For more information, see the FortiGate CLI Reference.
User Group
A user group is a list of user identities. An identity can be: a local user account (user name and password) stored on the FortiGate unit a local user account with a password stored on a RADIUS, LDAP, or TACACS+ server a RADIUS, LDAP, or TACACS+ server (all identities on the server can authenticate) a user or user group defined on a Directory Service server.
Each user group belongs to one of three types: Firewall, Directory Service or SSL VPN. For information about each type, see Firewall user groups on page 461, Directory Service user groups on page 462, and SSL VPN user groups on page 462. For information on configuring each type of user group, see Configuring a user group on page 463. In most cases, the FortiGate unit authenticates users by requesting each user name and password. The FortiGate unit checks local user accounts first. If the unit does not find a match, it checks the RADIUS, LDAP, or TACACS+ servers that belong to the user group. Authentication succeeds when the FortiGate unit finds a matching user name and password. For a Directory Service user group, the Directory Service server authenticates users when they log in to the network. The FortiGate unit receives the users name and IP address from the FSAE collector agent. For more information about FSAE, see the Fortinet Server Authentication Extension Administration Guide. You can configure user groups to provide authenticated access to: Firewall policies that require authentication See Adding authentication to firewall policies on page 263. You can choose the user groups that are allowed to authenticate with these policies. SSL VPNs on the FortiGate unit See Configuring SSL VPN identity-based firewall policies on page 266. IPSec VPN Phase 1 configurations for dialup users See Phase 1 configuration on page 414. Only users in the selected user group can authenticate to use the VPN tunnel. XAuth for IPSec VPN Phase 1 configurations See XAUTH in Phase 1 advanced configuration settings on page 415. Only user groups in the selected user group can be authenticated using XAuth. FortiGate PPTP configuration See PPTP configuration using FortiGate web-based manager on page 425. Only users in the selected user group can use PPTP.
462
User
User Group
FortiGate L2TP configuration You can configure this only by using the config vpn l2tp CLI command. See the FortiGate CLI Reference. Only users in the selected user group can use L2TP.
Administrator login with RADIUS authentication See Configuring RADIUS authentication for administrators on page 171. Only administrators with an account on the RADIUS server can log in.
FortiGuard Web Filtering override groups See FortiGuard Web Filtering on page 557. When FortiGuard Web Filtering blocks a web page, authorized users can authenticate to access the web page or to allow members of another group to access it.
For each resource that requires authentication, you specify which user groups are permitted access. You need to determine the number and membership of user groups appropriate to your authentication needs. This topic contains the following: Firewall user groups Directory Service user groups SSL VPN user groups Viewing the User group list Configuring a user group
For more information, see Phase 1 configuration on page 414. For information about configuring a Firewall user group, see Configuring a user group on page 463. You can also use a firewall user group to provide override privileges for FortiGuard web filtering. For more information, see Dynamically assigning VPN client IP addresses from a user group on page 464. For detailed information about FortiGuard Web Filter, including the override feature, see FortiGuard Web Filtering on page 557.
463
User Group
User
You cannot use Directory Service user groups directly in FortiGate firewall policies. You must add Directory Service groups to FortiGate user groups. A Directory Service group should belong to only one FortiGate user group. If you assign it to multiple FortiGate user groups, the FortiGate unit recognizes only the last user group assignment. You can also use a Directory Service user group to provide override privileges for FortiGuard web filtering. For more information, see Dynamically assigning VPN client IP addresses from a user group on page 464. For detailed information about FortiGuard Web Filter, including the override feature, see FortiGuard Web Filtering on page 557. For information on configuring user groups, see Configuring a user group on page 463.
For information on configuring user groups, see Configuring a user group on page 463. For information on configuring SSL VPN user group options, see Configuring SSL VPN identity-based firewall policies on page 266.
464
User
User Group
User Group page Lists each individual user group list according to their type of group. On this page, you can edit, delete or create a new user group list. Create New Group Name Add a new user group. The name of the user group. User group names are listed by type of user group: Firewall, Directory Service and SSL VPN. For more information, see Firewall user groups on page 461, Directory Service user groups on page 462, and SSL VPN user groups on page 462. The Local users, RADIUS servers, LDAP servers, TACACS+ servers, Directory Service users/user groups or PKI users found in the user group. Delete the user group. You cannot delete a user group that is included in a firewall policy, a dialup user phase 1 configuration, or a PPTP or L2TP configuration. Edit the membership and options of the group.
Members Delete
Edit
Directory Service
SSL VPN
Members
465
User Group
User
466
User
Authentication
To use a RADIUS server to assign IP addresses for dialup IPSec VPN users you configure an IPSec DHCP server for your IPSec VPN configuration and configure advanced settings to set IP Assignment Mode to User-group defined method. You must also add the RADIUS server to a firewall user group. Then in the phase 1 configuration of the dialup VPN you configure advanced settings to set XAUTH to server mode and select the firewall user group that you added the RADIUS server to. To dynamically assign IP addresses for dialup IPSec VPN 1 Go to System > DHCP Server > Service and add or edit the IPSec DHCP server used by the IPSec VPN configuration. 2 Select Advanced and set IP Assignment Mode to User-group defined method and save the changes to the DHCP server. 3 Go to User > User Group > User Group and create a new user group or edit a Firewall user group. 4 Set Type to Firewall. 5 Add the RADIUS server that assigns IP addresses to the Members list and save the Firewall user group. 6 Go to VPN > IPSec > Auto Key (IKE) and create or edit a User Phase 1 with Remote Gateway set to Dialup User. 7 Select Advanced. 8 Set XAUTH to Enable as Server. 9 Set User Group to the firewall user group containing the RADIUS server. 10 Configure the remaining IPSec VPN settings as required. For PPTP VPN you can use a RADIUS server to assign IP addresses for PPTP users by adding the RADIUS server that can assign IP addresses to a firewall user group. Then configure PPTP VPN to use this user group. To dynamically assign IP addresses for PPTP VPN users 1 Go to User > User Group > User Group and create a new user group or edit a firewall user group. 2 Set Type to Firewall. 3 Add the RADIUS server that assigns IP addresses to the Members list and save the Firewall user group. 4 Connect to the FortiGate CLI and enter the following command to enable PPTP, configure assigning IP addresses with a user group, and add the user group containing the RADIUS server to the PPTP VPN configuration. config vpn pptp set status enable set ip-mode usrgrp set usrgrp <user_group> set sip <address> set eip <address> end
Authentication
You can define setting options for user authentication, including authentication timeout, supported protocols, and authentication certificates.
FortiGate Version 4.0 MR2 Administration Guide 01-420-89802-20100326 http://docs.fortinet.com/ Feedback
467
Monitor
User
Authentication timeout controls how long an authenticated firewall connection can be idle before the user must authenticate again. When user authentication is enabled on a firewall policy, the authentication challenge is normally issued for any of the four protocols (depending on the connection protocol): HTTP (can also be set to redirect to HTTPS) HTTPS FTP Telnet.
The selections made in the Protocol Support list of the Authentication Settings screen control which protocols support the authentication challenge. Users must connect with a supported protocol first so they can subsequently connect with other protocols. If HTTPS is selected as a method of protocol support, it allows the user to authenticate with a customized Local certificate. When you enable user authentication on a firewall policy, the firewall policy user will be challenged to authenticate. For user ID and password authentication, users must provide their user names and passwords. For certificate authentication (HTTPS or HTTP redirected to HTTPS only), you can install customized certificates on the FortiGate unit and the users can also have customized certificates installed on their browsers. Otherwise, users will see a warning message and have to accept a default FortiGate certificate. To configure authentication setting options, go to User > User > Authentication.
Authentication Settings Provides settings for defining how users authenticate a session. For example, the authentication timeout is configured for 10 minutes so a users session, if idle for 10 minutes, will log them out of the session automatically. Authentication Timeout Enter a length of time in minutes, from 1 to 480. Authentication Timeout controls how long an authenticated firewall connection can be idle before the user must authenticate again. The default value is 30 Select the protocols to challenge during firewall user authentication. If using HTTPS protocol support, select the Local certificate to use for authentication. Available only if HTTPS protocol support is selected. Apply selections for user Authentication Settings. Note: When you use certificate authentication, if you do not specify any certificate when you create the firewall policy, the global settings will be used. If you specify a certificate, the per-policy setting will overwrite the global setting. For information about how to use certificate authentication, see FortiGate Certificate Management User Guide.
Monitor
You can go to User > Monitor to view lists of currently authenticated users, authenticated IM users, and banned users. For each authenticated user, the list includes the user name, user group, how long the user has been authenticated (Duration), how long until the users session times out (Time left), and the method of authentication used. The list of IM users includes the source IP address, protocol, and last time the protocol was used. The Banned User list includes users configured by administrators in addition to those quarantined based on AV, IPS, or DLP rules. The following lists are available: Firewall user monitor list
468
User
Monitor
IM user monitor list NAC quarantine and the Banned User list
De-authenticate All Stop authenticated sessions for all users in the Firewall user monitor list. User(s) must re-authenticate with the firewall to resume their communication Users session. Filter icons Edit the column filters to filter or sort the firewall user monitor list according to the criteria you specify. For more information, see Adding filters to web-based manager lists on page 33. The user names of all connected remote users. The user group that the remote user is part of. Length of time since the user was authenticated. Length of time remaining until the user session times out. Only available if the authentication time of the session will be automatically extended (authentication keepalive is enabled). If authentication keepalive is not enabled, the value in Time-left will be N/A. For more information, see the FortiGate CLI Reference. The users source IP address. The amount of traffic through the FortiGate unit generated by the user. Authentication method used for the user by the FortiGate unit (authentication methods can be FSAE, firewall authentication, or NTLM).
469
User
To view the list of active IM users, go to User > Monitor > IM.
IM page Lists all active IM users that are currently active. This page allows you to view blocked users as well as users that are currently using a particular IM protocol, such as MSN. Protocol # Protocol Filter the list by selecting the protocol for which to display current users: AIM, ICQ, MSN, or Yahoo. All current users can also be displayed. The position number of the IM user in the list. The protocol being used.
User Name The name selected by the user when registering with an IM protocol. The same user name can be used for multiple IM protocols. Each user name/protocol pair appears separately in the list. Source IP Block The Address from which the user initiated the IM session. Select to add the user name to the permanent black list. Each user name/protocol pair must be explicitly blocked by the administrator. Last Login The last time the current user used the protocol.
You can use Network Access Control (NAC) quarantine to block access through the FortiGate unit when virus scanning detects a virus, or when an IPS sensor or a DoS sensor detects an attack. You can configure NAC quarantine for IPS sensor filters and overrides. NAC quarantine blocks access for the IP address that sent the virus or attack or blocks all traffic from connecting to the FortiGate interface that received the virus or attack. You can also configure IPS sensors and DoS sensors to block communication between the IP address that sent the attack and the target or receiver (victim) of the attack. NAC quarantine blocking drops blocked packets at the network layer before the packets are accepted by firewall policies. NAC quarantine adds blocked IP addresses or interfaces to the Banned User list. To view the Banned User list, go to User > Monitor > Banned User. When you configure NAC quarantine settings, you can specify how long to block the IP addresses or interfaces. FortiGate administrators can manually enable access again by removing IP addresses or interfaces from the Banned User list. Removing an IP address from the Banned User list means the user can start accessing network services through the FortiGate unit again. Removing an interface from the list means the interface can resume normal receiving and processing of communication sessions. For more information, see The Banned User list on page 470.
470
User
SMTP email message, you can configure DLP to block all SMTP email from a sender identified in the From: field of the email messages, without blocking the user from web browsing. DLP will also add the senders name to the Banned User list. For more information about using actions in DLP sensors, see Adding or editing a rule or compound rule in a DLP sensor on page 587.
471
User
edit icmp_flood set quarantine both end end For more information, see the FortiGate CLI Reference.
To view the Banned User list, go to User > Monitor > Banned User.
Banned User page Lists all banned users. Page Controls The current page number of list items that are displayed. Select the left and right arrows to display the first, previous, next or last page of banned users or IP addresses. Clear icon # Application Protocol Remove all users and IP addresses from the Banned User list. The position number of the user or IP address in the list. The protocol that was used by the user or IP address added to the Banned User list.
Cause or rule The FortiGate function that caused the user or IP address to be added to the Banned User list. Cause or rule can be IPS, Antivirus, or Data Leak Prevention. Created Expires The date and time the user or IP address was added to the Banned User list. The date and time the user or IP address will be automatically removed from the Banned User list. If Expires is Indefinite you must manually remove the user or host from the list. Delete the selected user or IP address from the Banned User list.
Delete
472
Endpoint
Endpoint
Endpoint enforces the use of the FortiClient End Point Security (Enterprise Edition) application on your network. It can also allow or deny endpoints access to the network based on the applications installed on them. FortiClient enforcement can check that the endpoint is running the most recent version of the FortiClient application, that the antivirus signatures are up-to-date and that the firewall is enabled. An endpoint is most often a single PC with a single IP address being used to access network services through a FortiGate unit. You enable endpoint in a firewall policy. When traffic attempts to pass through the firewall policy, the FortiGate unit runs compliance checks on the originating host on the source interface. Non-compliant endpoints are blocked. If web browsing, the endpoints are redirected to a web portal that explains the non-compliance and provides a link to download the FortiClient application installer. To ease introduction of endpoint on your network, the FortiGate unit can optionally recommend non-compliant users install FortiClient software but allow them to continue without doing so. You can monitor the endpoints that are subject to endpoint, viewing information about the computer, its operating system and detected applications. This section includes the following topics: Endpoint configuration overview NAC Network Vulnerability Scan Monitoring endpoints
Note: Endpoint does not function if enabled in a firewall policy that contains a load balance VIP.
473
NAC
Endpoint
Define application detection lists to specify which applications are allowed or not allowed. Optionally, you can deny access to endpoints that have applications installed that are not on the detection list. See Configuring application sensors on page 473. Configure Endpoint profiles which specify the FortiClient enforcement settings and the application detection list to apply. You select the Endpoint profile to use when you enable Endpoint in the firewall policy. Enable Endpoint in firewall policies.
Note: You cannot enable Endpoint in firewall policies if Redirect HTTP Challenge to a Secure Channel (HTTPS) is enabled in User > Options > Authentication.
Optionally, modify the inactivity timeout for endpoints. The default is 5 minutes. After that time period, the FortiGate unit rechecks the endpoint for Endpoint compliance. To change the timeout, adjust the compliance-timeout value in the config endpoint-control settings CLI command.
You can also modify the appearance of the Endpoint Download Portal and the Endpoint Recommendation Portal. These are replacement messages. For more information, see Endpoint NAC replacement messages on page 160.
NAC
The NAC menu allows you to configure profiles, application sensors and databases, including network monitoring. This topic includes the following: Configuring Endpoint profiles Configuring FortiClient installer download and version enforcement Configuring application sensors Viewing the application database
474
Endpoint
NAC
New Endpoint NAC Profile page Provides settings for configuring an endpoint profile. When you edit an existing endpoint profile, you are automatically redirected to the Edit Endpoint NAC Profile page. Name Enter a name for the endpoint profile. Endpoint NAC checks for Select an action the FortiGate unit takes when there are noncompliant hosts. Notify Hosts to Install Allow users to continue browsing without installing FortiClient FortiClient (Warn only) Endpoint Security. Quarantine Hosts to User Portal (Enforce compliance) Additional Client Options Antivirus Enabled Antivirus Up-to-Date Firewall Enabled Enable Application Detection Application Detection List Keep endpoint quarantined until user installs FortiClient Endpoint Security.
Endpoint NAC can also Enable Endpoint to enforce any of the following: Select enable the options that are available. By default, the options are grayed out until the Additional Client Options check box is selected. Require that the antivirus feature is enabled. Require that the antivirus signatures are up-to-date. Require that the firewall feature is enabled. Enable to check applications on the endpoint against an application detection list. Select the application sensor to use. By default, this is grayed out until Enable Application Detection is selected.
Edit Delete Name # of Entries Profiles FortiGate Version 4.0 MR2 Administration Guide 01-420-89802-20100326 http://docs.fortinet.com/ Feedback
475
NAC
Endpoint
Comments
Application Sensor Settings page Provides settings for configuring sensors that contain applications. Name Comments Other Applications (not specified below) Enter a name for the application sensor. Enter a description for the application sensor. This is optional. Select what to do if applications not included in this list are installed on the endpoint: Allow allow the endpoint to connect Deny quarantine the endpoint Monitor include this endpoints information in statistics and logs Select to save changes you made on the Application Sensor configuration settings page. Select to create a new application sensor that will be added to the Application Sensor configuration settings page. Select a category from the drop-down list. Select a vendor from the drop-down list. The vendor is the application softwares creator. For example, if you select Adobe, Adobe Systems Incorporated is its vendor. Select an application from the drop-down list. Select the status of the application, whether its installed, running, not running or not installed. Select an action that the FortiGate unit will take. The identification number of the sensor in the list. This number identifies the sensors placement in the list. The category chosen for that application. The vendor chosen for that application. The name of the application. The action the FortiGate unit will take. Select to modify an applications settings. Select to remove an application from the list on the page. Select to insert a new application in the list on the page. Select to move an application either above or below another application in the list.
Application Status Action ID Category Vendor Application Status Edit Delete Insert Move
476
Endpoint
NAC
Filter icons
Edit the column filters to filter or sort the endpoints list according to the criteria you specify. For example, you could add a filter to the Detected Software column to display all endpoints running BitTorrent software. For more information, see Adding filters to web-based manager lists on page 33. The category the application is associated with. The name of the application. The vendor that the application is associated with. For example, the Adobe Reader is associated with the vendor, Adobe Systems Incorporated.
AV Signature Package The latest AV signature package available from FortiGuard Services.
FortiClient Downloads The number of FortiClient software downloads through this FortiGate unit. Update Now Retrieve the latest information from FortiGuard Services. FortiClient Installer Download Location section Select one of the following options to determine the link that the FortiClient Download Portal provides to non-compliant users to download the FortiClient installer. FortiGuard Distribution The FortiClient application is provided by the FortiGuard Distribution Network. The FortiGate unit must be able to access the FortiGuard Network Distribution Network. See Configuring FortiGuard Services on page 222. If the FortiGate unit contains a hard disk drive, the files from FortiGuard Services are cached to more efficiently serve downloads to multiple end points. This FortiGate Users download a FortiClient installer file from this FortiGate unit. This option is available only on FortiGate models that support upload of FortiClient installer files. Upload your FortiClient installer file using the execute restore forticlient CLI command. For more information, refer to the FortiGate CLI Reference. Specify a URL from which users can download the FortiClient installer. You can use this option to provide custom installer files even if your FortiGate unit does not have storage space for them.
Custom URL
Enforce Minimum Version From the list select either Latest Available or a specific FortiClient version as the minimum requirement for endpoints. The list contains the FortiClient versions available from the selected FortiClient Installer Download Location. Fortinet recommends that administrators deploy a FortiClient version update to their users or ask users to install the update and then wait a reasonable period of time for the updates to be installed before updating the minimum version required to the most recent version.
477
Endpoint
Note: Select This FortiGate or Custom URL if you want to provide a customized FortiClient application. This is required if a FortiManager unit will centrally manage FortiClient applications. For information about customizing the FortiClient application, see the FortiClient Administration Guide.
Configuring assets
You can configure multiple assets in the Network Vulnerability Scan menu. Go to Endpoint > Network Vulnerability Scan > Asset and select Create New to create an asset.
Asset page Lists each individual asset that you created. On this page, you can edit, delete or create a new asset. Create New Edit Delete Name IP Address/Range Select to create a new asset. Select to modify an asset. Select to remove an asset from the list on the page. The name of the asset. If Host was chosen as the type for the asset, then the IP address of the host displays. If Range was chosen as the type for the asset, the IP address range appears. Displays whether or not the asset is enabled for scanning. The last discovery that the asset found.
Asset Settings page Provides settings for configuring an asset. Name Type IP Address Scan Type Windows Authentication Enter a name for the asset that you are creating. Select Host to configure the hosts IP address. Select Range to configure the IP address range. Enter the IP address of the host, or the IP address range. This depends on what type you selected in Type. Select Asset Discovery Only to use only the asset for scanning. Select Vulnerability Scan to scan for various vulnerabilities. Select to use authentication on a Windows operating system. Enter the username and password in the fields provided. The fields appear after selecting Windows Authentication. Select to use authentication on a Unix operating system. Enter the username and password in the fields provided. The fields appear after selecting Unix Authentication.
Unix Authentication
Configuring scans
You can configure a network scan for monitoring purposes. Go to Endpoint > Network Vulnerability Scan > Scan to create a scan.
478
Endpoint
Monitoring endpoints
Network Scan page Provides settings for configuring a schedule and what type of scanning you want the FortiGate unit to perform. Scan Mode Select the mode the FortiGate unit will use to scan for vulnerabilities. Quick minimum scan Standard Full performs a full scan Select the schedule to begin and end the vulnerability scan. Manually you configure the options for the schedule Schedule an default schedule is used Select to have the schedule occur on a daily, weekly, or monthly basis. If you select Weekly, the Day of Week drop-down list appears. If you select Monthly, the Day of Month drop-down list appears. Select the time to start the schedule, in the format HH:MM. Select a day of the week from the drop-down list when you want to schedule a scan during the week. Select a day of the month from the drop-down list when you want to schedule a scan on that day of the month.
Schedule
Recurrence
Monitoring endpoints
To view the list of known endpoints, go to Endpoint > Monitor > Endpoint Monitor. An endpoint is added to the list when it uses a firewall policy that has Endpoint enabled. Once an endpoint is added to the list it remains there until you manually delete it or until the FortiGate unit restarts. Every time an endpoint accesses network services through the FortiGate unit (or attempts to access services) the entry for the endpoint is updated. The endpoints list can provide an inventory of the endpoints on your network. Entries for endpoints not running the FortiClient application include the IP address, last update time, and traffic volume/attempts. The non-compliant status indicates the endpoint is not running the FortiClient application. Entries for endpoints running the FortiClient application show much more information, depending on what is available for the FortiClient application to gather. Detailed information you can view includes endpoint hardware (CPU and model name) and the software running on the endpoints. You can adjust column settings and filters to display this information in many different forms. From the endpoints list, you can view information for each endpoint, temporarily exempt end points from endpoint, and restore exempted end points to their blocked state.
Endpoint Monitor page Lists all the endpoints that are currently being monitored by the FortiGate unit. Refresh View Update the list. Display Compliant or Non-compliant endpoints or Both. Compliant endpoints are running the minimum required version of FortiClient or a more recent version. To configure the minimum required version of FortiClient, see Configuring FortiClient installer download and version enforcement on page 475. The Status column displays a gray icon if the endpoint is non-compliant and a green icon if the endpoint is compliant. The Status column displays a green icon with an hourglass if the endpoint is non-compliant but has been temporarily exempted. Shows the current page number in the list. Select the left and right arrows to display the first, previous, next or last page of known endpoints.
Page controls
479
Monitoring endpoints
Endpoint
Column Settings
Select the columns to display in the list. You can also determine the order in which they appear. For more information, see Using column settings to control the columns displayed on page 35 and on page 36. Clear any column display filters you might have applied. Edit the column filters to filter or sort the endpoints list according to the criteria you specify. For example, you could add a filter to the Detected Software column to display all endpoints running BitTorrent software. For more information, see Adding filters to web-based manager lists on page 33. View details about a selected endpoint. Select this icon to display the information about the endpoint found by the FortiClient application.
View
Exempt Temporarily icon Exempt the selected endpoint from Endpoint. This means an endpoint that is blocked and added to the endpoint list can temporarily access network services through the FortiGate unit. When you select this icon you can specify how long the end point is exempted from Endpoint. The default exempt duration is 600 seconds. Restore to Blocked State Resume blocking access for a temporarily exempted endpoint. icon Column Settings Select Column Settings determine which of the following columns to display. All information that appears in the columns is reported by the FortiClient application running on the endpoint, unless otherwise noted. The version of the FortiClient antivirus signatures installed on the endpoint. The name of the manufacturer of the endpoint. The model name of the endpoint. The CPU running on the endpoint. The name of the compliant signature. The software applications detected on this endpoint. See Configuring application sensors on page 473. You can control the applications that appear in the Detected Software column by editing the Detected Software filter. See Adding filters to web-based manager lists on page 33. The version of the FortiClient application running on the endpoint. The host name of the endpoint. The FortiClient features enabled on the endpoint. The IP address of the endpoint as found from the communication session. The FortiClient application is not required to obtain this information. The time that the status of the endpoint was last verified by the FortiGate unit. The FortiClient application is not required to obtain this information. The amount of memory installed on the endpoint. The version of the operating system running on the endpoint. The system up time of the endpoint. If the endpoint is compliant, this column displays the amount of data passed through the FortiGate unit by communication sessions originating from the endpoint. If the endpoint is non-compliant, this column displays the number of times the endpoint has attempted to connect through the FortiGate unit. The FortiClient application is not required to obtain this information. The name of the active user account on the endpoint.
AV signature Computer Manufacturer Computer Model CPU Model Compliant Detected Applications
Last Update
User
480
Wireless Controller
Configuration overview
Wireless Controller
Most FortiGate units, but not FortiWiFi models, can act as a wireless network controller, managing the wireless Access Point (AP) functionality of FortiWiFi units. All units must be running the most recent FortiOS 4.0 firmware. You create virtual access points that can be associated with multiple physical access points. Clients can roam amongst the physical access points, extending the range of the wireless network. The following topics are included in this section: Configuration overview Enabling the wireless controller Configuring FortiWiFi units as managed access points Configuring a virtual wireless access point Configuring a physical access point Configuring DHCP for your wireless LAN Configuring firewall policies for the wireless LAN Monitoring wireless clients Monitoring rogue APs
Configuration overview
To set up a wireless network using the Wireless Controller feature, you need to: Enable the wireless controller, if it is not already enabled. Configure FortiWiFi units to be managed by the wireless controller. Configure each virtual access point (VAP). A VAP has the SSID and security configuration settings you would find on a wireless access point device. Optionally, you can limit the number of simultaneous wireless clients who can use this VAP. Configure each physical access point (AP). The AP settings include the radio settings and rogue AP scan settings. You select the VAPs that will be carried on the physical access point. Optionally, you can limit the number of simultaneous clients this AP will accept. Configure DHCP service to provide addresses to your wireless clients. Configure firewall policies to enable communication between the wireless LAN and other networks.
481
Wireless Controller
3 Select Apply. If you disable the Wireless Controller feature, all of the related configuration is discarded.
482
Wireless Controller
Clients
New Virtual AP page Provides settings for configuring a virtual AP which defines SSID and security settings for a wireless LAN. Name SSID Enter a name to identify the VAP. This is also the name of the virtual network interface you will use in firewall policies. Enter the wireless service set identifier (SSID) or network name for this wireless interface. Users who want to use the wireless network must configure their computers with this network name. Select to broadcast the SSID. Broadcasting the SSID enables clients to connect to your wireless network without first knowing the SSID. For better security, do not broadcast the SSID. Select the security mode for the wireless interface. Wireless users must use the same security mode to be able to connect to this wireless interface. None has no security. Any wireless user can connect to the wireless network. WEP64 64-bit web equivalent privacy (WEP). To use WEP64 you must enter a Key containing 10 hexadecimal digits (0?9 a?f) and inform wireless users of the key. WEP128 128-bit WEP. To use WEP128 you must enter a Key containing 26 hexadecimal digits (0-9 a-f) and inform wireless users of the key. WPA Wi-Fi protected access (WPA) security. To use WPA you must select a data encryption method. You must also enter a pre-shared key containing at least eight characters or select a RADIUS server. If you select a RADIUS server, the wireless clients must have accounts on the RADIUS server. WPA2 WPA with more security features. To use WPA2 you must select a data encryption method and enter a pre-shared key containing at least eight characters or select a RADIUS server. If you select a RADIUS server the wireless clients must have accounts on the RADIUS server. WPA2 Auto the same security features as WPA2, but also accepts wireless clients using WPA security. To use WPA2 Auto you must select a data encryption method You must also enter a pre-shared key containing at least 8 characters or select a RADIUS server. If you select a RADIUS server the wireless clients must have accounts on the RADIUS server. Data Encryption Key Index Select TKIP or AES encryption as appropriate for the capabilities of your wireless clients. This is available for WPA security modes. Many wireless clients can configure up to four WEP keys. Select which key clients must use.with this access point. This is available when you select a WEP Security Mode. Enter the encryption key that the clients must use. This is available when you select a WEP Security Mode. Select one of: Pre-shared key Enter the pre-shared key that clients must use. RADIUS Server Select the RADIUS server that will authenticate the clients. These settings are available when you select a WAP Security Mode. Enter the maximum number of clients permitted to connect simultaneously. Enter 0 for no limit.
SSID Broadcast
Security Mode
Key Authentication
Maximum Clients
483
Wireless Controller
New Managed Access Point page Provides settings for configuring a physical access point. Serial Number Name Admin Enter the serial number of the FortiWiFi unit. This field is completed automatically if the AP discovers this AC and registers itself. Enter a name for the physical AP. Select one of the following: Discovery This is the setting for APs that have discovered this AC and registered themselves. To use such an AP, select Enabled. Disabled Do not manage this AP. Enabled Manage this AP. The last error message, if any, for this AP. Rogue AP scanning detects other APs and reports them on the Wireless Controller > Rogue AP page. Select one of the following: Dedicated AP performs scanning only and does not provide service. Background AP performs scanning during idle periods while acting as an AP. Disabled Do not perform scanning. Scanning can reduce performance. Select the wireless frequency band. Keep in mind the capabilities of your users wireless cards or devices. Select your country or region. This determines which channels are available. Select a channel for your wireless network or select Auto. The channels that you can select depend on the Geography setting. Set the transmitter power level. The higher the number, the larger the area the AP will cover. FortiGate Version 4.0 MR2 Administration Guide 01-420-89802-20100326 http://docs.fortinet.com/ Feedback
484
Wireless Controller
Enter the maximum number of clients permitted to connect simultaneously to this physical AP. Enter 0 for no limit. In the Available list, select the virtual APs to be carried on this physical AP and then select the right-arrow button to move them to the Selected list.
Column Settings
Information columns Actual columns displayed depends on Column Settings. Association Time Bandwidth Rx Bandwidth Tx Bandwidth Tx/Rx Idle Time IP MAC Physical AP How long the client has been connected to this access point. Received bandwidth used by the client, in Kbps. Transmit bandwidth used by the client, in Kbps. Bandwidth Rx + Bandwidth Tx. The total time this session that the client was idle. The IP address assigned to the wireless client. The MAC address of the wireless client. The name of the physical access point with which the client is associated.
485
Wireless Controller
The signal-to-noise ratio in deciBels calculated from signal strength and noise level. The name of the virtual access point with which the client is associated.
Unknown Access Points are detected access points that have not been designated as either Rogue or Accepted.
Rogue AP page Lists all information about detected APs. This page groups the information into sections so that it is easier to view; Unknown Access Points, Rogue Access Points, and Accepted Access Points. Refresh Interval Refresh Set time between information updates. none means no updates. Updates displayed information now.
Inactive Access Points Select which inactive access points to show: all, none, those detected less than one hour ago, or those detected less than one day ago. Online SSID MAC Address Channel Rate First Seen Last Seen Mark as Rogue AP Forget AP A green checkmark indicates an active access point. A grey X indicates that the access point is inactive. The wireless service set identifier (SSID) or network name for the wireless interface. The MAC address of the Wireless interface. The wireless radio channel that the access point uses. The data rate of the access point. The data and time when the FortiWifi unit first detected the access point. The data and time when the FortiWifi unit last detected the access point. Select the icon to move this entry to the Rogue Access Points list. Return item to Unknown Access Points list from Accepted Access Points list or Rogue Access Points list.
Mark as Accepted AP Select the icon to move this entry to the Accepted Access Points list.
486
Log&Report
Log&Report overview
Log&Report
This section provides an introduction to FortiOS logging and reporting. For information about configuring logging and reporting features on your FortiOS unit, as well as additional information, see the Logging and Reporting in FortiOS 4.0 guide. FortiGate units provide extensive logging capabilities for traffic, system and network protection functions. They also allow you to compile reports from the detailed log information gathered. Reports provide historical and current analysis of network activity to help identify security issues that will reduce and prevent network misuse and abuse. If you have VDOMs enabled, see Using virtual domains on page 73 for more information. The following topics are included in this section: Log&Report overview What are logs? Examples How a FortiGate unit stores logs Event Log Alert E-mail Accessing and viewing log messages Archived logs Quarantine Reports
Note: If the FortiGate unit is in transparent mode, certain settings and options for logging may not be available because certain features do not support logging, or are not available in transparent mode. For example, SSL VPN events are not available in transparent mode.
Log&Report overview
The Log&Report menu provides users with configuration settings for either remote or local logging setup, as well as a central location for viewing all types of log messages that are recorded by the FortiGate unit. From this menu, you can also configure an alert email message. An alert email message is a message that is sent to an email address that notifies the recipient of a specific activity that occurred, such as an administrator logging out, or when an intrusion is detected. An alert email message can also notify you how many days before your FortiGuard license expires. The Log&Report menu also provides configuration settings for reports. A report is a collection of log information, which is then displayed in the report in the form of text, graphs and tables. This provides a clear, concise overview of the activities on your network, without manually going through large amounts of log messages.
487
Log&Report
You can also configure SQL reports, if you have an SQL database and are sending your log files to the SQL database. SQL reports display their information in widgets in Log&Report > Report Access > Executive Summary. These report widgets are similar to the widgets available on the Dashboard page, but are not customizable. They display the collected log information as either a bar or pie chart. The Log&Report menu allows users to view quarantined files and archives. Quarantine file details are available on Log&Report > Quarantine Files, and these details provide valuable information about why the file is suspicious. You can also filter the files to customize what you are viewing on the Quarantine Files page. There are two types of archives: DLP and IPS. DLP archives are archived logs containing information about DLP logs, such as email and instant messaging. IPS archives are historical IPS packet logs that administrators can analyze packets for forensics and false positive detection. The archive feature is available on a FortiAnalyzer unit or the FortiGuard Analysis server if subscribed to the FortiGuard Analysis and Management service.
488
Log&Report
The following table explains each log type and its subtypes, and also includes the log identification numbers for each type and subtype.
Table 1: Log types and subtypes Log Type traffic (Traffic Log) event (Event Log) Category Sub-Type Number 00 01 allowed Policy allowed traffic violation Policy violation traffic Other system System activity event ipsec IPSec negotiation event dhcp DHCP service event ppp L2TP/PPTP/PPPoE service event admin admin event ha HA activity event auth Firewall authentication event pattern Pattern update event alertemail Alert email notifications chassis FortiGate-4000 and FortiGate-5000 series chassis event sslvpn-user SSL VPN user event sslvpn-admin SSL VPN administration event sslvpn-session SSL VPN session even his-performance performance statistics vipssl VIP SSL events ldb-monitor LDB monitor events dlp Data Leak Prevention Sub-Type Number 21 22 38 00 01 02 03 04 05 06 07 23 29 32 33 34 43 45 46 54
dlp (Data Leak Prevention) app-crtl (Application Control Log) DLP archive (DLP Archive Log)
09
10
59
06
HTTP Virus infected FTP FTP content metadata SMTP SMTP content metadata POP3 POP3 content metadata IMAP IMAP content metadata infected Virus infected filename Filename blocked oversize File oversized content content block urlfilter URL filter FortiGuard block FortiGuard allowed FortiGuard error ActiveX script filter Cookie script filter Applet script filter signature Attack signature anomaly Attack anomaly SMTP POP3 IMAP
24 25 26 27 28 11 12 13 14 15 16 17 18 35 36 37 19 20 08 09 10
02 03
05
489
Examples
Log&Report
Immediate action is required. Functionality is affected. An error condition exists and functionality could be affected. Functionality could be affected. Information about normal events. General information about system operations. Displays debugging messages.
Examples
The following are two examples, one of a log message and the other of how to configure traffic logging. The log message example explains the fields that are contained in that example.
Log message
This example explains each field of an event log message. An event log message is recorded when one or more events are enable from Log&Report > Log Configuration > Event. 2009-06-30 04:15:22 devname=devname=FGT50B3G06500085 device_id=FGT50B3G06500085 log_id=0104032120 type=event subtype=admin pri=notice vd=root fwver=041000 user=admin ui=GUI(172.16.24.144) name=admin msg=Administrator admin edited the settings of administrator admin from GUI(172.16.24.144)
date=(2009-06-30) time=(04:15:22) The year, month and day of when the event occurred in yyyymm-dd format. The hour, minute and second of when the event occurred in the format hh:mm:ss.
490
Log&Report
Examples
devname= (FGT50B3G06500085)
The name of the FortiGate unit. The name is either the default name (FGT<serial_number>) or the name given by an administrator. The name that appears in this field is the name that appears in Host Name in System > Status in the System Information widget. The serial number of the FortiGate unit. A ten-digit number. The first two digits represent the log type and the following two digits represent the log subtype. The last five digits are the message id. The section of system where the event occurred. The subtype of the log message. This represents a policy applied to the FortiGate feature in the firewall policy. The severity level of the event. There are six severity levels to specify. For more information, see Log severity levels on page 11. The virtual domain where the traffic was logged. The firmware version that was running when the log message was recorded. The users admin profile, usually an administration user. In this example, the admin administrator changed the banned word. The interface where this particular event occurred, along with the IP address of that interface. The ui field includes GUI, CLI, console, and LCD. The user who created the traffic. Explains the activity or event that the FortiGate unit recorded. In this example, an administrator edited the settings of the administrator admin from the web-based manager.
name=(admin) msg=(Administrator admin edited the settings of administrator admin from GUI (172.16.24.144))
491
Examples
Log&Report
end Strict header checking detects invalid raw IP packets by validating packet checksums and also checks IP headers to make sure they adhere to current standards. The default setting is loose which is usually appropriate for most environments. Loose header checking improves performance while meeting most organizations requirements. 3 Enter the following CLI commands to enable traffic logging for all of the FortiGate interfaces that receive traffic. The following commands enable traffic logging on port1 and port2. You should repeat these commands for all other FortiGate unit interfaces that receive traffic. config system interface edit port1 set log enable next edit port2 set log enable end 4 Use the following command to enable logging of other traffic. This option is only available when logging to an external syslog server. RP: Commented this out because in 4.0 MR1, the other-traffic option is available for fortianalyzer, fortiguard, memory, and webtrends, as well as for syslog. config log syslogd filter set other-traffic enable end 5 Go to UTM > Intrusion Protection > IPS Sensor and select Create New to add an IPS Sensor. Edit the IPS Sensor and select Add Pre-defined Override to add the following predefined IPS signatures to the sensor. Invalid.Protocol.Header TCP.Bad.Flags TCP.Invalid.Packet.Size Enable each of these signatures, set Action to Block and enable Logging. 6 Enter the following CLI commands to add a DoS policy (called an interface policy in the CLI) that includes the IPS Sensor. config firewall interface-policy edit 1 set interface <interface_name> set srcaddr all set dstaddr all set service ANY set ips-sensor-status enable set ips-sensor <sensor_name> end Where <sensor_name> is the name of the IPS sensor added above.
492
Log&Report
Test Connectivity
Note: You can specify the source IP address of self-originated traffic when configuring a FortiAnalyzer unit for logging; however, this is available only in the CLI.
493
Log&Report
Disk Space (MB) The amount of disk space, in MB, on the FortiAnalyzer unit for logs.
The permissions of the device for sending and viewing logs, reports, DLP archives, and quarantined logs. Tx indicates the FortiGate unit is allowed to transmit log packets to the FortiAnalyzer unit. Rx indicates the FortiGate unit is allowed to display reports and logs stored on the FortiAnalyzer unit. A check mark indicates the FortiGate unit has permissions to send or view log information and reports. An X indicates the FortiGate unit is not allowed to send or view log information.
Note: The test connectivity feature also provides a warning when a FortiGate unit requires a higher-end FortiAnalyzer unit or when the maximum number of VDOMs/FortiGate units has been reached on the FortiAnalyzer unit.
494
Log&Report
Facility
Enable CSV Format If you enable CSV format, the FortiGate unit produces the log in Comma Separated Value (CSV) format. If you do not enable CSV format the FortiGate unit produces plain text files. Note: If more than one syslog server is configured, the syslog servers and their settings appear on the Log Settings page. You can configure multiple syslog servers in the CLI using the config log {syslog | syslog2 | syslog3} settings CLI command. For more information, see the FortiGate CLI Reference.
Note: You can specify the source IP address of self-originated traffic when configuring a Syslog server; however, this is available only in the CLI.
495
Log&Report
Local Logging & Archiving section of the Log Settings page Memory Minimum log level Stores logs on the FortiGate units system memory. The FortiGate unit logs all messages at and above the logging severity level you select. For more information about the logging levels, see Log severity levels on page 488. Enables archiving of IPS packet logs. Select to archive the IPS Packet logs.
When log disk is full The FortiGate unit will take the specified action, either to overwrite the oldest logs or stop logging altogether, when the disk is at the maximum capacity of storage space for logs. Select one of the following: Overwrite oldest logs overwrites the oldest log message to continue logging. Stop logging stops all logging when the disk is full. Log rolling settings The settings of a log file. Enable SQL Logging If you have an SQL database configured on your FortiGate unit, you can enable this feature to store logs on the SQL database. Select the ones you want to log to the SQL database: Note: When you log to the SQL database, you can collect the log information and put that information into a report widget on Log&Report > Report > Executive Summary.
Local archiving
You can archive DLP and IPS packet logs to a FortiAnalyzer unit, local hard disk if applicable, and FortiGuard Analysis and Management Services if you have a subscription to it. Archiving is the historical storage of logs which can be accessed at any time, regardless of how old they are. Archived logs are located in Log&Report > Archive Access. Enabling archiving of these logs is configured within their own configuration. For example, when configuring a DLP rules or compound rules in a sensor, there is the Archive options within that rule to choose which type of archiving to have, either Full or Summary. The type of archiving is important since full archiving archives all information within the log message, which allows for email attachments if archiving emails, and summary archiving archives only the basic information.
496
Log&Report
Event Log
When archiving to a local disk, you can configure options for rolling archives; however, configuring these options are only available in the CLI and on the following FortiGate units: new generation HDD, such as FortiGate-51B, 111C, 82C, and FortiGate-81CM ASM-S08 or ASM-SAS FMC or FSM module storage
The CLI command syntax for archiving to a hard disk is: config log disk filter set dlp-archive {enable | disable} end
Event Log
In the Event Log menu, you can enable what type of events that you want logged. These event logs are viewed from Log&Report > Log Config > Event Log. For more information about logging events, see the Logging and Reporting in FortiOS 4.0 guide.
Event Log page Lists all the events that you can enable logging for This list varies depending on the FortiGate unit. This list also varies depending on the type of mode the FortiGate unit is in. System Activity event IPSec negotiation event Admin event HA activity event Firewall authentication event Pattern update event Wireless activity event CPU & memory usage (every 5 minutes) VoIP event NAC Quarantine event Wireless activity event AMC interface bypass mode event SSL VPN user authentication event SSL VPN administration event SSL VPN session event VIP ssl event All system-related events, such as ping server failure and gateway status. All IPSec negotiation events, such as progress and error reports. All administration events, such as user logins, resets, and configuration updates. All high availability events, such as link, member and stat information. All firewall-related events, such as user authentication. All pattern update events, such as antivirus and IPS pattern updates and update failures. All wireless controller activity. All real-time CPU and memory events at five minute intervals. All VoIP activity, such as SIP and SCCP violations. All endpoint activity that have quarantined hosts when Endpoint NAC is checking hosts. All wireless controller activities, such as Rogue AP. All AMC interface bypass mode events that occur. All user authentication events for an SSL VPN connection, such as logging in and out, and timeout due to inactivity. All administration events related to SSL VPN, such as SSL configuration and CA certificate loading and removal. All session activity, such as application launches and blocks, timeouts, and verifications. All server-load balancing events happening during SSL sessions, especially details about handshaking.
VIP server health monitor All related VIP server health monitor events that occur when the VIP health monitor is configured, such as nan interface failure. event
497
Alert E-mail
Log&Report
Alert E-mail
You can use the Alert E-mail feature to monitor logs for log messages, and to send email notification about a specific activity or event logged. For example, if you require notification about administrators logging in and out, you can configure an alert email that is sent whenever an administrator logs in and out. You can also base alert email messages on the severity levels of the logs. These alert email messages are sent only when the specified severity level was reached. Alert emails are configured in Log&Report > Log Config > Alert E-mail.
Alert E-mail page Provides settings for configuring the type of alert email notification you want sent. SMTP Server Email from Email to Authentication SMTP user The name/address of the SMTP email server. The email address the alert messages will come from. Enter up to three email address recipients for the alert email message. Select the authentication Enable check box to enable SMTP authentication. Enter the user name for logging on to the SMTP server to send alert email messages. You need to do this only if you have enabled the SMTP authentication. Enter the password for logging on to the SMTP server to send alert email. You need to do this only if you selected SMTP authentication. Select to have the alert email sent for one or multiple events that occur, such as an administrator logging in and out. Enter the minimum time interval between consecutive alert emails. Use this to rate-limit the volume of alert emails. Select if you require an alert email message based on attempted intrusion detection. Select if you require an alert email message based on virus detection. Select if you require an alert email message based on blocked web sites that were accessed. Select if you require an alert email message based on HA status changes. Select if you require an alert email message based on violated traffic that is detected by the FortiGate unit.
Password Send alert email for the following Interval Time (1-9999 minutes) Intrusion detected Virus detected Web access blocked HA status changes Violation traffic detected
Firewall authentication Select if you require an alert email message based on firewall authentication failures. failure SSL VPN login failure Select if you require an alert email message based on any SSL VPN logins that failed. Administrator login/logout IPSec tunnel errors L2TP/PPTP/PPPoE errors Select if you require an alert email message based on whether administrators log in or out. Select if you require an alert email message based on whether there is an error in the IPSec tunnel configuration. Select if you require an alert email message based on errors that occurred in L2TP, PPTP, or PPPoE.
Configuration changes Select if you require an alert email message based on any changes made to the FortiGate configuration. FortiGuard license expiry time (1-100 days) Enter the number of days before the FortiGuard license expiry time notification is sent. For more information, see the Knowledge Base article FortiGuard license is expired log messages.
498
Log&Report
Select if you require an alert email message based on the FortiGuard Analysis server log disk quota getting full. Select if you require an alert email when the internal hard disk or AMC disk reaches a disk usage level. You can set the disk usage level at which the alert email is sent. Select if you want to send an alert email that is based on a specified log severity, such as warning. Select a log severity from the list. For more information about log severity levels, see Log severity levels on page 488.
Send alert email for logs based on severity Minimum log level
Note: You can specify the source IP address of self-originated traffic for an alert email message, however, this is available only in the CLI.
499
Archived logs
Log&Report
The following appears on the Archive Access and Log Access pages when viewing each log types log messages Log Type Page Controls Select the type of log you want to view. Some log files, such as the traffic log, cannot be stored to memory due to the volume of information logged. By default, the first page of the list of items is displayed. The total number of pages displays after the current page number. For example, if 3/54 appears, you are currently viewing page 3 of 54 pages. To view pages, select the left and right arrows to display the first, previous, next, or last page. To view a specific page, enter the page number in the field and then press Enter. For more information, see Using page controls on web-based manager lists on page 34. Select to add or remove columns. This changes what log information appears in Log Access. By default, log messages are displayed in Formatted mode. Select Formatted to view log messages in Raw mode, without columns. When in Raw mode, select Formatted to switch back to viewing log messages organized in columns. When log messages are displayed in Formatted view, you can customize the columns, or filter log messages. Clear all filter settings.
Note: The FortiAnalyzer unit must be running firmware version 3.0 or higher to view logs from the FortiGate unit.
Archived logs
You can view many archive log types including DLP archives or IPS Packet archives from the FortiGate unit. Archives are historical logs that are stored on a log device that supports archiving, such as the FortiAnalyzer unit. These logs are accessed from Log&Report > Archive Access . If you subscribed to the FortiGuard Analysis and Management Service, you can also view log archives from there as well. The DLP Archive menu is only visible if: You have configured the FortiGate unit for remote logging and archiving to a FortiAnalyzer unit. See Remote logging to a FortiAnalyzer unit on page 491. You have subscribed to the FortiGuard Analysis and Management Service. See the FortiGuard Analysis and Management Service Administration Guide.
The following menus are available when you are viewing DLP archives for one of these protocols. E-mail to view POP3, IMAP, SMTP, POP3S, IMAPS, SMTPS, and spam email archives. Web to view HTTP and HTTPS archives. FTP to view FTP archives. IM to view AIM, ICQ, MSN, and Yahoo! archives. VoIP to view session control (SIP, SIMPLE and SCCP) archives.
If you need to view log archives in Raw format, select Raw beside Formatted.
FortiGate Version 4.0 MR2 Administration Guide 01-420-89802-20100326 http://docs.fortinet.com/ Feedback
500
Log&Report
Quarantine
Quarantine
Within the Log Access menu, you can view detailed information about each quarantined file. The information can either be sorted or filtered, depending on what you want to view. Sort the files by file name, date, service, status, duplicate count (DC), or time to live (TTL). Filter the list to view only quarantined files with a specific status or from a specific service. On Log&Report > Archive Access > Quarantine, the file quarantine list displays the following information about each quarantined file:
Quarantine page Lists all files that are considered quarantined by the FortiGate unit. On this page you can filter information so that only specific files are displayed on the page. Source Sort by Filter Either FortiAnalyzer or Local disk, depending where you configure to quarantined files to be stored. Sort the list. Choose from: Status, Service, File Name, Date, TTL, or Duplicate Count. Select Apply to complete the sort. Filter the list. Choose either Status (infected, blocked, or heuristics) or Service (IMAP, POP3, SMTP, FTP, HTTP, IM, or NNTP). Select Apply to complete the filtering. Heuristics mode is configurable through the CLI only. If your FortiGate unit supports SSL content scanning and inspection Service can also be IMAPS, POP3S, SMTPS, or HTTPS. For more information, see the UTM chapter of the FortiOS Handbook. Select to apply the sorting and filtering selections to the list of quarantined files. Select to delete the selected files. Use the controls to page through the list. For more information, see Using page controls on web-based manager lists on page 34. Removes all quarantined files from the local hard disk. This icon only appears when the files are quarantined to the hard disk. The file name of the quarantined file. The date and time the file was quarantined, in the format dd/mm/yyyy hh:mm. This value indicates the time that the first file was quarantined if duplicates are quarantined. The service from which the file was quarantined (HTTP, FTP, IMAP, POP3, SMTP, IM, NNTP, IMAPS, POP3S, SMTPS, or HTTPS). The reason the file was quarantined: infected, heuristics, or blocked. Specific information related to the status, for example, File is infected with W32/Klez.h or File was stopped by file block pattern. Duplicate count. A count of how many duplicates of the same file were quarantined. A rapidly increasing number can indicate a virus outbreak. Time to live in the format hh:mm. When the TTL elapses, the FortiGate unit labels the file as EXP under the TTL heading. In the case of duplicate files, each duplicate found refreshes the TTL. The TTL information is not available if the files are quarantined on a FortiAnalyzer unit. Y indicates the file has been uploaded to Fortinet for analysis, N indicates the file has not been uploaded. This option is available only if the FortiGate unit has a local hard disk. Select to download the corresponding file in its original format. This option is available only if the FortiGate unit has a local hard disk. Select to upload a suspicious file to Fortinet for analysis. This option is available only if the FortiGate unit has a local hard disk.
Apply Delete Page Controls Remove All Entries File Name Date
Upload status
Download Submit
501
Reports
Log&Report
Note: Duplicates of files (based on the checksum) are not stored, only counted. The TTL value and the duplicate count are updated each time a duplicate of a file is found.
Reports
Reports provide an easy way to analyze and view the information from logs. A report is a collection of log information, which is then displayed in the report in the form of text, graphs and tables. You can configure the following reports: FortiOS FortiGate reports provides configuration of a report schedule as well as cloned report Executive Summary reports widgets that display collected log information from the SQL database; limited configuration settings Basic traffic reports collected log information from the FortiGate units system memory, which displays as a bar chart.
FortiOS reports are available only on FortiGate units that contain local hard drives. You also require enabling the following in the CLI so that the Report menu appears in the web-based manager: config log fortianalyzer setting set gui-display enable end This topic contains the following: FortiOS reports Executive Summary reports from SQL logs
FortiOS reports
FortiOS reports are configured from logs stored on the FortiGate unit's hard drive and generated by the FortiGate unit as well. This provides a central location to create and store reports generated from logs files, since previously this feature was only available on FortiAnalyzer units. FortiOS reports are configured in Log&Report > Report Config.
Note: FortiOS reports are available only on FortiGate units with loca hard drives. If upgrading from FortiOS 4.0 MR1 or earlier, FortiAnalyzer reports will only be available on the FortiAnalyzer unit and no configuration settings for FortiAnalyzer reports is supported in FortiOS 4.0 MR2.
You need to enable the report menus before you can configure reports. Report Config and Report Access are enabled in the CLI. The following is the command syntax you need to use to enable Report Config and Report Access menus in the web-based manager. config log fortianalyzer setting set gui-display enable end
Themes
A theme allows you to configure how the information displays on the page, as well as the type of font, page orientation, and if there will be multiple columns. A theme for a report is configured in Log&Report > Report Config > Theme.
502
Log&Report
Reports
Theme page Lists all the charts, both default and the ones that you created. On this page, you can edit, delete and create new charts. Create New Edit Delete Name Column Count When you create a new theme, you are automatically redirected to the Report Title page. Select to modify settings of an existing chart. Select to remove a chart from the list. The name of the theme. The number of columns that will be applied within the report. You can have up to three columns.
Report Title page Provides settings for configuring a theme for a report. Name Page Layout Column Count Report Title Enter a name for the theme. Select the type of page orientation, either Portrait or Landscape. Select how many columns for the report. You can have up to three columns per page. Choose the appearance of the reports title. Select from the following: Font the type of font you want to use, and whether it should be bold, italic or both. Size the fonts size Color the color of the font; you choose by selecting the color block and then a color palette appears and you can choose the color from the palette. Align the alignment of the title, subtitle, heading, or normal paragraph text. The options for choosing the appearance of the reports title are the same for the subtitle, heading 1 through 3, and normal. Choose the appearance of the subtitle. Choose the appearance of the Heading 1 section titles. Choose the appearance of the Heading 2 section titles. Choose the appearance of the Heading 3 section titles. Choose the appearance of the text that appears in the paragraphs.
Layouts
A report layout, similar to the layout that you must configure for a FortiAnalyzer report, contains settings for including charts, sections, adding images and scheduling when the layout will be generated. The Report Components section on the Add Report Layout page provides a place where you can view what charts, sections, and images you have chosen for that report. This section also allows you to move the parts, such as charts, to where you want them in the report. A report layout is configured in Log&Report > Report Config > Layout.
Layout page Lists all the report layouts that you configured, as well as default layouts. On this page, you can edit, delete, clone a report, or create a new report. Create New Edit Delete Clone Run FortiGate Version 4.0 MR2 Administration Guide 01-420-89802-20100326 http://docs.fortinet.com/ Feedback When you select Create New, you are automatically redirected to the Add Report Layout page. Select to modify a report layouts settings. Select to remove a report layout from the list. Use to base a new report layout on an existing one. Immediately generates a report.
503
Reports
Log&Report
The name of the report layout. The name of the title that appears on the generated report. The type of format that the report is in, either PDF or HTML. The time that the report is generated on. A description about the report.
Add Report Layout page Provides settings for configuring a report layout. Name Report Theme Description Output Format Schedule Enter a name of the report layout. This is not the name that will be the reports title. Select a theme from the drop-down list. Enter a description, if you want, to explain what the report is about. This does not appear within the report. The type of format the report will be generated in. You can choose PDF to have the report generated as a PDF. Select what type of schedule you want the report generated on. The type of schedule can be on a daily basis, weekly, on demand (whenever you want), or only once. If you select On Demand, the report can be generated whenever you want it. If you select Once, the report is generated as soon as the report is saved. Enter a name for the title of the report. Enter a name that will be the sub title of the report. Select to include all or some of the following report options: Table of Contents includes a table of contents in the report Auto Heading Number automatically provides a heading number for each heading, in numerical format. HTML navigation bar provides a navigational bar to help you navigate in report whose format is HTML Chart Name as Heading allows for a charts name to be the heading Select Add to add the type of information that you want in the report. These components are required since they contain what log information needs to be included in the report, and how that information will be displayed and formatted in the report. This section provides a preview in the sense that tit allows you to edit each part of the report, such as a chart or an image. You can move each part to be in the order that you want it within the generated report. Select the type of format the heading will have. For example, if you select Heading 1, the headings will be in the Heading 1 format. When you select Normal, you will be providing a comment for a section within the report. Select a category from the Categories drop-down list. Each category contains different charts that are specific to that category. Select an image to include within the report. Select a page break, column break, or horizontal line to include in the report.
Report Components
Charts
There are default charts available when configuring a report layout; however, you can configure your own charts for report layouts that you can create for report layouts. When configuring charts, you must also configure datasets because they are used to gather specific data from the SQL database. You should configure the datasets you need for a report layout first, and then configure chart.
504
Log&Report
Reports
You must have prior knowledge about SQL before configuring datasets because datasets require SQL statements. Datasets are configured only in the CLI. A chart is configured in Log&Report > Report Config > Chart.
Chart page Lists all the charts, both default and the ones that you created. On this page, you can edit, delete and create new charts. Create New Edit Delete Name Type Dataset Comments When you create a new chart, you are automatically redirected to the Add Graph Report Chart page. Select to modify settings of an existing chart. Select to remove a chart from the list. The name of the chart. The type of information that will display within the chart. For example, a bar chart displays attack log information in the Attacks_February chart. The dataset that will be used for the chart. The description about the chart.
Add Graph Report Chart page Provides settings for configuring charts for report layouts. Name Dataset Category Comments Graph Type Category Series Enter a name for the chart. Select a configured dataset for the chart. Select a log category for the chart. Enter a comment to describe the chart. This is optional. Select the type of graph that will display the information within the chart. If you select Pie, only Category Series and Value Series appears. Enter the fields for the category in the Databind field. The databind is a combination of the fields derived rom the SQL statement or named fields in the CLI. For example, field(3). Enter the fields for the value in the Databind field. The databind is a combination of the fields derived rom the SQL statement or named fields in the CLI. For example, field(3). The settings for the x axis of the line, bar or flow chart. Enter an SQL databind value expression for binding data to the series being configured. For example, field(3).
Value Series
X-series Databind
Category Axis Select to have the axis show the type of log category. The default is no log category will appear on the axis. Scale Format Step Unit Y-series Databind Sets the type of format to display the date and time on the x axis. Choose the type of time format that displays on the x axis. Enter the number of scale units in each x axis scale step. Select the unit of the scale-step on the x-axis. The Y-series settings to configure the y part of the line, bar or flow chart. Enter the fields for the x-series. The databind is a combination of the fields derived rom the SQL statement or named fields in the CLI. For example, field(3). Enter a group in the field.
Number of Step Choose the number of steps on the horizontal axis of the graph.
Group
Images
You can import an image to use for a report. The image formats that are supported are JPEG, JPG and PNG.
FortiGate Version 4.0 MR2 Administration Guide 01-420-89802-20100326 http://docs.fortinet.com/ Feedback
505
Reports
Log&Report
Import Image File page Provides settings for importing images. File to Import Enter the location of the image on the local PC or select Browse to locate the image file. Select OK to start importing the image file.
506
Log&Report
Reports
Create Schedule Settings page Provides settings for configuring a report schedule. You require a report layout when configuring a report schedule. Name Description Report Layout Enter a name for the schedule. Enter a description for the schedule. This is optional. Select a configured report layout from the list. You must apply a report layout to a report schedule. For more information, see the FortiAnalyzer Administration Guide. Select the language you want used in the report schedule from the list. Select one of the following to have the report generate once only, daily, weekly, or monthly at a specified date or time period. Select to have the report generated only once. Select to generate the report every date at the same time, and then enter the hour and minute time period for the report. The format is hh:mm. Select to generate the report on specified days of the week, and then select the days of the week check boxes.
These Days
507
Reports
Log&Report
These Dates
Select to generate the report on a specific day or days of the month, and then enter the days with a comma to separate them. For example, if you want to generate the report on the first day, the 21st day and 30th day, enter: 1, 21, 30. You can specify the following variables for the report: Select to create a report based on virtual domains. Enter a specific virtual domain to include in the report. Select to create a report based on a network user. Enter the user or users in the field, separated by spaces. If a name or group name contains a space, if should be specified between quotes, for example, user 1. Select to create a report based on a group of network users, defined locally. Enter the name of the group or groups in the field. Select the LDAP Query check box and then select an LDAP directory or Windows Active Directory group from the list. Select to include the time period of the logs to include in the report. Select a time period from the list. For example, this year. Select to specify the date, day, year and time for the report to run. From Select the beginning date and time of the log time range. To Select the ending date and time of the log time range. Select the format you want the report to be in and if you want to apply an output template. Select the type of file format for the generated report. You can choose from PDF, MS Word, Text, and MHT. Select the check box if you want to apply a report output template from the list. This list is empty if a report output template does not exist. For more information, see the FortiAnalyzer Administration Guide.
Note: If you have VDOMs enabled, FortiAnalyzer reports are accessible only in each VDOM, not in the global VDOM. FortiAnalyzer reports do not appear if the FortiGate unit is not connected to a FortiAnalyzer unit, or if the FortiAnalyzer unit is not running firmware 3.0 or higher.
508
Index
Index
Symbols
_email, 22 _fqdn, 22 _index, 22 _int, 22 _ipv4, 22 _ipv4/mask, 22 _ipv4mask, 22 _ipv6, 22 _ipv6mask, 22 _name, 22 _pattern, 22 _str, 22 _v4mask, 22 _v6mask, 22
Numerics
802.3ad aggregate interface creating, 96
A
accept action firewall policy, 445, 446 access profile, See admin profile, 181 action firewall policy, 266 active sessions HA statistics, 139
509
Index
adding, configuring or defining admin profile, 181 administrative access to interface, 101 administrator account, 169 administrator password, 170 administrator settings, 183 authentication settings, 465 authentication, firewall policy, 270 BFD, 257 BFD on BGP, 258 BFD on OSPF, 258 CA certificates, 194 Certificate Revocation List (CRL), 195 cipher suite, 431 combined IP pool and virtual IP, 328 custom signatures, 372 DHCP interface settings, 98 DHCP relay agent, 132 DHCP server, 132 Directory Service server, 457, 458 Directory Service user groups, 462 Dynamic DNS on an interface, 99 dynamic virtual IP, 323 firewall address, 295 firewall address group, 296 firewall policy, 265, 266, 335, 336 firewall policy, modem connections, 111 firewall schedule, 307 firewall user groups, 461 firewall virtual IP, 311 firmware version, 42 FortiAnalyzer report schedules, 505 FortiWiFi-50B settings, 124, 125 FortiWiFi-60B settings, 124, 125 gateway for default route, 234 HA, 135 HA device priority, 139 HA subordinate unit host name, 139 health check monitor, 342 interface settings, 92 inter-VDOM links, 83 IP pool, 328 IPSec encryption policy, 273 IPSec VPN phase 1, 414 IPSec VPN phase 1 advanced options, 415 IPSec VPN phase 2, 417 IPSec VPN phase 2 advanced options, 418 IPv6 support, 185 LDAP authentication, 173 LDAP server, 453, 454 license key, 214 local user account, 450 logging to a FortiAnalyzer unit, 491 logging to a FortiGuard Analysis server, 492 logging to a Syslog server, 493 logging to memory, 493 MAC filter list, 127 modem connections, firewall policy, 111 modem interface, 107 MTU size, 103 NAT virtual IP, 317 network options, 112 OCSP certificates, 194 one-time schedule, 308
OSPF areas, 251 OSPF AS, 248 OSPF basic settings, 248 OSPF interface, operating parameters, 252 OSPF networks, 252 OSPF settings, advanced, 250 override server, 208 password, 170 password, administrator, 170 peer users and peer groups, 459 PKI authentication, 176 policy, 266, 270 PPPoE or PPPoA interface settings, 99 PPTP range, 425, 426 PPTP VPN, 425, 426 push updates, 210 RADIUS authentication, 171 RADIUS server, 452 recurring schedule, 308 redundant interface, 97 redundant mode, 110 remote authentication, 171 RIP settings, advanced, 246 RIP-enabled interface, 247 scripts, 213 secondary IP address, 103 server load balance port forwarding virtual IP, 348 server load balance virtual IP, 344 SNMP community, 141 SSL VPN options, firewall policy, 274 SSL VPN settings, 430 SSL VPN user groups, 462 standalone mode, 110 static NAT port forwarding, IP address and port range, 321 static NAT port forwarding, single address and port, 320 static NAT virtual IP, IP address range, 318 static route, adding to routing table, 234 system administrators, 167 system certificates, 192 system configuration backup and restore, 200 system configuration backup and restore, FortiManager, 200 system configuration, central management options, 201 system time, 41 TACACS+ authentication, 175 TACACS+ server, 456 updates for FDN and FortiGuard services, 203 URL filter list, 380, 381 user authentication settings, 465 user group, 463 user groups, 460 VDOM configuration settings, 75, 81 VDOM configuration settings, advanced, 78 VDOM configuration settings, global, 76 VDOM interface, 82 VDOM, new, 80 VIP group, 325 virtual IP, 315 virtual IP group, 325 virtual IP, port translation only, 324 virtual IPSec interface, 100 VPN firewall policy-based internet browsing, 422 VPN route-based internet browsing, 422 wireless interface, 125
510
Index
zone, 107 address firewall address group, 296 list, 295 address group, 296 adding, 296 creating new, 296 list, 296 Address Name firewall address, 295 admin administrator account, 27 admin profile administrator account, 178 CLI commands list, 179 configuring, 181 viewing list, 181 administrative access changing, 27 interface settings, 94, 100, 104 monitoring logins, 184 administrative distance, 228 administrative interface. See web-based manager administrator assigning to VDOM, 84 administrator account admin, 27 admin profile, 178 configuring, 169 netmask, 170 administrator login disclaimer, 158 administrator password changing, 27 administrator settings, 183 administrators viewing list, 169 administrators, monitoring, 184 Advanced Mezzanine Card (AMC), 45 AFS3, advanced file security encrypted file AFS3, 299 agent sFlow, 105 aggregate interface creating, 96 AH, predefined service, 299 alert email, 496 options, 496 SMTP user, 496 alert message console viewing, 47 allow inbound IPSec firewall policy, 273 allow outbound IPSec firewall policy, 273 AMC bridge module, 218 configuring AMC modules, 217 AMC module, 91 configuring, 217
antispam port 53, 206 port 8888, 206 antispam. See also Email filter, 386 antivirus quarantine files list, 499 virus list, 363 antivirus and attack definitions, 207 antivirus updates, 208 manual, 44 through a proxy server, 209 ANY service, 299 AOL service, 299 application control, 405 area border router (ABR), 251 ARP, 315, 338 proxy ARP, 315, 338 AS OSPF, 248 ASM-CX4, 218 ASM-cx4, 218 ASM-FX2, 218 attack updates manual, 44 scheduling, 208 through a proxy server, 209 Authentication IPSec VPN, phase 2, 418 authentication Citrix, 118 client certificates and SSL VPN, 431 configuring remote authentication, 171 defining settings, 465 explicit web proxy, 118 firewall policy, 270 HTTP, 118 MD5, 252 NAT device, 118 proxy, 118 RIP, 248 server certificate and SSL VPN, 431 web proxy, 118 Windows Terminal Server, 118 Authentication Algorithm IPSec VPN, manual key, 420, 421 Authentication Key IPSec VPN, manual key, 421 Authentication Method IPSec VPN, phase 1, 415 Auto Key IPSec VPN, 413 Autokey Keep Alive IPSec VPN, phase 2, 419 autonomous system (AS), 254
B
back to HA monitor HA statistics, 138
511
Index
backing up 3.0 config to FortiUSB, 63 3.0 configuration, 62 config using web-based manager, 3.0, 62 backup (redundant) mode modem, 107 backup and restore, system maintenance, 200 backup mode modem, 110 band wireless setting, 124 bandwidth guaranteed, 335 maximum, 336, 440, 443 banned word character set, 379 banned word (email filter) catalog, 389 banned word (spam filter) list, 391 banned word list catalog viewing, 389 beacon interval wireless setting, 124 BFD configuring on BGP, 258 configuring on OSPF, 258 disabling, 258 BGP AS, 254 RFC 1771, 254 service, 299 blackhole route, 229 blackhole routing, 95 bridge mode, 218 bridge module AMC, 218
C
CA certificates importing, 194 viewing, 194 catalog banned word, 389 content filter, 376 IP address black/white list, 391 URL filter, 380 central management, 182 revision control, 183 Certificate Name IPSec VPN, phase 1, 415 certificate, security. See system certificate certificate, server, 431 certificate. See system certificates channel wireless setting, 124 character set converting, 379 DLP, 379 email filter, 379 web filtering, 379
CIDR, 22, 187, 293, 443 cipher suite SSL VPN, 431 Citrix authentication, 118 CLI, 25 admin profile, 179 connecting to from the web-based manager, 28 CLI command PPTP tunnel setup, 426 CLI configuration using in web-based manager, 50 web category block, 384 CLI console, 50 client certificates SSL VPN, 431 client comforting, 378 cluster member, 137 cluster members list, 138 priority, 138 role, 138 cluster unit disconnecting from a cluster, 139 collector sFlow, 105 column settings configuring, 35 using with filters, 35 comforting client, 378 command line interface (CLI), 18 comments firewall policy, 270 comments, documentation, 24 concentrator equivalent for route-based VPN, 413 IPSec tunnel mode, 422 IPSec VPN, policy-based, 422 Concentrator Name IPSec VPN, concentrator, 422 configuring WAN optimization peer, 443 WAN optimization rule, 439 connecting modem, dialup account, 111 web-based manager, 26 conservation mode, 146 conserve mode, 47 contact information SNMP, 141 contacting customer support, 28 content archiving DLP archiving, 405 content block catalog, 376 content filtering character set, 379 content streams replacement messages, 151 CPU load, 79
512
Index
CPU usage HA statistics, 139 CRL (Certificate Revocation List) importing, 195 viewing, 195 custom service list, 304 custom signatures viewing, 372 customer service, 23, 79 customer support contacting, 28 customized GUI PPTP tunnel setup, 425 CVSPSERVER, concurrent versions system proxy server, 299 cx4, 218
D
dashboard, 25 data encryption wireless setting, 126 data leak protection, 395 date quarantine files list, 499 daylight saving changes, 41 DC quarantine files list, 499 DCE-RPC firewall service, 300 default password, 18 default gateway, 232 default route, 232 destination firewall policy, 266, 268, 272, 274 destination IP address system status, 52 destination network address translation (DNAT) virtual IPs, 313, 314 device priority HA, 136 subordinate unit, 139 DH Group IPSec VPN, phase 2, 418 DHCP and IP Pools, 269 configuring relay agent, 132 configuring server, 132 servers and relays, 131 service, 132 system, 131 transparent mode, 131 viewing address leases, 134 DHCP (Dynamic Host Configuration Protocol) configuring on an interface, 98 service, 300 DHCP6 service, 300 DHCP-IPSec IPSec VPN, phase 2, 419 FortiGate Version 4.0 MR2 Administration Guide 01-420-89802-20100326 http://docs.fortinet.com/ Feedback
diagnose commands, 28 dialup VPN monitor, 422 Directory Service configuring server, 457, 458 FSAE, 458 disclaimer administrator login, 158 disconnecting modem, dialup account, 111 Distinguished Name query, 455 DLP archiving, 405 character set, 379 content archiving, 405 DLP archive viewing, 49 DLP archiving, 405 DLP. See data leak protection DNAT virtual IPs, 313, 314 DNS service, 300 split, 113, 116 documentation commenting on, 24 Fortinet, 24 domain name, 294 DoS policy, 276 configuring, 277, 281 viewing, 276 dotted decimal, 22 dotted-decimal notation, 251 double NAT, 328 downgrading. See also reverting 3.0 using the CLI, 69 3.0 using web-based manager, 68 download quarantine files list, 499 duplicates quarantine files list, 500 Dynamic DNS IPSec VPN, phase 1, 414 monitor, 422 network interface, 99 VPN IPSec monitor, 422 dynamic resources VDOM resource limits, 85, 86 dynamic routing, 245 OSPF, 248 PIM, 255 dynamic virtual IP adding, 323
E
ECMP, 229 eip vpn pptp, 426, 427 email alert, 496
513
Index
email filter, 386 Perl regular expressions, 393 Enable perfect forward secrecy (PFS) IPSec VPN, phase 2, 418 Enable replay detection IPSec VPN, phase 2, 418 enable session pickup HA, 136 Encryption IPSec VPN, phase 2, 418 Encryption Algorithm IPSec VPN, manual key, 420, 421 Encryption Key IPSec VPN, manual key, 421 end IP IP pool, 328 enhanced reliability, 135 Equal Cost Multipath (ECMP), 229 equal-cost multi-path (ECMP), 235 ESP service, 300 example firewall policy, 286 source IP address and IP pool address matching, 327 exclude range adding to DHCP server, 133 expire system status, 53 expired subscription, 204 explicit mode WAN optimization, 442 explicit web proxy authentication, 118 FTP, 117 HTTPS, 117 PAC, 117 proxy auto-config, 117 SOCKS, 117 UTM, 118 exported server certificates importing, 192 external interface virtual IP, 316 external IP address virtual IP, 316 external service port virtual IP, 316
F
FDN attack updates, 164 HTTPS, 207 override server, 205 port 443, 207 port 53, 206 port 8888, 206 port forwarding connection, 210 proxy server, 209 push update, 205 troubleshooting connectivity, 207 updating antivirus and attack definitions, 207 FDS, 201 file block default list of patterns, 360 file name quarantine files list, 499 filter filtering information on web-based manager lists, 33 quarantine files list, 499 using with column settings, 35 web-based manager lists, 33 FINGER service, 300 firewall, 293, 299, 307, 311 address list, 295 configuring, 293 configuring firewall service, 299 configuring virtual IP, 311 configuring, schedule, 307 custom service list, 304 one-time schedule, 308 overview, 293, 299 overview, firewall schedule, 307 overview, virtual IP, 311 policy list, 265 policy matching, 263 predefined services, 299 recurring schedule, 307 virtual IP list, 315 firewall address adding, 295 address group, 296 address name, 295 create new, 295 IP range/subnet, 295 list, 295 name, 295 subnet, 295 firewall address group adding, 296 available addresses, 297 group name, 297 members, 297 firewall IP pool list, 327 firewall IP pool options, 328
514
Index
firewall policy accept action, 445, 446 action, 266 adding, 266 allow inbound, 273 allow outbound, 273 authentication, 270 changing the position in the policy list, 264, 440 comments, 270 configuring, 266 creating new, 265, 335, 336 deleting, 264, 440 destination, 266, 268, 272, 274 example, 286 guaranteed bandwidth, 335 ID, 265 inbound NAT, 273 insert policy before, 266, 440 list, 265 log traffic, 270, 272 matching, 263 maximum bandwidth, 336, 440, 443 modem, 111 moving, 264, 440 multicast, 265 outbound NAT, 273 schedule, 266, 268 service, 266, 269 source, 266, 268, 274 SSL VPN options, 274 traffic priority, 440, 443 traffic shaping, 270, 272 user groups, 461
515
Index
firewall service AFS3, 299 AH, 299 ANY, 299 AOL, 299 BGP, 299 CVSPSERVER, 299 DCE-RPC, 300 DHCP, 300 DHCP6, 300 DNS, 300 ESP, 300 FINGER, 300 FTP, 300 FTP_GET, 300 FTP_PUT, 300 GOPHER, 300 GRE, 300 H323, 300 HTTP, 300 HTTPS, 300 ICMP_ANY, 300 IKE, 300 IMAP, 300, 301 INFO_ADRESS, 301 INFO_REQUEST, 301 Internet-Locator-Service, 301 IRC, 301 L2TP, 301 LDAP, 301 MGCP, 301 MS-SQL, 301 MYSQL, 301 NetMeeting, 301 NFS, 301 NNTP, 301 NTP, 301 ONC-RPC, 301 OSPF, 301 PC-Anywhere, 301 PING, 301 PING6, 301 POP3, 301, 302 PPTP, 302 QUAKE, 302 RAUDIO, 302 REXEC, 302 RIP, 302 RLOGIN, 302 RSH, 302 RTSP, 302 SAMBA, 302 SCCP, 302 SIP, 302 SIP-MSNmessenger, 302 SMTP, 302, 303 SNMP, 303 SOCKS, 303 SQUID, 303 SSH, 303 SYSLOG, 303 TALK, 303 TCP, 303 TELNET, 303
TFTP, 303 TIMESTAMP, 303 UDP, 303 UUCP, 303 VDOLIVE, 303 viewing custom service list, 304 viewing list, 299 VNC, 303 WAIS, 303 WINFRAME, 303 WINS, 303 X-WINDOWS, 303 fixed port IP pool, 326 FortiAnalyzer, 17 configuring report schedules, 505 logging to, 491 VDOM, 74 FortiBridge, 17 FortiClient, 17 system maintenance, 198 FortiGate documentation commenting on, 24 FortiGate SNMP event, 142 FortiGate-ASM-CX4, 218 FortiGate-ASM-FB4, 91 FortiGate-ASM-FX2, 218 FortiGuard, 17 Antispam, 18 Antivirus, 18 changing the host name, 384 CLI configuration, 384 manually configuring definition updates, 44 FortiGuard Distribution Network. See FDN FortiGuard Distribution Server. See FDS FortiGuard Intrusion Prevention System (IPS), 43 FortiGuard Management Services remote management options, 201 FortiGuard Services, 202 antispam service, 202 configuring antispam service, 202 configuring updates for FDN and services, 203 configuring web filter service, 203 FortiGuard Management and Analysis Services, 203 licenses, 42, 203 management and analysis service options, 206 support contract, 203 web filtering, 203 web filtering and antispam options, 205 FortiMail, 17 FortiManager, 17 Fortinet customer service, 79 Fortinet customer service, 23 Fortinet documentation, 24 Fortinet Family Products, 17 Fortinet Knowledge Center, 24 Fortinet MIB, 143, 147 Fortinet product registering, 28 FortiWiFi-50B wireless settings, 124 FortiGate Version 4.0 MR2 Administration Guide 01-420-89802-20100326 http://docs.fortinet.com/ Feedback
516
Index
FortiWiFi-60B wireless settings, 124 fragmentation threshold wireless setting, 126 FSAE Directory Service server, 458 FTP explicit web proxy, 117 service, 300 FTP_GET service, 300 FTP_PUT service, 300 fully qualified domain name (FQDN), 22, 294 FX2, 218
G
geography wireless setting, 124 GOPHER service, 300 graphical user interface. See web-based manager grayware updating antivirus and attack definitions, 207 GRE, 248 service, 300 group name HA, 136 groups user, 460 guaranteed bandwidth firewall policy, 335 traffic shaping, 335 GUI. See web-based manager
H
H323 service, 300 HA, 135, 138 changing cluster unit host names, 138 cluster member, 138 cluster members list, 137 configuring, 135 device priority, 136 disconnecting a cluster unit, 139 enable session pickup, 136 group name, 136 hash map, 137 heartbeat interface, 137 host name, 138 interface monitoring, 137 mode, 136 password, 136 port monitor, 137 router monitor, 259 routes, 259 session pickup, 136 subordinate unit device priority, 139 subordinate unit host name, 139 VDOM partitioning, 136, 137 viewing HA statistics, 138
HA statistics active sessions, 139 back to HA monitor, 138 CPU usage, 139 intrusion detected, 139 memory usage, 139 monitor, 139 network utilization, 139 refresh every, 138 status, 138 total bytes, 139 total packets, 139 unit, 138 up time, 138 virus detected, 139 HA virtual clustering, 136 health check monitor configuring, 342 heartbeat, HA interface, 137 help navigating using keyboard shortcuts, 31 searching the online help, 30 using FortiGate online help, 29 high availability (HA), 135 high availability See HA, 135 host name changing, 41 changing for a cluster, 138 viewing, 41 hostname cluster members list, 138 HTTP, 342 authentication, 118 service, 300 HTTPS, 25, 165 explicit web proxy, 117 service, 300 hub-and-spoke IPSec VPN (see also concentrator), 412
I
ICMP echo request, 342 ICMP_ANY service, 300 ID firewall policy, 265 idle timeout changing for the web-based manager, 28 idssignaturecustom_newedit, 372 IEEE 802.3ad, 96 IKE service, 300 IMAP service, 300, 301 inbound NAT IPSec firewall policy, 273 index number, 22 INFO_ADDRESS service, 301
517
Index
INFO_REQUEST service, 301 insert policy before firewall policy, 266, 440 installation, 18 interface adding system settings, 92 administrative access, 94, 100, 104 administrative status, 91 configuring administrative access, 101 GRE, 248 loopback, 91, 230 modem, configuring, 107 MTU, 94 proxy ARP, 315, 338 wireless, 123 WLAN, 123 Interface Mode, 92 interface monitoring, 137 HA, 137 internet browsing IPSec VPN configuration, 422 Internet-Locator-Service service, 301 inter-VDOM links, 82 introduction Fortinet documentation, 24 intrusion detected HA statistics, 139 intrusion protection custom signature list, 372 predefined signature list, 371 signatures, 371 Intrusion Protection definitions, 44 IP virtual IP, 315 IP address antispam black/white list catalog, 391 defining PPTP range, 425, 426 IPSec VPN, phase 1, 414 PPTP user group, 425, 426 IP address, configuring secondary, 103 IP pool adding, 328 configuring, 328 creating new, 328 DHCP, 269 end IP, 328 fixed port, 326 IP range/subnet, 328, 329 list, 327 name, 328, 329 options, 328 PPPoE, 269 proxy ARP, 315, 338 start IP, 328 transparent mode, 330 IP range/subnet firewall address, 295 IP pool, 328, 329 IPS see intrusion protection IPSec, 248
IPSec firewall policy allow inbound, 273 allow outbound, 273 inbound NAT, 273 outbound NAT, 273 IPSec Interface Mode IPSec VPN, manual key, 421 IPSec VPN adding manual key, 420 authentication for user group, 460 Auto Key list, 413 concentrator list, 422 configuring phase 1, 414 configuring phase 1 advanced options, 415 configuring phase 2, 417 configuring phase 2 advanced options, 418 configuring policy-, route-based Internet browsing, 422 Manual Key list, 420 monitor list, 422 remote gateway, 460 route-based vs policy-based, 412 IPv6, 185, 231 IPv6 support settings, 184 IRC service, 301
K
key license, 214 wireless setting, 126 keyboard shortcut online help, 31 Keylife IPSec VPN, phase 2, 418
L
L2TP, 461 service, 301 language changing the web-based manager language, 27 web-based manager, 27, 184 LDAP configuring server, 453, 454 service, 301 user authentication, 450 LDAP Distinguished Name query, 455 LDAP server authentication, 171 configuring authentication, 173 license key, 214 licenses viewing, 42 limit VDOM resources, 85 lists using web-based manager, 32 load balancer, 337 local certificates options, 191 viewing, 190
518
Index
Local Interface IPSec VPN, manual key, 421 IPSec VPN, phase 1, 414 Local SPI IPSec VPN, manual key, 420 local user, 450 local user account configuring, 450 log raw or formatted, 498 traffic, firewall policy, 270 log traffic firewall policy, 272 logging alert email, configuring, 496 configuring FortiAnalyzer report schedules, 505 FortiGuard Analysis server, 492 log severity levels, 488 storing logs, 491 testing FortiAnalyzer configuration, 492 to a FortiAnalyzer unit, 491 to memory, 493 to syslog server, 493 viewing raw or formatted logs, 498 loopback interface, 91, 230 lost password recovering, 27, 170, 171
M
MAC address filtering, 127 MAC filter wireless, 127 MAC filter list configuring, 127 viewing, 127 Management Information Base (MIB), 140 management VDOM, 81, 84 Manual Key IPSec VPN, 420 map to IP virtual IP, 315 map to port virtual IP, 315, 316 matched content, 343 matching firewall policy, 263 maximum bandwidth, 336, 440, 443 firewall policy, 336, 440, 443 traffic shaping, 336, 440, 443 MD5 OSPF authentication, 252, 253 Members IPSec VPN, concentrator, 422 memory, 79 memory usage HA statistics, 139 menu web-based manager menu, 32 MGCP service, 301
MIB, 147 FortiGate, 143 RFC 1213, 143 RFC 2665, 143 Mode IPSec VPN, phase 1, 414 mode HA, 136 operation, 18 modem adding firewall policies, 111 backup mode, 110 connecting and disconnecting to dialup account, 111 redundant (backup) mode, 107 standalone mode, 108, 110 viewing status, 112 modem interface configuring, 107 monitor administrator logins, 184 HA statistics, 139 IPSec VPN, 422 routing, 259 monitoring WAN optimization, 445 moving a firewall policy, 264, 440 MS-CHAP, 452 MS-CHAP-V2, 452 MS-SQL service, 301 MTU size, 94, 102 multicast, 255 multicast destination NAT, 256 multicast policy, 265 multicast settings overriding, 256 MYSQL service, 301
N
Name IP pool, 328, 329 IPSec VPN, manual key, 420 IPSec VPN, phase 1, 414 IPSec VPN, phase 2, 417 NAPT, 282 NAT in transparent mode, 330 inbound, IPSec firewall policy, 273 multicast, 256 NAPT, 282 outbound, IPSec firewall policy, 273 port selection, 282 push update, 210 symmetric, 314 NAT device authentication, 118 NAT virtual IP adding for single IP address, 317 adding static NAT virtual IP for IP address range, 318 netmask administrator account, 170
519
Index
NetMeeting service, 301 network configuring options, 112 Network Address Port Translation, 282 network address translation (NAT), 312 Network Attached Storage (NAS), 172 Network Time Protocol, 41 network utilization HA statistics, 139 NFS service, 301 NNTP service, 301 not registered subscription, 204 notification, 496 Not-so-stubby Area (NSSA), 251 not-so-stubby area (NSSA), 260 Novel edirectory, 457 NTP, 41 service, 301 sync interval, 41 synchronizing with an NTP server, 41
O
object identifier (OID), 147 OCSP certificates importing, 194 OFTP connection, 45 ONC-RPC service, 301 one-time schedule adding, 308 configuring, 308 creating new, 308 list, 308 start, 309 stop, 309 online help content pane, 29 keyboard shortcuts, 31 navigation pane, 30 search, 30 using FortiGate online help, 29 operation mode, 18, 164 wireless setting, 124 operational history viewing, 46
OSPF area ID, 252 AS, 249 authentication, 252, 253 Dead Interval, 253 dead packets, 253 GRE, 253 Hello Interval, 253 interface definition, 252 IPSec, 253 link-state, 248 LSA, 253 multiple interface parameter sets, 253 network, 249 network address space, 253 NSSA, 251, 260 regular area, 251 service, 301 settings, 248 stub, 251 virtual lan, 252 virtual link, 251 VLAN, 253 OSPF AS, 248 defining, 248 outbound NAT IPSec firewall policy, 273 override server adding, 208
P
P2 Proposal IPSec VPN, phase 2, 418 PAC explicit web proxy, 117 packets VDOM, 74 page controls web-based manager, 34 PAP, 452 password administrator, 18 configuring authentication password, 170 HA, 136 recovering lost password, 27, 170, 171 PAT virtual IPs, 312 pattern, 22 default list of file block patterns, 360 PC-Anywhere service, 301 peer group configuring, 459 Peer option IPSec VPN, phase 1, 415 peer user configuring, 459 Perl regular expressions email filter, 393 persistence, 340 Phase, 418
520
Index
phase 1 IPSec VPN, 414, 418 phase 1 advanced options IPSec VPN, 415 phase 2 IPSec VPN, 417 phase 2 advanced options IPSec VPN, 418 PIM dense mode, 255 RFC 2362, 255 RFC 3973, 255 sparse mode, 255 PING, 342 service, 301 PING6 firewall service, 301 PKI, 458 authentication, 176 policy accept action, 445, 446 action, 266 adding, 266 allow inbound, 273 allow outbound, 273 authentication, 270 changing the position in the policy list, 264, 440 comments, 270 configuring, 266 creating new, 265, 335, 336 deleting, 264, 440 destination, 266 DoS, 276 example, 286 guaranteed bandwidth, 335 ID, 265 inbound NAT, 273 insert policy before, 266, 440 list, 265 log traffic, 270, 272 matching, 263 maximum bandwidth, 336, 440, 443 move, 264, 440 multicast, 265 outbound NAT, 273 schedule, 266, 268 service, 266, 269 sniffer, 279 source, 266 SSL VPN options, 274 traffic priority, 440, 443 traffic shaping, 270, 272 policy-based routing, 241 POP3 service, 301, 302 port NAT, 282 port 53, 206 port 8888, 206 port 9443, 210
port address translation virtual IPs, 312 port forwarding, 312 port monitor HA, 137 port monitoring, 137 PPPoE and IP Pools, 269 PPPoE (Point-to-Point Protocol over Ethernet) RFC 2516, 99 PPTP, 425, 460 service, 302 PPTP IP address user group, 425, 426 PPTP range defining addresses, 425, 426 PPTP tunnel setup CLI command, 426 customized GUI, 425 predefined services, 299 predefined signature default action, 372 list, 371 Pre-shared Key IPSec VPN, phase 1, 415 pre-shared key wireless setting, 126 priority cluster members, 138 private key importing, 192, 193 product registration, 28 products, family, 17 proposal IPSec VPN, phase 2, 418 protocol service, 299 system status, 52 virtual IP, 316 Protocol Independent Multicast (PIM), 255 proxy explicit web proxy authentication, 118 proxy ARP, 315, 338 FortiGate interface, 315, 338 IP pool, 315, 338 virtual IP, 315, 338 proxy auto-config explicit web proxy, 117 proxy server, 209 push updates, 209 push update, 205 configuring, 209 external IP address changes, 209 IP address changes, 209 management IP address changes, 210 through a proxy server, 209
Q
QUAKE service, 302
521
Index
quarantine files list antivirus, 499 apply, 499 date, 499 DC, 499 download, 499 duplicates, 500 file name, 499 filter, 499 service, 499 sorting, 499 status, 499 status description, 499 TTL, 499 upload status, 499 query, 455
R
RADIUS configuring server, 452 servers, 451 user authentication, 450 viewing server list, 451 WPA Radius, 126 RADIUS authentication VDOM, 85 RADIUS server authentication, 171 wireless setting, 126 RAUDIO service, 302 read & write access level administrator account, 41, 42, 169 read only access level administrator account, 41, 169, 170 real servers configuring, 341 monitoring, 344 recurring schedule adding, 308 configuring, 308 creating new, 307 list, 307 select, 308 start, 308 stop, 308 redundant interface adding system settings, 97 redundant mode configuring, 110 refresh every HA statistics, 138 registering Fortinet product, 28 regular administrator, 167 regular expression, 22 relay DHCP, 131, 132 reliable delivery of syslog messages, 493 remote administration, 101, 165
remote certificates options, 193 viewing, 193 Remote Gateway IPSec manual key setting, 421 IPSec VPN, manual key, 420 IPSec VPN, phase 1, 414 remote peer manual key configuration, 420 Remote SPI IPSec VPN, manual key, 421 remote user authentication, 451 replacement messages, 151 report configuring report schedules, 505 resource limits dynamic resources, 85, 86 static resources, 85, 86 VDOM, 85 resource usage VDOM, 86 restoring 3.0 configuration, 71 using the CLI, 71 using web-based manager, 71 Reverse Path Forwarding (RPF), 256 revision control, 183 REXEC firewall service, 302 RFC 1213, 140, 143 RFC 1215, 144 RFC 1321, 252 RFC 1771, 254 RFC 2362, 255 RFC 2385, 254 RFC 2460, 186 RFC 2516, 99 RFC 2665, 140, 143 RFC 3973, 255 RFC 5237, 242 RIP authentication, 248 service, 302 split horizon, 247 RLOGIN service, 302 role cluster members, 138 route HA, 259 route flapping, 239 router monitor HA, 259 routing administrative distance, 228 blackhole, 229 configuring, 121 ECMP, 229 loopback interface, 230 monitor, 259 static, 230
522
Index
routing policy protocol number, 242 routing table, 259 searching, 260 RSH firewall service, 302 RTS threshold wireless setting, 126 RTSP firewall service, 302
S
SAMBA service, 302 SCCP firewall service, 302 schedule antivirus and attack definition updates, 208 firewall policy, 266, 268 one-time schedule list, 308 organizing schedules into groups, 309 recurring schedule list, 307 schedule group adding, 309 scheduled updates through a proxy server, 209
screen resolution minimum recommended, 25 search online help, 30 online help wildcard, 30 searching routing table, 260 Secure Copy (SCP), 184 security MAC address filtering, 127 security certificates. See system certificates security mode wireless setting, 125 select recurring schedule, 308 separate server certificates importing, 193 server DHCP, 131 server certificate, 431 server certificates importing, 192, 193 server health, 343 server load balance port forwarding virtual IP adding, 348 server load balance virtual IP adding, 344
523
Index
service AH, 299 ANY, 299 AOL, 299 BGP, 299 custom service list, 304 CVSPSERVER, 299 DCE-RPC, 300 DHCP, 132, 300 DHCP6, 300 DNS, 300 ESP, 300 FINGER, 300 firewall policy, 266, 269 FTP, 300 FTP_GET, 300 FTP_PUT, 300 GOPHER, 300 GRE, 300 H323, 300 HTTPS, 300 ICMP_ANY, 300 IKE, 300 IMAP, 300, 301 INFO_ADDRESS, 301 INFO_REQUEST, 301 Internet-Locator-Service, 301 IRC, 301 L2TP, 301 LDAP, 301 MGCP, 301 MS-SQL, 301 MYSQL, 301 NetMeeting, 301 NFS, 301 NNTP, 301 NTP, 301 ONC-RPC, 301 organizing services into groups, 305 OSPF, 301 PC-Anywhere, 301 PING, 301 PING6, 301 POP3, 301, 302 PPTP, 302 predefined, 299 QUAKE, 302 quarantine files list, 499 RAUDIO, 302 REXEC, 302 RIP, 302 RLOGIN, 302 RSH, 302 RTSP, 302 SAMBA, 302 SCCP, 302 service name, 299 SIP, 302 SIP-MSNmessenger, 302 SMTP, 302, 303 SNMP, 303 SOCKS, 303 SQUID, 303 SSH, 303
SYSLOG, 303 TALK, 303 TCP, 303 TELNET, 303 TFTP, 303 TIMESTAMP, 303 UDP, 303 UUCP, 303 VDOLIVE, 303 VNC, 303 WAIS, 303 WINFRAME, 303 WINS, 303 X-WINDOWS, 303 service group adding, 305 create new, 305 service port virtual IP, 315 service set identifier (SSID), 89 session list viewing, 52 session pickup HA, 136 set time time set the time, 41 settings, 125 administrators, 183 IPv6 support, 184 timeout, 184 sFlow, 105 agent, 105 collector, 105 multiple VDOMs, 106 SIP service, 302 sip vpn pptp, 426 SIP-MSNmessenger service, 302 SMTP service, 302, 303 user, 496 SMTPS, 157 SNAT virtual IPs, 313 sniffer policy, 279 viewing, 280 SNMP configuring community, 141 contact information, 141 event, 142 manager, 140, 141 MIB, 147 MIBs, 143 queries, 142 RFC 12123, 143 RFC 1215, 144 RFC 2665, 143 service, 303 traps, 142, 144 v3, 140 FortiGate Version 4.0 MR2 Administration Guide 01-420-89802-20100326 http://docs.fortinet.com/ Feedback
524
Index
SNMP Agent, 141 SNMP communities, 141 SOCKS explicit web proxy, 117 service, 303 sorting quarantine files list, 499 source firewall policy, 266, 268, 274 source IP address system status, 52 source IP port system status, 52 spam filter banned word list, 391 spam filter, see email filter, 386 split DNS, 113, 116 split-DNS, 113, 116 SQUID service, 303 SSH, 165 service, 303 SSID wireless setting, 125 SSID broadcast wireless setting, 125 SSL service definition, 300, 302 SSL VPN checking client certificates, 431 configuring settings, 430 firewall policy, 274 setting the cipher suite, 431 specifying server certificate, 431 specifying timeout values, 431 web-only mode, 429 SSL VPN Client Certificate, 274 SSL VPN login message, 162 SSL VPN web portal, 431 standalone mode modem, 108, 110 start IP pool, 328 one-time schedule, 309 recurring schedule, 308 static default route, 232 static IP monitor, 422 static NAT port forwarding adding for IP address and port range, 321 adding for single address and port, 320 static resources VDOM resource limits, 85, 86
static route adding, 234 administrative distance, 228 concepts, 227 creating, 230 default gateway, 232 default route, 232 editing, 230 overview, 227 policy, 241 policy list, 242 selecting, 228 table building, 228 table priority, 229 table sequence, 229 viewing, 230 statistics viewing HA statistics, 138 status HA statistics, 138 interface, 91 quarantine files list, 499 vpn pptp, 426 status description quarantine files list, 499 stop one-time schedule, 309 recurring schedule, 308 string, 22 stub OSPF area, 251 subnet firewall address, 295 subscription expired, 204 not registered, 204 valid license, 204 super administrator, 167 switch mode, 92 Switched Port Analyzer (SPAN), 280 sync interval NTP, 41 synchronize with NTP Server, 41 SYSLOG service, 303 syslog reliable, 493 system administrators, 167 system certificate FortiGate unit self-signed security certificate, 26 system certificates CA, 194 CRL, 195 importing, 192 OCSP, 194 requesting, 191, 192 viewing, 190 system configuration, 135 system DHCP see also DHCP, 131 system idle timeout, 165
525
Index
system information viewing, 39 system maintenance backup and restore, 200 creating scripts, 213 enabling push updates, 209 push update through a NAT device, 210 remote FortiManager options, 200 remote management options, 201 updating antivirus and attack definitions, 207 uploading scripts, 214 VDOM, 198 system resources viewing, 46 system time configuring, 41 system wireless. See wireless
T
TACACS+ configuring server, 456 user authentication, 450 TACACS+ server authentication, 171, 175 TALK service, 303 TCP, 342 service, 303 technical support, 23, 79 TELNET service, 303 TFTP service, 303 time configuring, 41 timeout settings, 184 timeout values specifying for SSL VPN, 431 TIMESTAMP service, 303 top attacks viewing, 53 top sessions viewing, 51 top viruses viewing, 53 total bytes HA statistics, 139 total packets HA statistics, 139 traffic history viewing, 54 Traffic Priority, 440, 443 traffic priority firewall policy, 440, 443 traffic shaping, 440, 443
traffic shaping configuring, 335 firewall policy, 270, 272 guaranteed bandwidth, 335 guaranteed bandwidth and maximum bandwidth, 333 maximum bandwidth, 336, 440, 443 priority, 334 traffic priority, 440, 443 transparent mode IP pools, 330 NAT, 330 VDOMs, 74 VIP, 330 virtual IP, 330 WAN optimization, 442 traps SNMP, 144 troubleshooting FDN connectivity, 207 trusted host administrators options, 170 security issues, 177 TTL quarantine files list, 499 tunnel mode SSL VPN, SSL VPN tunnel mode, 429 Tunnel Name IPSec VPN, manual key, 420 Tx Power wireless setting, 124 type virtual IP, 316
U
UDP service, 303 unit HA statistics, 138 unit operation viewing, 45 up time HA statistics, 138 update push, 209 upgrading 3.0 using web-based manager, 65 4.0 using the CLI, 66 backing up using the CLI, 3.0, 62 FortiGate unit to 3.0, 65 using the web-based manager, 65 using web-based manager, 3.0, 62 upload status quarantine files list, 499 URL block adding a URL to the web filter block list, 380 web filter, 380 URL filter catalog, 380 URL formats, 381 USB disk, 200 backup and restore configuration, 198
526
Index
user authentication overview, 449 PKI, 458 remote, 451 user group configuring, 463 PPTP source IP address, 425, 426 user groups configuring, 460 Directory Service, 462 firewall, 461 SSL VPN, 462 viewing, 462 usrgrp vpn pptp, 427 UTF-8 character set, 379 UTM explicit web proxy, 118 web proxy, 118 UUCP service, 303
V
valid license, 204 value parse error, 22 VDOLIVE service, 303 VDOM adding interface, 82 assigning administrator, 84 assigning interface, 83 configuration settings, 75 dynamic resource limits, 85, 86 enabling multiple VDOMs, 77 FortiAnalyzer, 74 inter-VDOM links, 82 license key, 214 limited resources, 79 management VDOM, 81 maximum number, 79 NAT/Route, 74 packets, 74 RADIUS authentication, 85 resource limits, 85 resource usage, 86 static resource limits, 85, 86 system maintenance, 198 transparent mode, 74 VDOM partitioning HA, 137 verifying downgrade to 2.80 MR11, 69 upgrade to 4.0, 67
viewing address group list, 296 admin profiles list, 181 administrators, 184 administrators list, 169 Alert Message Console, 47 antispam IP address list catalog, 391 antivirus list, 363 antivirus quarantined files list, 499 banned word list, 391 banned word list catalog, 389 CA certificates, 194 certificates, 190 cluster members list, 137 CRL (Certificate Revocation List), 195 custom service list, firewall service, 304 custom signatures, 372 DHCP address leases, 134 DLP archive, 49 firewall policy list, 265 firewall service list, 299 FortiGuard support contract, 203 HA statistics, 138 hostname, 41 IP pool list, 328 IPSec VPN auto key list, 413 IPSec VPN concentrator list, 422 IPSec VPN manual key list, 420 IPSec VPN monitor list, 422 LDAP server list, 453 licenses, 42 modem status, 112 one-time schedule list, 308 operational history, 46 RADIUS server list, 451 recurring schedule list, 307 remote certificates, 193 routing information, 259 session list, 52 static route, 230 system information, 39 system resources, 46 TACACS+ server, 456 top attacks, 53 top sessions, 51 top viruses, 53 traffic history, 54 unit operation, 45 URL filter list catalog, 380 user group list, 462 VIP group list, 325 virtual IP group list, 325 virtual IP list, 315 virtual IP pool list, 328 web content filter list catalog, 376 wireless monitor, 127 VIP transparent mode, 330 VIP group configuring, 325 Virtual IP transparent mode, 330
527
Index
virtual IP, 315, 338 configuring, 315 create new, 315, 325 destination network address translation (DNAT), 313, 314 external interface, 316 external IP address, 316 external service port, 316 IP, 315 list, 315 map to IP, 315 map to port, 315, 316 NAT, 312 PAT, 312 port address translation, 312 protocol, 316 server down, 343 service port, 315 SNAT, 313 source network address translation, 313 type, 316 virtual IP group configuring, 325 virtual IP group list viewing, 325 virtual IP, port translation only adding, 324 virtual IPSec configuring interface, 100 virtual servers configuring, 338 virus detected HA statistics, 139 virus list, 363 virus name, 163 virus protection. See antivirus VLAN jumbo frames, 103 OSPF, 252 VNC service, 303 VPN IPSec (see also IPSec VPN), 411 VPN PPTP, 425 VPN SSL. See SSL VPN VPN tunnel IPSec VPN, firewall policy, 273 VPN, IPSec firewall policy, 273 VPNs, 425
W
WAIS service, 303
WAN optimization explicit mode, 442 monitoring, 445 transparent mode, 442 WAN optimization peer configuring, 443 WAN optimization rule configuring, 439 web category block changing the host name, 384 CLI configuration, 384 web equivalent privacy, 125 web filter, 374 adding a URL to the web URL block list, 380 character set, 379 configuring the web URL block list, 381 URL block, 380 URL category, 206 web filtering service, 163 web portal SSL VPN,SSL VPN web portal customize, 431 web proxy authentication, 118 UTM, 118 web site, content category, 162 Web UI. See web-based manager web URL block configuring the web URL block list, 381 web-based manager, 25, 26 changing the language, 27 connecting to the CLI, 28 idle timeout, 28 IPv6 support, 184 language, 27, 184 online help, 29 pages, 31 screen resolution, 25 using the menu, 32 using web-based manager lists, 32 web-only mode SSL VPN, 429 WEP, 125 WEP128, 123, 125 WEP64, 123, 125 WiFi protected access, 125 wild cards, 22 wildcard online help search, 30 Windows Active Directory, 457 Windows Terminal Server authentication, 118 WINFRAME service, 303 WINS service, 303
528
Index
wireless band, 124 beacon interval, 124 channel, 124 configuration, 123 data encryption, 126 fragmentation threshold, 126 geography, 124 interface, 123 key, 126 MAC filter, 127 operation mode, 124 pre-shared key, 126 RADIUS server, 126 RTS threshold, 126 security, 125 security mode, 125 settings FortiWiFi-50B, 124 settings FortiWiFi-60A, 124 settings FortiWiFi-60AM, 124 settings FortiWiFi-60B, 124 SSID, 125 SSID broadcast, 125 Tx power, 124 viewing monitor, 127
WLAN interface, 123 WLAN interface adding to a FortiWiFi-50B, 125 adding to a FortiWiFi-60A, 125 adding to a FortiWiFi-60AM, 125 adding to a FortiWiFi-60B, 125 WPA, 123, 125 WPA Radius wireless security, 126 WPA2, 123, 125 WPA2 Auto, 123, 125 WPA2 Radius wireless security, 126
X
X.509 security certificates. See system certificates X-Forwarded-For (XFF), 120 X-WINDOWS service, 303
Z
zones configuring, 107
529
Index
530
www.fortinet.com
www.fortinet.com