Fortinet FortiGate FortiGate-4000 Administration Manual

Fortinet fortigate fortigate-4000: user guide
Hide thumbs Also See for FortiGate FortiGate-4000:
Table of Contents

Advertisement

FortiGate 4000
Administration Guide
KVM/ACCESS
KVM/ACCESS
KVM ACCESS
KVM/ACCESS
KVM/ACCESS
PWR/KVM STATUS
PWR/KVM STATUS
PWR/KVM STATUS
PWR/KVM STATUS
PWR/KVM STATUS
LAN 1
LAN 2
LAN 1
LAN 2
LAN 1
LAN 2
LAN 1
LAN 2
LAN 1
LAN 2
POWER ON/OFF
POWER ON/OFF
POWER ON/OFF
POWER ON/OFF
POWER ON/OFF
FortiGate-4000 Administration Guide
Version 2.80 MR6
5 November 2004
01-28006-0012-20041105
KVM/ACCESS
KVM/ACCESS
KVM/ACCESS
KVM/ACCESS
KVM/ACCESS
PWR/KVM STATUS
PWR/KVM STATUS
PWR/KVM STATUS
PWR/KVM STATUS
PWR/KVM STATUS
LAN 1
LAN 2
LAN 1
LAN 2
LAN 1
LAN 2
LAN 1
LAN 2
LAN 1
LAN 2
POWER ON/OFF
POWER ON/OFF
POWER ON/OFF
POWER ON/OFF
POWER ON/OFF
ALARM
KVM

Advertisement

Table of Contents
loading

Summary of Contents for Fortinet FortiGate FortiGate-4000

  • Page 1 FortiGate 4000 KVM/ACCESS PWR/KVM STATUS LAN 1 LAN 2 POWER ON/OFF FortiGate-4000 Administration Guide Administration Guide KVM/ACCESS KVM ACCESS KVM/ACCESS KVM/ACCESS KVM/ACCESS KVM/ACCESS KVM/ACCESS PWR/KVM STATUS PWR/KVM STATUS PWR/KVM STATUS PWR/KVM STATUS PWR/KVM STATUS PWR/KVM STATUS PWR/KVM STATUS LAN 1 LAN 2 LAN 1 LAN 2...
  • Page 2 CAUTION: RISK OF EXPLOSION IF BATTERY IS REPLACED BY AN INCORRECT TYPE. DISPOSE OF USED BATTERIES ACCORDING TO THE INSTRUCTIONS. For technical support, please visit http://www.fortinet.com. Send information about errors or omissions in this document or any Fortinet technical documentation to techdoc@fortinet.com.
  • Page 3: Table Of Contents

    High availability ... 18 Secure installation, configuration, and management ... 19 Document conventions ... 20 FortiGate documentation ... 22 Comments on Fortinet technical documentation... 22 Related documentation ... 22 FortiManager documentation ... 23 FortiClient documentation ... 23 FortiMail documentation... 23 FortiLog documentation ...
  • Page 4 Managing an HA cluster... 94 SNMP... 97 Configuring SNMP ... 98 SNMP community ... 99 FortiGate MIBs... 101 FortiGate traps ... 102 Fortinet MIB fields ... 103 Replacement messages ... 106 Replacement messages list ... 106 Changing replacement messages ... 107 01-28006-0012-20041105 Fortinet Inc.
  • Page 5 Configuring routing for a virtual domain ... 138 Configuring firewall policies for a virtual domain ... 138 Configuring IPSec VPN for a virtual domain ... 140 Router ... 141 Static ... 141 Static route list ... 143 Static route options ... 144 Policy ...
  • Page 6 ... 164 config router static6... 187 Firewall... 189 Policy ... 190 How policy matching works... 190 Policy list ... 190 Policy options... 191 Advanced policy options ... 194 Configuring firewall policies ... 196 Policy CLI configuration ... 197 01-28006-0012-20041105 Fortinet Inc.
  • Page 7 Address... 198 Address list ... 199 Address options ... 199 Configuring addresses ... 200 Address group list ... 201 Address group options ... 201 Configuring address groups... 202 Service ... 202 Predefined service list... 203 Custom service list... 206 Custom service options... 206 Configuring custom services...
  • Page 8 Setting up a PPTP-based VPN ... 259 Enabling PPTP and specifying a PPTP range ... 260 Configuring a Windows 2000 client for PPTP ... 261 Configuring a Windows XP client for PPTP ... 261 PPTP passthrough... 262 01-28006-0012-20041105 Fortinet Inc.
  • Page 9 L2TP ... 263 Setting up a L2TP-based VPN... 264 Enabling L2TP and specifying an L2TP range... 264 Configuring a Windows 2000 client for L2TP... 265 Configuring a Windows XP client for L2TP ... 266 Certificates ... 268 Viewing the certificate list... 269 Generating a certificate request...
  • Page 10 Configuring the web URL block list ... 325 Web pattern block list... 326 Web pattern block options ... 327 Configuring web pattern block ... 327 URL exempt ... 327 URL exempt list... 328 URL exempt list options ... 328 Configuring URL exempt... 328 01-28006-0012-20041105 Fortinet Inc.
  • Page 11 Category block ... 329 FortiGuard managed web filtering service ... 329 Category block configuration options... 330 Configuring web category block... 331 Category block reports... 331 Category block reports options ... 332 Generating a category block report... 332 Category block CLI configuration... 332 Script filter ...
  • Page 12 Disk log file access ... 360 Viewing log messages ... 361 Searching log messages... 364 CLI configuration... 365 fortilog setting... 365 syslogd setting ... 366 FortiGuard categories ... 369 FortiGate maximum values ... 375 Glossary ... 379 Index ... 383 01-28006-0012-20041105 Fortinet Inc.
  • Page 13: Introduction

    • • The FortiGate Antivirus Firewall uses Fortinet’s Accelerated Behavior and Content Analysis System (ABACAS™) technology, which leverages breakthroughs in chip design, networking, security, and content analysis. The unique ASIC-based architecture analyzes content and behavior in real-time, enabling key applications to be deployed right at the network edge, where they are most effective at protecting your networks.
  • Page 14: Antivirus Protection

    LAN 2 LAN 1 LAN 2 LAN 1 LAN 2 POWER ON/OFF POWER ON/OFF POWER ON/OFF POWER ON/OFF POWER ON/OFF POWER ON/OFF POWER ON/OFF POWER ON/OFF POWER ON/OFF Fortinet Inc. ALARM KVM/ACCESS PWR/KVM STATUS LAN 1 LAN 2 POWER ON/OFF...
  • Page 15: Web Content Filtering

    Introduction Web content filtering FortiGate web content filtering can scan all HTTP content protocol streams for URLs, URL patterns, and web page content. If there is a match between a URL on the URL block list, or a web page contains a word or phrase that is in the content block list, the FortiGate unit blocks the web page.
  • Page 16: Transparent Mode

    In NAT/Route mode, the FortiGate unit is a Layer 3 device. This means that each of its interfaces is associated with a different IP subnet and that it appears to other devices as a router. This is how a firewall is normally deployed. In NAT/Route mode, you can create NAT mode policies and Route mode policies.
  • Page 17: Vlans And Virtual Domains

    Introduction VLANs and virtual domains Fortigate Antivirus Firewalls support IEEE 802.1Q-compliant virtual LAN (VLAN) tags. Using VLAN technology, a single FortiGate unit can provide security services to, and control connections between, multiple security domains according to the VLAN IDs added to VLAN packets. The FortiGate unit can recognize VLAN IDs and apply security policies to secure network and IPSec VPN traffic between each security domain.
  • Page 18: Vpn

    • High availability Fortinet achieves high availability (HA) using redundant hardware and the FortiGate Clustering Protocol (FGCP). Each FortiGate unit in an HA cluster enforces the same overall security policy and shares the same configuration settings. You can add up to 32 FortiGate units to an HA cluster.
  • Page 19: Secure Installation, Configuration, And Management

    Introduction An active-passive (A-P) HA cluster, also referred to as hot standby HA, consists of a primary FortiGate unit that processes traffic, and one or more subordinate FortiGate units. The subordinate FortiGate units are connected to the network and to the primary FortiGate unit but do not process traffic.
  • Page 20: Document Conventions

    VPN events or violations. Angle brackets < > to indicate variables. For example: execute restore config <filename_str> You enter: execute restore config myfile.bak 01-28006-0012-20041105 Introduction Fortinet Inc.
  • Page 21 Introduction • • • FortiGate-4000 Administration Guide <xxx_str> indicates an ASCII string that does not contain new-lines or carriage returns. <xxx_integer> indicates an integer string that is a decimal (base 10) number. <xxx_octet> indicates a hexadecimal string that uses the digits 0-9 and letters A-F.
  • Page 22: Fortigate Documentation

    Please send information about any errors or omissions in this document, or any Fortinet technical documentation, to techdoc@fortinet.com. Related documentation Additional information about Fortinet products is available from the following related documentation. FortiGate QuickStart Guide Provides basic information about connecting and installing a FortiGate unit.
  • Page 23: Fortimanager Documentation

    Introduction FortiManager documentation • • • FortiClient documentation • • FortiMail documentation • • • FortiLog documentation • • FortiGate-4000 Administration Guide FortiManager QuickStart Guide Explains how to install the FortiManager Console, set up the FortiManager Server, and configure basic settings. FortiManager System Administration Guide Describes how to use the FortiManager System to manage FortiGate devices.
  • Page 24: Customer Service And Technical Support

    Fortinet Technical Support web site at http://support.fortinet.com. You can also register Fortinet products and service contracts from http://support.fortinet.com and change your registration information at any time. Technical support is available through email from any of the following addresses.
  • Page 25: System Status

    System status You can connect to the web-based manager and view the current system status of the FortiGate unit. The status information that is displayed includes the system status, unit information, system resources, and session log. This chapter includes: • •...
  • Page 26: Status

    Select to set the selected automatic refresh interval. Select to manually update the system status display. The time in days, hours, and minutes since the FortiGate unit was last started. The current time according to the FortiGate unit internal clock. 01-28006-0012-20041105 111. System status Fortinet Inc.
  • Page 27: Unit Information

    System status Log Disk Notification Unit Information Admin users and administrators whose access profiles contain system configuration read and write privileges can change or update the unit information. For information on access profiles, see Host Name Firmware Version Antivirus Definitions The current installed version of the FortiGate Antivirus Definitions. Attack Definitions Serial Number Operation Mode...
  • Page 28 The time at which the recent intrusion was detected. The source and destination addresses of the attack. The service from which the attack was delivered; HTTP, FTP, IMAP, POP3, or SMTP. The name of the attack. 01-28006-0012-20041105 System status Fortinet Inc.
  • Page 29: Changing Unit Information

    Note: For information about configuring the FortiGate unit for automatic antivirus definitions updates, see Download the latest antivirus definitions update file from Fortinet and copy it to the computer that you use to connect to the web-based manager. Start the web-based manager and go to System > Status > Status.
  • Page 30 Note: For information about configuring the FortiGate unit for automatic attack definitions updates, see Download the latest attack definitions update file from Fortinet and copy it to the computer that you use to connect to the web-based manager. Start the web-based manager and go to System > Status > Status.
  • Page 31: Session List

    System status To change to NAT/Route mode: Go to System > Status > Status. In the Operation Mode field of the Unit Information section, select Change. In the Operation Mode field, select NAT/Route. Select OK. The FortiGate unit changes operation mode. To reconnect to the web-based manager, you must connect to the interface configured by default for management access.
  • Page 32: Changing The Fortigate Firmware

    FortiGate administrators whose access profiles contain system configuration read and write privileges and the FortiGate admin user can change the FortiGate firmware. After you download a FortiGate firmware image from Fortinet, you can use the procedures listed in Table 1: Firmware upgrade procedures...
  • Page 33: Upgrading To A New Firmware Version

    System status Upgrading to a new firmware version Use the following procedures to upgrade the FortiGate unit to a newer firmware version. Upgrading the firmware using the web-based manager Note: Installing firmware replaces the current antivirus and attack definitions with the definitions included with the firmware release that you are installing.
  • Page 34: Reverting To A Previous Firmware Version

    Where <name_str> is the name of the firmware image file and <tftp_ip> is the IP address of the TFTP server. For example, if the firmware image file name is FGT_300-v280-build183-FORTINET.out and the IP address of the TFTP server is 192.168.1.168, enter: execute restore image FGT_300-v280-build183-FORTINET.out...
  • Page 35: Reverting To A Previous Firmware Version Using The Cli

    System status For information, see If you are reverting to a previous FortiOS version (for example, reverting from FortiOS v2.80 to FortiOS v2.50), you might not be able to restore the previous configuration from the backup configuration file. Note: Installing firmware replaces the current antivirus and attack definitions with the definitions included with the firmware release that you are installing.
  • Page 36: Backup Config

    Where <name_str> is the name of the firmware image file and <tftp_ip> is the IP address of the TFTP server. For example, if the firmware image file name is FGT_300-v280-build158-FORTINET.out and the IP address of the TFTP server is 192.168.1.168, enter: execute restore image FGT_300-v280-build158-FORTINET.out...
  • Page 37: Installing Firmware Images From A System Reboot Using The Cli

    System status 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) Type y.
  • Page 38 “To update antivirus and attack definitions” on page 121 FortiGate unit running v2.x BIOS Press Any Key To Download Boot Image. FortiGate unit running v3.x BIOS Press any key to display configuration menu... 01-28006-0012-20041105 System status to make sure that antivirus execute reboot command. Fortinet Inc.
  • Page 39: Restoring The Previous Configuration

    System status If you successfully interrupt the startup process, one of the following messages appears: • • Type G to get the new firmware image from the TFTP server. The following message appears: Enter TFTP server address [192.168.1.168]: Type the address of the TFTP server and press Enter. The following message appears: Enter Local Address [192.168.1.188]: Type an IP address that the FortiGate unit can use to connect to the TFTP server.
  • Page 40: Testing A New Firmware Image Before Installing It

    The TFTP server should be on the same subnet as the internal interface. 01-28006-0012-20041105 “Backup and restore” on page “Backing up and restoring custom signature “Backup and restore” on page “Backup and restore” on page 115. 120. System status 115. 115. Fortinet Inc.
  • Page 41 System status As the FortiGate unit reboots, press any key to interrupt the system startup. As the FortiGate units starts, a series of system startup messages are displayed. When one of the following messages appears: • • Immediately press any key to interrupt the system startup. Note: You have only 3 seconds to press any key.
  • Page 42: Installing And Using A Backup Firmware Image

    CLI by connecting to the FortiGate console port using a null-modem cable, install a TFTP server that you can connect to from the FortiGate as described in the procedure “Installing firmware images from a system reboot using the CLI” on page 01-28006-0012-20041105 System status Fortinet Inc.
  • Page 43 System status To confirm that the FortiGate unit can connect to the TFTP server, use the following command to ping the computer running the TFTP server. For example, if the IP address of the TFTP server is 192.168.1.168: execute ping 192.168.1.168 Enter the following command to restart the FortiGate unit: execute reboot As the FortiGate unit starts, a series of system startup messages are displayed.
  • Page 44: Switching To The Backup Firmware Image

    Get firmware image from TFTP server. Format boot device. Boot with backup firmware and set as default. Quit menu and continue to boot with default firmware. Display this list of options. 01-28006-0012-20041105 System status to switch to a backup execute reboot command. Fortinet Inc.
  • Page 45 System status Enter the following command to restart the FortiGate unit: execute reboot As the FortiGate units starts, a series of system startup messages are displayed. When the following message appears: Press any key to enter configuration menu... Immediately press any key to interrupt the system startup. Note: You have only 3 seconds to press any key.
  • Page 46 Changing the FortiGate firmware System status 01-28006-0012-20041105 Fortinet Inc.
  • Page 47: System Network

    System network System network settings control how the FortiGate unit connects to and interacts with your network. Basic network settings start with configuring FortiGate interfaces to connect to your network and configuring the FortiGate DNS settings. More advanced network settings include adding VLAN subinterfaces and zones to the FortiGate network configuration.
  • Page 48: Interface Settings

    Bring Down or Bring Up. For more information, “To bring down an interface that is administratively up” on page 54 “To start up an interface that is administratively down” on page Delete, edit, and view icons. 01-28006-0012-20041105 System network “VLAN Fortinet Inc.
  • Page 49 System network Figure 6: Interface settings See the following procedures for configuring interfaces: • • • • • • • • • • • • Name The name of the Interface. Interface Select the name of the physical interface to add the VLAN subinterface to. All VLAN subinterfaces must be associated with a physical interface.
  • Page 50 Interface The VLAN ID can be any number between 1 and 4096 and must match the VLAN ID added by the IEEE 802.1Q-compliant router or switch connected to the VLAN subinterface. For more information on VLANs, see Virtual Domain Select a virtual domain to add the interface or VLAN subinterface to this virtual domain.
  • Page 51 System network PPPoE If you configure the interface to use PPPoE, the FortiGate unit automatically broadcasts a PPPoE request. You can disable connect to server if you are configuring the FortiGate unit offline and you do not want the FortiGate unit to send the PPPoE request.
  • Page 52 Ping server Add a ping server to an interface if you want the FortiGate unit to confirm connectivity with the next hop router on the network connected to the interface. Adding a ping server is required for routing failover. See The FortiGate unit uses dead gateway detection to ping the Ping Server IP address to make sure that the FortiGate unit can connect to this IP address.
  • Page 53: Configuring Interfaces

    System network SNMP TELNET To improve network performance, you can change the maximum transmission unit (MTU) of the packets that the FortiGate unit transmits from any interface. Ideally, this MTU should be the same as the smallest MTU of all the networks between the FortiGate unit and the destination of the packets.
  • Page 54 58. You cannot add an interface to a zone if you have added firewall policies for “To add a virtual domain” on page 01-28006-0012-20041105 “To add a zone” on 135. You cannot add an interface to a virtual System network Fortinet Inc.
  • Page 55 System network Set Addressing Mode to Manual. Change the IP address and Netmask as required. Select OK to save your changes. If you changed the IP address of the interface to which you are connecting to manage the FortiGate unit, you must reconnect to the web-based manager using the new interface IP address.
  • Page 56 To add a ping server to an interface Go to System > Network > Interface. Choose an interface and select Edit. Set Ping Server to the IP address of the next hop router on the network connected to the interface. Select the Enable check box.
  • Page 57: Zone

    System network Controlling administrative access for an interface connected to the Internet allows remote administration of the FortiGate unit from any location on the Internet. However, allowing remote administration from the Internet could compromise the security of your FortiGate unit. You should avoid allowing administrative access for an interface connected to the Internet unless this is required for your configuration.
  • Page 58: Zone Settings

    Edit/View icons. Select to edit or view a zone. Delete icon. Select to remove a zone. Enter the name to identify the zone. Select Block intra-zone traffic to block traffic between interfaces or VLAN subinterfaces in the same zone. 01-28006-0012-20041105 System network Fortinet Inc.
  • Page 59: Management

    System network Select the Block intra-zone traffic check box if you want to block traffic between interfaces or VLAN subinterfaces in the same zone. Select the names of the interfaces or VLAN subinterfaces to add to the zone. Select OK. To delete a zone You can only delete zones that have the Delete icon beside them in the zone list.
  • Page 60: Dns

    FortiGate unit from. Enter the default gateway address. Select the virtual domain from which you want to perform system management. 01-28006-0012-20041105 83). This must be a valid IP System network “To Fortinet Inc.
  • Page 61: Routing Table (Transparent Mode)

    The destination IP address for this route. The netmask for this route. The IP address of the next hop router to which this route directs traffic. The the relative preferability of this route. 1 is most preferred. Delete icon. Select to remove a route.
  • Page 62: Transparent Mode Route Settings

    Enter the destination IP address and netmask for this route. Enter the IP address of the next hop router to which this route directs traffic The the relative preferability of this route. 1 is most preferred.
  • Page 63: Fortigate Units And Vlans

    VLAN tags to packets. Packets passing between devices in the same VLAN can be handled by layer 2 switches. Packets passing between devices in different VLANs must be handled by a layer 3 device such as router, firewall, or layer 3 switch.
  • Page 64: Rules For Vlan Ids

    VLANs in NAT/Route mode In NAT/Route mode, the FortiGate units support VLANs for constructing VLAN trunks between an IEEE 802.1Q-compliant switch (or router) and the FortiGate unit. Normally the FortiGate unit internal interface connects to a VLAN trunk on an internal switch, and the external interface connects to an upstream Internet router untagged.
  • Page 65: Adding Vlan Subinterfaces

    The VLAN ID of each VLAN subinterface must match the VLAN ID added by the IEEE 802.1Q-compliant router. The VLAN ID can be any number between 1 and 4096. Each VLAN subinterface must also be configured with its own IP address and netmask.
  • Page 66: Vlans In Transparent Mode

    FortiGate internal interface accepts VLAN packets on a VLAN trunk from a VLAN switch or router connected to internal VLANs. The FortiGate external interface forwards tagged packets through the trunk to an external VLAN switch or router which could be connected to the Internet. The FortiGate unit can be configured to apply different policies for traffic on each VLAN in the trunk.
  • Page 67 Figure 17 three VLAN subinterfaces. In this configuration the FortiGate unit could be added to this network to provide virus scanning, web content filtering, and other services to each VLAN. FortiGate-4000 Administration Guide VLAN Switch or router VLAN1 Internal VLAN1 VLAN2...
  • Page 68: Rules For Vlan Ids

    Enter VLAN POWER switch Internet “System virtual domain” on page 131 01-28006-0012-20041105 VLAN 3 VLAN ID = 300 VLAN 1 VLAN 2 VLAN 3 External VLAN 1 VLAN VLAN 2 Trunk VLAN 3 Untagged packets Router System network Fortinet Inc.
  • Page 69: Transparent Mode Vlan List

    System network Transparent mode VLAN list In Transparent mode, go to System > Network > Interface to add VLAN subinterfaces. Figure 18: Sample Transparent mode VLAN list Create New Virtual Domain Select a virtual domain to display the VLAN interfaces added to this virtual Name Access Status...
  • Page 70 The VLAN ID of each VLAN subinterface must match the VLAN ID added by the IEEE 802.1Q-compliant router or switch. The VLAN ID can be any number between 1 and 4096. You add VLAN subinterfaces to the physical interface that receives VLAN- tagged packets.
  • Page 71: Fortigate Ipv6 Support

    The interface functions as two interfaces, one for IPv4-addressed packets and another for IPv6-addressed packets. FortiGate units support static routing, periodic router advertisements, and tunneling of IPv6-addressed traffic over an IPv4-addressed network. All of these features must be configured through the Command Line Interface (CLI). See the FortiGate CLI...
  • Page 72 FortiGate IPv6 support System network 01-28006-0012-20041105 Fortinet Inc.
  • Page 73: System Dhcp

    System DHCP You can configure DHCP server or DHCP relay agent functionality on any FortiGate interface or VLAN subinterface. A FortiGate interface can act as either a DHCP server or as a DHCP relay agent. An interface cannot provide both functions at the same time. Note: To configure DHCP server or DHCP relay functionality on an interface, the FortiGate unit must be in NAT/Route mode and the interface must have a static IP address.
  • Page 74: Dhcp Service Settings

    Select DHCP Server if you want the FortiGate unit to be the DHCP server. “To configure an interface to be a DHCP server” on page 01-28006-0012-20041105 System DHCP “To configure an interface as a Fortinet Inc.
  • Page 75: Server

    System DHCP To configure an interface to be a DHCP server You can configure a DHCP server for any FortiGate interface. As a DHCP server, the interface dynamically assigns IP addresses to hosts on the network connected to the interface. You can also configure a DHCP server for more than one FortiGate interface.
  • Page 76: Dhcp Server Settings

    For detailed information about DHCP options, see RFC 2132, DHCP Options and BOOTP Vendor Extensions. 75), you must configure a DHCP server for 01-28006-0012-20041105 System DHCP “To configure Fortinet Inc.
  • Page 77: Exclude Range

    DHCP request was received and uses this DHCP server to assign an IP configuration to the computer that made the DHCP request. The DHCP configuration packets are sent back to the router and the router relays them to the DHCP client.
  • Page 78: Dhcp Exclude Range Settings

    The IP address for the IP and MAC address pair. The IP address must be within the configured IP range. Delete icon. Delete an IP/MAC binding pair. Edit/View icon. View or modify an IP/MAC binding pair. 01-28006-0012-20041105 System DHCP Fortinet Inc.
  • Page 79: Dhcp Ip/Mac Binding Settings

    System DHCP DHCP IP/MAC binding settings Figure 27: IP/MAC binding options Name IP Address MAC Address To add a DHCP IP/MAC binding pair Go to System > DHCP > IP/MAC Binding. Select Create New. Add a name for the IP/MAC pair. Add the IP address and MAC address.
  • Page 80 Dynamic IP System DHCP 01-28006-0012-20041105 Fortinet Inc.
  • Page 81: System Config

    System config Use the System Config page to make any of the following changes to the FortiGate system configuration: • • • • • • System time Go to System > Config > Time to set the FortiGate system time. For effective scheduling and logging, the FortiGate system time must be accurate.
  • Page 82: Options

    NTP server. A typical Syn Interval would be 1440 minutes for the FortiGate unit to synchronize its time once a day. Timeout settings including the idle timeout and authentication timeout The language displayed by the web-based manager Dead gateway detection interval and failover detection 01-28006-0012-20041105 System config Fortinet Inc.
  • Page 83 System config Figure 29: System config options Idle Timeout Auth Timeout Language Detection Interval Fail-over Detection Set the ping server dead gateway detection failover number. Enter the To set the system idle timeout Go to System > Config > Options. For Idle Timeout, type a number in minutes.
  • Page 84 FortiGate unit assumes that the gateway is no longer functioning. Select Apply. Fortinet achieves high availability (HA) using redundant hardware and the FortiGate Clustering Protocol (FGCP). Each FortiGate unit in an HA cluster enforces the same overall security policy and shares the same configuration settings. You can add up to 32 FortiGate units to an HA cluster.
  • Page 85: Ha Configuration

    System config An active-passive (A-P) HA cluster, also referred to as hot standby HA, consists of a primary FortiGate unit that processes traffic, and one or more subordinate FortiGate units. The subordinate FortiGate units are connected to the network and to the primary FortiGate unit but do not process traffic.
  • Page 86: Cluster Members

    All other FortiGate units in the cluster passively monitor the cluster status and remain synchronized with the primary FortiGate unit. MAC Address 00-09-0f-06-ff-00 00-09-0f-06-ff-01 00-09-0f-06-ff-02 00-09-0f-06-ff-03 00-09-0f-06-ff-3f 01-28006-0012-20041105 System config “To view the status of Table 3 lists the virtual MAC address Fortinet Inc.
  • Page 87 System config You can use the unit priority to control the order in which cluster units become the primary cluster unit when a cluster unit fails. For example, if you have three FortiGate-3600s in a cluster you can set the unit priorities as shown in Cluster unit A will always be the primary cluster unit because it has the highest priority.
  • Page 88 Load balancing according to IP address and port. If the cluster units are connected using switches, select IP Port to distribute traffic to units in a cluster based on the source IP, source port, destination IP, and destination port of the packet. 01-28006-0012-20041105 System config Fortinet Inc.
  • Page 89 System config You can enable heartbeat communications for physical interfaces, but not for VLAN subinterfaces. Enabling the HA heartbeat for more interfaces increases reliability. If an interface fails, the HA heartbeat can be diverted to another interface. HA heartbeat traffic can use a considerable amount of network bandwidth. If possible, enable HA heartbeat traffic on interfaces only used for HA heartbeat traffic or on interfaces connected to less busy networks.
  • Page 90: Configuring An Ha Cluster

    To configure a FortiGate unit for HA operation To connect a FortiGate HA cluster To add a new unit to a functioning cluster To configure weighted-round-robin weights 01-28006-0012-20041105 “Override Master” on page 87), this FortiGate unit System config Fortinet Inc.
  • Page 91 System config Note: The following procedure does not include steps for configuring interface heartbeat devices and interface monitoring. Both of these HA settings should be configured after the cluster is up and running. Power on the FortiGate unit to be configured. Connect to the web-based manager.
  • Page 92 Then you must connect these interfaces to their networks using the same hub or switch. Fortinet recommends using switches for all cluster connections for the best performance. The FortiGate units in the cluster use cluster ethernet interfaces to communicate cluster session information, synchronize the cluster configuration, and report individual cluster member status.
  • Page 93 System config Figure 31: HA network configuration Hub or Switch Power on all the FortiGate units in the cluster. As the units start, they negotiate to choose the primary cluster unit and the subordinate units. This negotiation occurs with no user intervention and normally just takes a few seconds.
  • Page 94: Managing An Ha Cluster

    The next three connections are processed by the first subordinate unit (priority 1, weight 3) The next three connections are processed by the second subordinate unit (priority 2, weight 3) “FortiGate HA traps” on page 01-28006-0012-20041105 System config “HA MIB 103. Fortinet Inc.
  • Page 95 System config You can use the web-based manager to monitor the status and logs of individual cluster members. See “To view and manage logs for individual cluster units” on page You can manage individual cluster units by using SSH to connect to the CLI of the cluster.
  • Page 96 Cluster Members list. The host name and serial number of the primary cluster unit changes. The new primary unit logs the following messages to the event log: HA slave became master Detected HA member dead 01-28006-0012-20041105 System config Fortinet Inc.
  • Page 97: Snmp

    FortiGate system information and can receive FortiGate traps. To monitor FortiGate system information and receive FortiGate traps you must compile Fortinet proprietary MIBs as well as Fortinet-supported standard MIBs into your SNMP manager. FortiGate-4000 Administration Guide The cluster contains fewer FortiGate units.
  • Page 98: Configuring Snmp

    Configuring SNMP SNMP community FortiGate MIBs FortiGate traps Fortinet MIB fields 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.
  • Page 99: Snmp Community

    System config SNMP community An SNMP community is a grouping of equipment for network administration purposes. Add SNMP communities so that SNMP managers can connect to the FortiGate unit to view system information and receive SNMP traps. You can add up to three SNMP communities.
  • Page 100 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. Select Add to add more SNMP managers. You can add up to 8 SNMP managers to a single community.
  • Page 101: Fortigate Mibs

    Your SNMP manager might already include standard and private MIBs in a compiled database that is ready to use. You must add the Fortinet proprietary MIBs to this database. If the standard MIBs used by the Fortinet SNMP agent are already compiled into your SNMP manager you do not have to compile them again.
  • Page 102: Fortigate Traps

    The FortiGate agent can send traps to SNMP managers that you have added to SNMP communities. For SNMP managers to receive traps, you must load and compile the Fortinet trap MIB (file name fortinet.trap.2.80.mib) onto the SNMP manager. All traps include the trap message as well as the FortiGate unit serial number.
  • Page 103: Fortinet Mib Fields

    The tables below list the names of the MIB fields and describe the status information available for each one. You can view more details about the information available from all Fortinet MIB fields by compiling the fortinet.2.80.mib file into your SNMP manager and browsing the Fortinet MIB fields.
  • Page 104 The number of attacks detected by the IPS running on the FortiGate unit in the last 20 hours. avCount The number of viruses detected by the antivirus system running on the FortiGate unit in the last 20 hours. 01-28006-0012-20041105 System config Fortinet Inc.
  • Page 105 System config Table 16: Administrator accounts MIB field index name addr mask perm Table 17: Local users MIB field index name auth state Table 18: Virtual domains MIB field index name auth state Table 19: Active IP sessions MIB field index proto fromAddr...
  • Page 106: Replacement Messages

    Description of the replacement message type. The web-based manager describes where each replacement message is used by the FortiGate unit. Edit/View icon. Select to change a replacement message. 01-28006-0012-20041105 System config Fortinet Inc.
  • Page 107: Changing Replacement Messages

    System config Changing replacement messages Figure 37: Sample HTTP virus replacement message Replacement messages can be text or HTML messages. You can add HTML code to HTML messages. In addition, replacement messages can include replacement message tags. When users receive the replacement message, the replacement message tag is replaced with content relevant to the message.
  • Page 108: Fortimanager

    The name of the web filtering service. The name of the content category of the web site. The Fortinet logo. and a FortiManager Server. The remote ID of the FortiManager IPSec tunnel. The IP Address of the FortiManager Server.
  • Page 109: System Administration

    System administration When the FortiGate unit is first installed, it is configured with a single administrator account with the user name admin. From this administrator account, you can add and edit administrator accounts. You can also control the access level of each of these administrator accounts and control the IP address from which the administrator account can connect to the FortiGate unit.
  • Page 110: Administrators List

    Setting trusted hosts for all of your administrators can enhance the security of your system. For more information, see profiles, see “Access profile list” on page 01-28006-0012-20041105 System administration “Using trusted hosts” on page 111. 112. Fortinet Inc.
  • Page 111: Access Profiles

    System administration Type a login name for the administrator account. Type and confirm a password for the administrator account. Optionally type a Trusted Host IP address and netmask from which the administrator can log into the web-based manager. Select the access profile for the administrator. Select OK.
  • Page 112: Access Profile List

    Allow or deny access to the authorized users feature. Allow or deny access to the administrative users feature. Allow or deny access to the FortiProtect Distribution Network update feature. Allow or deny access to the system shutdown and reboot functionality. 01-28006-0012-20041105 System administration Fortinet Inc.
  • Page 113 System administration To configure an access profile Go to System > Admin > Access Profile. Select Create New to add an access profile, or select the edit icon to edit an existing access profile. Enter a name for the access profile. Select or clear the Access Control check boxes as required.
  • Page 114 Access profiles System administration 01-28006-0012-20041105 Fortinet Inc.
  • Page 115: System Maintenance

    System maintenance Use the web-based manager to maintain the FortiGate unit. Backup and restore You can back up system configuration, VPN certificate, web and spam filtering files to the management computer. You can also restore system configuration, VPN certificate, web and spam filtering files from previously downloaded backup files. Figure 44: Backup and restore list Category Latest Backup...
  • Page 116: Backing Up And Restoring

    IPS User-Defined Upload or download IPS signatures. Signatures All Certificates Restore or back up all VPN certificates in a single password- protected file. See VPN certificates” on page 01-28006-0012-20041105 System maintenance “To restore VPN certificates” “To back up 117. Fortinet Inc.
  • Page 117 System maintenance Select OK to restore all configuration files to the FortiGate unit. The FortiGate unit restarts, loading the new configuration files. Reconnect to the web-based manager and review your configuration to confirm that the uploaded configuration files have taken effect. To back up individual categories Go to System >...
  • Page 118: Update Center

    • • • To receive scheduled updates and push updates, you must register the FortiGate unit on the Fortinet support web page. “To enable scheduled updates” on page 123. User-initiated updates from the FDN, Hourly, daily, or weekly scheduled antivirus and attack definition and antivirus...
  • Page 119 System maintenance Figure 45: Update center FortiProtect Distribution Network Push Update Refresh Use override server address FortiGate-4000 Administration Guide The status of the connection to the FortiProtect Distribution Network (FDN). Available means that the FortiGate unit can connect to the FDN. You can configure the FortiGate unit for scheduled updates.
  • Page 120: Updating Antivirus And Attack Definitions

    The update attempt occurs at a randomly determined time within the selected hour. Select Update Now to manually initiate an update. Select Apply to save update settings. 01-28006-0012-20041105 System maintenance Fortinet Inc.
  • Page 121 System maintenance To update antivirus and attack definitions Go to System > Maintenance > Update center. Select Update Now to update the antivirus and attack definitions and engines. 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.
  • Page 122 <proxy-address_ip> set port <proxy-port> set username <username_str> set password <password_str> set status enable config system autoupdate tunneling set address 67.35.50.34 set port 8080 set username proxy_user set password proxy_pwd set status enable 01-28006-0012-20041105 System maintenance Fortinet Inc.
  • Page 123: Enabling Push Updates

    System maintenance There are no special tunneling requirements if you have configured an override server address to connect to the FDN. Enabling push updates The FDN can push updates to FortiGate units to provide the fastest possible response to critical situations. You must register the FortiGate unit before it can receive push updates.
  • Page 124: Enabling Push Updates Through A Nat Device

    In the External Interface section, select the external interface that the FDN connects In the Type section, select Port Forwarding. In the External IP Address section, type the external IP address that the FDN connects to. Type the External Service Port that the FDN connects to. 01-28006-0012-20041105 System maintenance Fortinet Inc.
  • Page 125: Support

    You can select Refresh to make sure that push updates work. Push Update changes to Available. Support You can use the Support page to report problems with the FortiGate unit to Fortinet Support or to register your FortiGate unit with the FortiProtect Distribution Server (FDS).
  • Page 126: Sending A Bug Report

    Test Select Report Bug to submit problems with the FortiGate unit to Fortinet Support. Enter the contact information so that FortiNet support can reply to your bug report. Items marked with an * are required. unit. Send diagnostic information about the FortiGate unit, including its current configuration, to Fortinet for analysis.
  • Page 127: Registering A Fortigate Unit

    FortiGate units that you or your organization purchased. You can register multiple FortiGate units in a single session without re-entering your contact information. Once registration is completed, Fortinet sends a Support Login user name and password to your email address. You can use this user name and password to log on to the Fortinet support web site to: •...
  • Page 128 For maximum network protection, Fortinet strongly recommends that all customers purchase a service contract that covers antivirus and attack definition updates. See your Fortinet reseller or distributor for details of packages and pricing. To activate the FortiCare Support Contract, you must register the FortiGate unit and add the FortiCare Support Contract number to the registration information.
  • Page 129: Shutdown

    A web page is displayed that contains detailed information about the Fortinet technical support services available to you for the registered FortiGate unit. Your Fortinet support user name and password is sent to the email address provided with your contact information.
  • Page 130 The FortiGate unit restarts with the configuration that it had when it was first powered Reconnect to the web-based manager and review the system configuration to confirm that it has been reset to the default settings. 01-28006-0012-20041105 System maintenance Fortinet Inc.
  • Page 131: System Virtual Domain

    System virtual domain FortiGate virtual domains provide multiple logical firewalls and routers in a single FortiGate unit. Using virtual domains, one FortiGate unit can provide exclusive firewall and routing services to multiple networks so that traffic from each network is effectively separated from every other network.
  • Page 132: Virtual Domain Properties

    System virtual domain 137) “To select a management virtual 136) “To configure routing for a virtual 138) “To configure the routing 138) 138) “To add IP pools to a virtual “To add Virtual IPs to a virtual 140) Fortinet Inc. 139)
  • Page 133: Shared Configuration Settings

    System virtual domain Shared configuration settings The following configuration settings are shared by all virtual domains. Even if you have configured multiple virtual domains, there are no changes to how you configure the following settings. • • • • • •...
  • Page 134: Administration And Management

    A check mark icon in this column indicates that this is the domain used for system management. Delete icon. Select to delete a virtual domain. You cannot delete the root virtual domain or a domain that is used for system management. 01-28006-0012-20041105 System virtual domain Fortinet Inc.
  • Page 135: Adding A Virtual Domain

    Selecting a management virtual domain In NAT/Router mode, you select a virtual domain to be used for system management. In Transparent mode, you must also define a management IP. The interface that you want to use for management access must have Administrative Access enabled. See “To control administrative access to an interface”...
  • Page 136: Configuring Virtual Domains

    Go to System > Network > Interface. Adding interfaces, VLAN subinterfaces, and zones to a virtual domain Configuring routing for a virtual domain Configuring firewall policies for a virtual domain Configuring IPSec VPN for a virtual domain 01-28006-0012-20041105 System virtual domain Fortinet Inc.
  • Page 137 System virtual domain Set Virtual domain to All or to the name of the virtual domain that currently contains the interface. Select Edit for the physical interface you want to move. Choose the Virtual Domain to which to move the interface. Select OK.
  • Page 138: Configuring Routing For A Virtual Domain

    57. Any zones that you add are added to the current virtual “Router” on page 141. Network traffic entering this virtual domain is routed only “Routing table (Transparent Mode)” on page 01-28006-0012-20041105 System virtual domain 61. Network traffic entering this Fortinet Inc.
  • Page 139 System virtual domain Select Create new to add firewall policies to the current virtual domain. interfaces, VLAN subinterfaces, or zones added to the current virtual domain. The firewall policies that you add are only visible when you are viewing the current virtual domain.
  • Page 140: Configuring Ipsec Vpn For A Virtual Domain

    Select Change following the current virtual domain name above the table. Choose the virtual domain for which to configure VPN. Select OK. Go to VPN. Configure IPSec VPN, PPTP, L2TP, and certificates as required. See page 245. 01-28006-0012-20041105 System virtual domain “VPN” on Fortinet Inc.
  • Page 141: Router

    You configure routes by defining the destination IP address and netmask of packets that the FortiGate unit is intended to intercept, and specifying a (gateway) IP address for those packets. The gateway address specifies the next hop router to which traffic will be routed.
  • Page 142 • • • The Gateway setting specifies the IP address of the next hop router interface to the FortiGate external interface. The interface behind 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.
  • Page 143: Static Route List

    Router Figure 51: Destinations on networks behind internal routers 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: 192.168.30.0/24...
  • Page 144: Static Route Options

    The destination IP address for this route. The netmask for this route. The IP address of the first next hop router to which this route directs traffic. The name of the FortiGate interface through which to route traffic. The administrative distance for the route.
  • Page 145: Policy

    Router Figure 54: Move a static route For Move to, select either Before or After and type the number that you want to place this route before or after. Select OK. The route is displayed in the new location on the static route list.
  • Page 146: Policy Route Options

    Match packets that have this destination IP address and netmask. Match packets that have this destination port range. To match a single port, enter the same port number for both From and To. Send packets that match this policy route to this next hop router. 01-28006-0012-20041105 Router...
  • Page 147: General

    Router RIP is a distance-vector routing protocol intended for small, relatively homogeneous, networks. RIP uses hop count as its routing metric. Each network is usually counted as one hop. The network diameter is limited to 15 hops. General Figure 57: RIP General settings...
  • Page 148: Networks List

    Static Metric Route-map To configure RIP general settings Go to Router > RIP > General. Select the default RIP Version. Change the Default Metric if required. Select Enable Default-information-originate if the configuration requires advertising a default static route into RIP.
  • Page 149: Networks Options

    Figure 59: RIP Networks configuration To configure a RIP network Go to Router > RIP > Networks. Select Create New to add a new RIP network or select the edit icon beside an existing RIP network to edit that RIP network.
  • Page 150: Interface Options

    In text mode the key is sent in clear text over the network. Text mode is usually used only to prevent network problems that can occur if an unwanted or misconfigured router is mistakenly added to the network. 01-28006-0012-20041105 Router...
  • Page 151: Distribute List

    Password Key-chain To configure a RIP interface Go to Router > RIP > Interface. Select the edit icon beside an Interface to configure that interface. Select a Send Version if you want to override the default send version for this interface.
  • Page 152: Distribute List Options

    Interface Enable To configure a distribute list Go to Router > RIP > Distribute List. Select Create New to add a new distribute list or select the edit icon beside an existing distribute list to edit that distribute list. Set Direction to In or Out.
  • Page 153: Offset List

    Interface Enable To configure an offset list Go to Router > RIP > Offset List. Select Create New to add a new offset list or select the edit icon beside an existing offset list to edit that offset list. FortiGate-4000 Administration Guide Add a new offset list.
  • Page 154: Router Objects

    Check or clear the Enable check box to enable or disable this offset list. Select OK. Router objects Router objects are a set of tools used by routing protocols and features. Access list Access lists are filters used by FortiGate routing features.
  • Page 155: New Access List Entry

    Router To add an access list name Go to Router > Router Objects > Access List. Select Create New. Enter a name for the access list. Select OK. New access list entry Figure 68: Access list entry configuration list Entry...
  • Page 156: New Prefix List

    Prefix New Prefix list Figure 70: Prefix list name configuration To add a prefix list name Go to Router > Router Objects > Prefix List. Select Create New. Enter a name for the prefix list. Select OK. Add a new prefix list name. An access list and a prefix list cannot have the same name.
  • Page 157: New Prefix List Entry

    Less or equal to To configure a prefix list entry Go to Router > Router Objects > Prefix List. Select the Add prefix-list entry icon to add a new prefix list entry or select the edit icon beside an existing prefix list entry to edit that entry.
  • Page 158: New Route-Map

    Route-map rules New Route-map Figure 73: Route map name configuration To add a route map name Go to Router > Router Objects > Route-map. Select Create New. Enter a name for the route map. Select OK. Add a new route map name.
  • Page 159: Route-Map List Entry

    Match a route if the destination address is included in the selected access list or prefix list. Match a route that has a next hop router address included in the selected access list or prefix list. Match a route with the specified metric. The metric can be a number from 1 to 16.
  • Page 160: Key Chain List

    New key chain Figure 76: Key chain name configuration To add a key chain name Go to Router > Router Objects > Key-chain. Select Create New. for information on setting the FortiGate system date and Add a new key chain.
  • Page 161: Key Chain List Entry

    Start To configure a key chain entry Go to Router > Router Objects > Key-chain. Select the Add key-chain entry icon to add a new key chain entry or select the Edit icon beside an existing key chain entry to edit that entry.
  • Page 162: Monitor

    Up Time To filter the routing monitor display Go to Router > Monitor > Routing Monitor. Select a type of route to display or select all to display routes of all types. For example, select Connected to display all the directly connected routes, or select RIP to display all the routes learned from RIP.
  • Page 163: Cli Configuration

    Show the current state of active routing protocols. Command syntax FortiGate-4000 Administration Guide get router info ospf {border-routers | database | interface | neighbor | route | virtual-links} Show OSPF routing table entries that have an Area Border Router (ABR) or Autonomous System Boundary Router (ASBR) as a destination.
  • Page 164: Get Router Info Rip

    An OSPF autonomous system (AS) or routing domain is a group of areas connected to a backbone area. A router connected to more than one area is an area border router (ABR). Routing information is contained in a link state database. Routing information is communicated between routers using link state advertisements (LSAs).
  • Page 165 Router Note: In the following table, only the router-id keyword is required. All other keywords are optional. ospf command keywords and variables Keywords and variables abr-type {cisco | ibm | shortcut | standard} database-overflow {disable | enable} database-overflow- max-lsas <lsas_integer>...
  • Page 166 <address_ipv4> spf-timers <delay_integer> <hold_integer> Example This example shows how to set the OSPF router ID to 1.1.1.1: This example shows how to display the OSPF settings. Description Specify the default metric that OSPF should use for redistributed routes. The valid range for metric_integer is 1 to 16777214.
  • Page 167 This example shows how to display the OSPF configuration. config area Access the config area subcommand using the config router ospf command. Use this command to set OSPF area related parameters. Routers in an OSPF autonomous system (AS) or routing domain are organized into logical groupings called areas.
  • Page 168 Enable or disable redistributing routes into a NSSA area. 01-28006-0012-20041105 Router Default Availability All models. none All models. All models. disable All models. All models. All models. enable Fortinet Inc.
  • Page 169 This example shows how to display the settings for area 15.1.1.1. FortiGate-4000 Administration Guide Description A NSSA border router can translate the Type 7 LSAs used for external route information within the NSSA to Type 5 LSAs used for distributing external route information to other parts of the OSPF routing domain.
  • Page 170 Set the direction for the filter. Enter in to filter incoming packets. Enter out to filter outgoing packets. Enter the name of the access list or prefix list to use for this filter list. 01-28006-0012-20041105 Router 155. Default Availability All models. All models. default. Fortinet Inc.
  • Page 171 The range id_integer can be 0 to 4294967295. FortiGate-4000 Administration Guide config router ospf config area edit 15.1.1.1 config filter-list config router ospf config area edit 15.1.1.1...
  • Page 172 Enable or disable using a substitute prefix. disable All models. config router ospf config area edit 15.1.1.1 config range config router ospf config area edit 15.1.1.1 01-28006-0012-20041105 Default enable default default. edit 1 set prefix 1.1.0.0 255.255.0.0 Router Availability All models. All models. All models. Fortinet Inc.
  • Page 173 Virtual links can only be set up between two area border routers (ABRs). config virtual link command syntax pattern Note: Only the peer keyword is required. All other keywords are optional. FortiGate-4000 Administration Guide config router ospf config area edit 15.1.1.1 show config virtual-link edit <name_str>...
  • Page 174 15 characters. The time, in seconds, to wait for a hello packet before declaring a router down. The value of the dead- interval should be four times the value of the hello-interval. Both ends of the virtual link must use the same value for dead- interval.
  • Page 175 This example shows how to configure a virtual link. This example shows how to display the settings for area 15.1.1.1. This example shows how to display the configuration for area 15.1.1.1. config distribute-list Access the config distribute-list subcommand using the config router ospf command. FortiGate-4000 Administration Guide Description The time, in seconds, to wait before sending a LSA retransmission.
  • Page 176 Enter the name of the access list to use for this distribute list. Advertise only the routes discovered by the specified protocol and that are permitted by the named access list. 01-28006-0012-20041105 Router Default Availability No default. All models. All models. connected Fortinet Inc.
  • Page 177 This example shows how to display the settings for distribute list 2. This example shows how to display the configuration for distribute list 2. config neighbor Access the config neighbor subcommand using the config router ospf command. Use this command to manually configure an OSPF neighbor on nonbroadcast networks.
  • Page 178 1 set ip 192.168.21.63 config router ospf config neighbor edit 1 config router ospf config neighbor edit 1 show 01-28006-0012-20041105 Router Default Availability All models. 0.0.0.0 All models. All models. All models. Fortinet Inc.
  • Page 179: Config Network

    Router config network Access the config network subcommand using the config router ospf command. Use this command to identify the interfaces to include in the specified OSPF area. The prefix keyword can define one or multiple interfaces. config network command syntax pattern...
  • Page 180 This example shows how to display the settings for network 2. This example shows how to display the configuration for network 2. config ospf-interface Access the config ospf-interface subcommand using the config router ospf command. Use this command to change interface related OSPF settings.
  • Page 181 Enable or disable flooding LSAs out of this interface. The time, in seconds, to wait for a hello packet before declaring a router down. The value of the dead-interval should be four times the value of the hello-interval. All routers on the network must use the same value for dead- interval.
  • Page 182 MTUs so that they match. 01-28006-0012-20041105 Router Default Availability All models. No default. All models. No default. All models. No default. All models. authentication must be set to md5. 1500 All models. All models. disable Fortinet Inc.
  • Page 183 “config neighbor” on page 177. Set the router priority for this interface. Router priority is used during the election of a designated router (DR) and backup designated router (BDR). An interface with router priority set to 0 can not be elected DR or BDR.
  • Page 184: Config Redistribute

    This example shows how to display the configuration for the OSPF interface configuration named test. config redistribute Access the config redistribute subcommand using the config router ospf command. Use the config redistribute command to advertise routes learned from RIP, static routes, or a direct connection to the destination network.
  • Page 185 This example shows how to display the OSPF settings. This example shows how to display the OSPF configuration. config summary-address Access the config summary-address subcommand using the config router ospf command. FortiGate-4000 Administration Guide config redistribute {connected | static | rip} set <keyword>...
  • Page 186 Use this command to summarize external routes for redistribution into OSPF. This command works only for summarizing external routes on an Autonomous System Boundary Router (ASBR). For information on summarization between areas, see “config range” on page route, you reduce the size of the OSPF link-state database.
  • Page 187: Config Router Static6

    Enter ::/0 for the destination IPV6 address and netmask to add a default route. The IPV6 address of the first next hop router to which this route directs traffic. 01-28006-0012-20041105 CLI configuration Default Availability All models.
  • Page 188 This example shows how to display the configuration for IPV6 static route 2. config router static6 edit 2 set dev internal set dst 12AB:0:0:CD30::/60 set gateway 12AB:0:0:CD30:123:4567:89AB:CDEF get router static6 get router static6 2 show router static6 show router static6 2 01-28006-0012-20041105 Router Fortinet Inc.
  • Page 189: Firewall

    Firewall Firewall policies control all traffic passing through the FortiGate unit. Firewall policies are instructions that the FortiGate unit uses to decide what to do with a connection request. When the firewall receives a connection request in the form of a packet, it analyzes the packet to extract its source address, destination address, and service (by port number).
  • Page 190: Policy

    Policy list You can add, delete, edit, re-order, enable, and disable policies in the policy list. Figure 79: Sample policy list How policy matching works Policy list Policy options Advanced policy options Configuring firewall policies 01-28006-0012-20041105 Firewall Fortinet Inc.
  • Page 191: Policy Options

    Firewall The policy list has the following icons and features. Create new Source Dest Schedule Service Action Enable source -> destination (n) Policy list headings indicating the traffic to which the policy Figure 80: Move to options Policy options Policy options are configurable when creating or editing a firewall policy. FortiGate-4000 Administration Guide Select Create New to add a firewall policy.
  • Page 192 Select a service or protocol to which the policy will apply. You can select from a wide range of predefined services or add custom services and service groups. See 01-28006-0012-20041105 Firewall “Addresses” on page “Virtual IP” on page 198. “Schedule” on page 210. “Service” on page 202. Fortinet Inc. 214.
  • Page 193 Firewall Action VPN Tunnel Protection Profile Log Traffic Advanced FortiGate-4000 Administration Guide Select how you want the firewall to respond when the policy matches a connection attempt. • ACCEPT: Select accept to accept connections matched by the policy. You can also configure NAT and Authentication for the policy. •...
  • Page 194: Advanced Policy Options

    HTTP, Telnet, and FTP. Then users could authenticate with the policy using HTTP, Telnet, or FTP before using the other service. 239. 01-28006-0012-20041105 Firewall Fortinet Inc.
  • Page 195: Traffic Shaping

    Firewall In most cases you should make sure that users can use DNS through the firewall without authentication. If DNS is not available users cannot connect to a web, FTP, or Telnet server using a domain name. Traffic Shaping Traffic Shaping controls the bandwidth available to and sets the priority of the traffic processed by the policy.
  • Page 196: Configuring Firewall Policies

    Set the DSCP value for reply packets. For example, for an Internal -> External policy the value is applied to incoming reply packets before they exit the internal interface and returned to the originator. 190. 01-28006-0012-20041105 Firewall “Policy options” on page 191. “How policy matching Fortinet Inc.
  • Page 197: Policy Cli Configuration

    Firewall Select the position for the policy. Select OK. To disable a policy Disable a policy to temporarily prevent the firewall from selecting the policy. Disabling a policy does not stop active communications sessions that have been allowed by the policy.
  • Page 198: Address

    192.168.110.* to represent all addresses on the subnet Address list Address options Configuring addresses Address group list Address group options Configuring address groups 01-28006-0012-20041105 Firewall Default Availability All models. 0.0.0.0 0.0.0.0 Encrypt policy, with outbound enabled. Fortinet Inc.
  • Page 199: Address List

    Firewall Address list You can add addresses to the list and edit existing addresses. The FortiGate unit comes configured with the default ‘All’ address which represents any IP address on the network. Figure 84: Sample address list The address list has the following icons and features. Create New Name Address...
  • Page 200: Configuring Addresses

    The netmask for a class B subnet should be 255.255.0.0. The netmask for a class C subnet should be 255.255.255.0. The netmask for all addresses should be 0.0.0.0 A range of IP addresses in a subnet (for example, 192.168.20.1 to 192.168.20.10) 01-28006-0012-20041105 Firewall Fortinet Inc.
  • Page 201: Address Group List

    Firewall Select OK. Address group list You can organize related addresses into address groups to make it easier to configure policies. For example, if you add three addresses and then configure them in an address group, you can configure a single policy using all three addresses. Note: If an address group is included in a policy, it cannot be deleted unless it is first removed from the policy.
  • Page 202: Configuring Address Groups

    The list of configured and default firewall addresses. Use the arrows to move addresses between the lists. The list of addresses in the group. Use the arrows to move addresses between the lists. 01-28006-0012-20041105 Firewall Fortinet Inc.
  • Page 203: Predefined Service List

    Firewall This section describes: • • • • • • • Predefined service list Figure 88: Predefined service list The predefined services list has the following icons and features. Name Detail Table 21 to any policy. Table 21: FortiGate predefined services Service name FortiGate-4000 Administration Guide Predefined service list...
  • Page 204 NetMeeting allows users to teleconference using the Internet as the transmission medium. Network File System allows network users to access shared files stored on computers of different types. 01-28006-0012-20041105 Firewall Protocol Port 5190-5194 1720, 1503 6660-6669 1701 1720 111, 2049 Fortinet Inc.
  • Page 205 Firewall Table 21: FortiGate predefined services (Continued) Service name NNTP OSPF PC-Anywhere ICMP_ANY PING TIMESTAMP INFO_REQUEST ICMP information request messages. INFO_ADDRESS ICMP address mask request messages. POP3 PPTP QUAKE RAUDIO RLOGIN SIP- MSNmessenger SMTP SNMP SYSLOG TALK FortiGate-4000 Administration Guide Description Network News Transport Protocol is a protocol used to post, distribute, and retrieve...
  • Page 206: Custom Service List

    Select a protocol and then Create New to add a custom service. The name of the custom service. The protocol and port numbers for each custom service. The Delete and Edit/View icons. 01-28006-0012-20041105 Firewall Protocol Port 0-65535 7000-7010 1494 6000-6063 Fortinet Inc.
  • Page 207 Firewall TCP and UDP custom service options Figure 90: TCP and UDP custom service options Name Protocol Type Source Port Destination Port Specify the Destination Port number range for the service by entering the ICMP custom service options Figure 91: ICMP custom service options Name Protocol Type Type...
  • Page 208: Configuring Custom Services

    Go to Firewall > Service > Custom. Select the Delete icon beside the service you want to delete. Select OK. The name of the IP custom service. Select the protocol type of the service you are adding: IP. 01-28006-0012-20041105 Firewall Fortinet Inc.
  • Page 209: Service Group List

    Firewall To edit a custom service Go to Firewall > Service > Custom. Select the Edit icon beside the service you want to edit. Modify the custom service as required. Note: To change the custom service name you must delete the service and add it with a new name.
  • Page 210: Configuring Service Groups

    Enter a name to identify the address group. The list of configured and predefined services. Use the arrows to move services between the lists. The list of services in the group. Use the arrows to move services between the lists. 01-28006-0012-20041105 Firewall Fortinet Inc.
  • Page 211: One-Time Schedule List

    Firewall This section describes: • • • • • • One-time schedule list You can create a one-time schedule that activates or deactivates a policy for a specified period of time. For example, your firewall might be configured with the default policy that allows access to all services on the Internet at all times.
  • Page 212: Configuring One-Time Schedules

    You can also create a recurring schedule that runs for 24 hours by setting the start and stop times to the same time. Figure 97: Sample recurring schedule list 01-28006-0012-20041105 Firewall Fortinet Inc.
  • Page 213: Recurring Schedule Options

    Firewall The recurring schedule list has the following icons and features. Create New Name Start Stop Recurring schedule options Figure 98: Recurring schedule options Recurring schedule has the following options. Name Select Start Stop Configuring recurring schedules To add a recurring schedule Go to Firewall >...
  • Page 214: Virtual Ip

    Similar to port forwarding, dynamic port forwarding is used to translate any address and a specific port number on a source network to a hidden address and, optionally a different port number on a destination network. Virtual IP list Virtual IP options Configuring virtual IPs 01-28006-0012-20041105 Firewall Fortinet Inc.
  • Page 215: Virtual Ip List

    Firewall Virtual IP list Figure 99: Sample virtual IP list The virtual IP list has the following icons and features. Create New Name Service Port Map to IP Map to Port Virtual IP options Different options appear depending on the type of virtual IP you want to define. Choose from Static NAT or port forwarding.
  • Page 216: Configuring Virtual Ips

    Enter the port number to be added to packets when they are forwarded. (Port forwarding only.) Select the protocol (TCP or UDP) that you want the forwarded packets to use. (Port forwarding only.) Table 22 on page 217 contains example virtual IP external interface settings 01-28006-0012-20041105 Firewall Fortinet Inc.
  • Page 217 Firewall You can now add the virtual IP to firewall policies. Table 22: Virtual IP external interface examples External Interface Description internal external To add port forwarding virtual IPs Go to Firewall > Virtual IP. Select Create New. Enter a name for the port forwarding virtual IP. Select the virtual IP External Interface from the list.
  • Page 218: Ip Pool

    IP pool. An IP pool list appears when the policy destination interface is the same as the IP pool interface. “PPTP passthrough” on page 262 01-28006-0012-20041105 for more information. Fortinet Inc. Firewall...
  • Page 219: Ip Pool List

    Firewall You can add an IP pool if you want to add NAT mode policies that translate source addresses to addresses randomly selected from the IP pool rather than being limited to the IP address of the destination interface. If you add an IP pool to the internal interface, you can select Dynamic IP pool for policies with the internal interface as the destination.
  • Page 220: Configuring Ip Pools

    IP pool and assigns it to each connection. In this case the number of connections that the firewall can support is limited by the number of IP addresses in the IP pool. Select the interface to which to add an IP pool. Enter a name for the IP pool. 01-28006-0012-20041105 Firewall Fortinet Inc.
  • Page 221: Ip Pools And Dynamic Nat

    Firewall IP pools and dynamic NAT You can use IP pools for dynamic NAT. For example, your organization might have purchased a range of Internet addresses but you might have only one Internet connection on the external interface of your FortiGate unit. You can assign one of your organization’s Internet IP addresses to the external interface of the FortiGate unit.
  • Page 222: Protection Profile List

    You can add this protection profile to firewall policies for connections between highly trusted or highly secure networks where content does not need to be protected. 01-28006-0012-20041105 Firewall Fortinet Inc.
  • Page 223 Enable or disable quarantining for each protocol. You can quarantine suspect files to view them or submit files to Fortinet for analysis. (IMAP, POP3, SMTP). Fragmented email cannot be scanned for viruses.
  • Page 224: Configuring Web Filtering Options

    Enabling this option will prevent the unintentional download of virus files hidden in fragmented files. Note that some types of files, such as PDF, fragment files to increase download speed and enabling this option can cause download interruptions. 01-28006-0012-20041105 Firewall Fortinet Inc.
  • Page 225: Configuring Spam Filtering Options

    Enable or disable checking traffic against configured Real-time Blackhole List and Open Relay Database List servers. Enable or disable the Fortinet spam filtering IP address blacklist: FortiShield. See on page 337 Enable or disable looking up the source domain name (from the SMTP HELO command) in the Domain Name Server.
  • Page 226 The maximum length is 63 characters. for more IPS configuration options. Enable or disable signature based intrusion detection and prevention for all protocols. Enable or disable anomaly based intrusion detection and prevention for all protocols. 01-28006-0012-20041105 Firewall “IPS” on Fortinet Inc.
  • Page 227: Configuring Protection Profiles

    Firewall The following options are available for content archive through the protection profile. Archive content meta-information Configuring protection profiles To add a protection profile If the default protection profiles do not provide the settings you require, you can create custom protection profiles. Go to Firewall >...
  • Page 228: Cli Configuration

    Command syntax pattern config firewall profile edit <profilename_str> set <keyword> <variable> config firewall profile edit <profilename_str> unset <keyword> config firewall profile delete <profilename_str> get firewall profile [<profilename_str>] show firewall profile [<profilename_str>] 01-28006-0012-20041105 Firewall Fortinet Inc.
  • Page 229 Firewall firewall profile command keywords and variables Keywords and variables {block content_log oversize quarantine scan splice} FortiGate-4000 Administration Guide Description Select the actions that this profile will use for filtering FTP traffic for a policy. Entering splice enables the FortiGate unit to simultaneously buffer a file for scanning and upload the file to an FTP server.
  • Page 230 If you want to remove an option from the list or add an option to the list, you must retype the list with the option removed or added. 01-28006-0012-20041105 Firewall Default Availability No default. All models. fragmail All models. Fortinet Inc.
  • Page 231 Firewall This example shows how to display the settings for the firewall profile command. This example shows how to display the settings for the spammail profile. This example shows how to display the configuration for the firewall profile command. This example shows how to display the configuration for the spammail profile. FortiGate-4000 Administration Guide get firewall profile get firewall profile spammail...
  • Page 232 Protection profile Firewall 01-28006-0012-20041105 Fortinet Inc.
  • Page 233: Users And Authentication

    Users and authentication 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 a VPN tunnel, the user must belong to one of the user groups that is allowed access. The user then must correctly enter a user name and password to prove his or her identity.
  • Page 234: Setting Authentication Timeout

    Select Disable to prevent this user from authenticating. Select Password to require the user to authenticate using a password. Enter the password that this user must use to authenticate. The password should be at least six characters long. 01-28006-0012-20041105 Users and authentication Fortinet Inc.
  • Page 235: Radius

    Users and authentication LDAP Radius To add a user name and configure authentication Go to User > Local. Select Create New to add a new user name or select the Edit icon to edit an existing configuration. Type the User Name. Select the authentication type for this user.
  • Page 236: Radius Server Options

    FortiGate unit. If the LDAP server cannot authenticate the user, the connection is refused by the FortiGate unit. The Delete and Edit icons. Enter a name to identify the RADIUS server. Enter the RADIUS server secret. 01-28006-0012-20041105 Users and authentication Fortinet Inc.
  • Page 237: Ldap Server List

    Users and authentication The FortiGate unit supports LDAP protocol functionality defined in RFC2251 for looking up and validating user names and passwords. FortiGate LDAP supports all LDAP servers compliant with LDAP v3. FortiGate LDAP support does not extend to proprietary functionality, such as notification of password expiration, that is available from some LDAP servers.
  • Page 238 For example, you could use the following base distinguished name: ou=marketing,dc=fortinet,dc=com where ou is organization unit and dc is domain component. You can also specify multiple instances of the same field in the distinguished name, for example, to specify multiple organization units: ou=accounts,ou=marketing,dc=fortinet,dc=com 01-28006-0012-20041105 Users and authentication Fortinet Inc.
  • Page 239: User Group

    Users and authentication User group To enable authentication, you must add user names, RADIUS servers, and LDAP servers to one or more user groups. You can then assign a firewall protection profile to the user group. You can configure authentication as follows: •...
  • Page 240: User Group Options

    The list of users, RADIUS servers, or LDAP servers that can be added to a user group. The list of users, RADIUS servers, or LDAP servers added to a user group. Select a protection profile for this user group. 01-28006-0012-20041105 Users and authentication Fortinet Inc.
  • Page 241: Cli Configuration

    Users and authentication Select Delete beside the user group that you want to delete. Select OK. CLI configuration This guide only covers Command Line Interface (CLI) commands that are not represented in the web-based manager. For complete descriptions and examples of how to use CLI commands see the FortiGate CLI Reference Guide.
  • Page 242: Peergrp

    EU_branches set member Sophia_branch Valencia_branch Cardiff_branch get user peergrp 01-28006-0012-20041105 Users and authentication Default Availability No default. All models. Fortinet Inc.
  • Page 243 Users and authentication This example shows how to display the configuration for all the peers groups. This example shows how to display the configuration for the peergrp EU_branches. FortiGate-4000 Administration Guide get user peergrp EU_branches show user peergrp show user peergrp EU_branches 01-28006-0012-20041105 CLI configuration...
  • Page 244 CLI configuration Users and authentication 01-28006-0012-20041105 Fortinet Inc.
  • Page 245: Vpn

    FortiGate units support the following protocols to authenticate and encrypt traffic: • • • This chapter contains information about the following VPN topics: • • • • • • • • • • • • • • • • • •...
  • Page 246: Phase 1

    1, Dialup if this is a dialup Phase 1 configuration, and the domain name if this is a dynamic DNS phase 1. Main mode or Aggressive mode. The names of the encryption and authentication algorithms used by each phase 1 configuration. Edit, view, or delete phase 1 configurations. 01-28006-0012-20041105 Fortinet Inc.
  • Page 247: Phase 1 Basic Settings

    Phase 1 basic settings Figure 121:Phase 1 basic settings Gateway Name Type a name for the remote VPN peer. The remote peer can be either a Remote Gateway IP Address Dynamic DNS Mode Authentication Method FortiGate-4000 Administration Guide gateway to another network or an individual client on the Internet. Select a Remote Gateway address type.
  • Page 248: Phase 1 Advanced Options

    The group must be added to the FortiGate configuration through the config user peer and config user peergrp CLI commands before it can be selected here. For more information, see the “config user” chapter of the CLI Reference Guide. 01-28006-0012-20041105 “Enabling VPN access for 272. Fortinet Inc.
  • Page 249: Configuring Xauth

    Encryption Authentication The FortiGate unit supports the following authentication methods: DH Group Keylife Local ID XAuth Nat-traversal Keepalive Frequency Dead Peer Detection Configuring XAuth XAuth authenticates users in a separate exchange held between Phases 1 and 2. XAuth: Enable as Client Username Password FortiGate-4000 Administration Guide...
  • Page 250: Phase 2

    Microsoft RADIUS). Use MIXED if the authentication server supports CHAP but the XAuth client does not. (Use MIXED with the Fortinet Remote VPN Client.). Select a group of users to be authenticated by XAuth. The individual users within the group can be authenticated locally or by one or more LDAP or RADIUS servers.
  • Page 251: Phase 2 Basic Settings

    Status Timeout Phase 2 basic settings Figure 124:Phase 2 basic settings Tunnel Name Remote Gateway Concentrator FortiGate-4000 Administration Guide The current status of the tunnel. Down, tunnel is not processing traffic. Up, the tunnel is currently processing traffic. Unknown, status of Dialup tunnels.
  • Page 252: Phase 2 Advanced Options

    You can configure the FortiGate unit to send an alert email when it detects a replay packet. For more information, see Perfect forward secrecy (PFS) improves security by forcing a new Diffie-Hellman exchange whenever keylife expires. 01-28006-0012-20041105 “Alert E-mail options” on page 354. Fortinet Inc.
  • Page 253: Manual Key

    DH Group Keylife Autokey Keep Alive DHCP-IPSec Internet browsing Quick Mode Identities Manual key Configure a manual key tunnel to create an IPSec VPN tunnel between the FortiGate unit and a remote VPN peer that uses a manual key. The FortiGate unit must be configured to use the same encryption and authentication algorithms used by the remote peer.
  • Page 254: Manual Key List

    Enter the external IP address of the FortiGate unit or other IPSec gateway at the opposite end of the tunnel. Select an Encryption Algorithm from the list. Use the same algorithm at both ends of the tunnel. 01-28006-0012-20041105 Fortinet Inc.
  • Page 255: Concentrator

    Encryption Key Enter the Encryption Key. Authentication Algorithm Authentication Concentrator Concentrator Configure IPSec VPN concentrators to create hub and spoke configurations. IPSec VPN concentrators are only available in NAT/Route mode. To configure a concentrator Go to VPN > IPSEC > Concentrator and add a concentrator. Add the required Phase 2 configurations to the concentrator.
  • Page 256: Concentrator Options

    A concentrator can have more than one tunnel in its list of members. Provides a list of tunnels that are members of the concentrator. To remove a tunnel from the list, select the tunnel in the Members list and select the left arrow. 01-28006-0012-20041105 Fortinet Inc.
  • Page 257: Ping Generator Options

    Ping generator options Figure 130:Ping generator Enable Source IP 1 Destination IP 1 Source IP 2 Destination IP 2 To configure the ping generator Go to VPN > IPSEC > Ping Generator. Select Enable. In the Source IP 1 box, type the private IP address from which traffic may originate locally.
  • Page 258: Dialup Monitor

    The IP address range from which the dialup user can connect. This is usually the current IP address of the dialup user’s computer. Stop the current dialup tunnel. The dialup user may have to reconnect to establish a new VPN session. 01-28006-0012-20041105 Fortinet Inc.
  • Page 259: Pptp

    Figure 132:Static IP and dynamic DNS Monitor Name Remote gateway The IP address and UDP port of the remote gateway. For dynamic DNS Timeout Proxy ID Source The IP address range that VPN users of this tunnel can connect to. Proxy ID Destination Bring down...
  • Page 260: Enabling Pptp And Specifying A Pptp Range

    The end of the IP range. For example, 192.168.1.20. Select the user group that contains the remote PPTP VPN clients. Select this option to disable the PPTP support. 01-28006-0012-20041105 “To add an address” on page 200. 196. PPTP. PPTP. 200. Fortinet Inc.
  • Page 261: Configuring A Windows 2000 Client For Pptp

    Configuring a Windows 2000 client for PPTP To configure a PPTP dialup connection Go to Start > Settings > Network and Dial-up Connections. Double-click Make New Connection to start the Network Connection Wizard and select Next. For Network Connection Type, select Connect to a private network through the Internet and select Next.
  • Page 262: Pptp Passthrough

    Go to Firewall > Virtual IP. Select Create New. Enter a name for the virtual IP, for example PPTP_pass. Set the External Interface to external. TCP/IP QoS Packet Scheduler File and Printer Sharing for Microsoft Networks Client for Microsoft Networks 01-28006-0012-20041105 Fortinet Inc.
  • Page 263: L2Tp

    Select Port Forwarding. Set the External IP Address to 0.0.0.0. The 0.0.0.0 External IP Address matches any IP address. Alternatively, if PPTP users always connect to the same IP address, you can specify that IP address. Set the External Service Port to 1723. Set the Map to IP address to 192.168.23.1.
  • Page 264: Setting Up A L2Tp-Based Vpn

    “To add an address” on page “To add a firewall policy” on page Configuring a Windows 2000 client for Configuring a Windows XP client for 01-28006-0012-20041105 “To add an address” on page 200. 196. L2TP. L2TP. “Users and 264. 200. Fortinet Inc.
  • Page 265: Configuring A Windows 2000 Client For L2Tp

    Figure 134:L2TP range Enable L2TP Starting IP Ending IP User Group Disable L2TP To enable L2TP on the FortiGate unit Go to VPN > L2TP > L2TP Range. Select Enable L2TP. Complete the fields as required. Select Apply. Configuring a Windows 2000 client for L2TP To configure an L2TP dialup connection Go to Start >...
  • Page 266: Configuring A Windows Xp Client For L2Tp

    Select Create a connection to the network of your workplace and select Next. Select Virtual Private Network Connection and select Next. Name the connection and select Next. If the Public Network dialog box appears, choose the appropriate initial connection and select Next. 01-28006-0012-20041105 Fortinet Inc.
  • Page 267 In the VPN Server Selection dialog, enter the IP address or host name of the FortiGate unit to connect to and select Next. Select Finish. To configure the VPN connection Right-click the icon that you have created. Select Properties > Security. Select Typical to configure typical settings.
  • Page 268: Certificates

    FortiGate unit for decrypting messages sent by the remote peer. Conversely, the remote peer provides its public key to the FortiGate unit, which uses the key to encrypt messages destined for the remote peer. 01-28006-0012-20041105 Fortinet Inc.
  • Page 269: Viewing The Certificate List

    Details are provided in the following sections: • • • • Viewing the certificate list Initially, no certificates are installed. To view the certificate list Go to VPN > Certificates > Local Certificates. Figure 135:Certificate list Generate Import Name Subject Status Generating a certificate request To obtain a personal or site certificate, you must send the request to a CA that...
  • Page 270 Follow the CA instructions to place a base-64 encoded PKCS#10 certificate request and upload the certificate request. Follow the CA instructions to download their root certificate, and then install the root certificate on the FortiGate unit. 01-28006-0012-20041105 further identify the object being certified. Fortinet Inc.
  • Page 271: Installing A Signed Certificate

    Figure 136:Generating a certificate signing request Certificate Name Type a certificate name. Subject Information Optional Information Key Type Key Size Installing a signed certificate Your CA provides you with a digital certificate to install on the FortiGate unit. You must also obtain and install the CA’s root certificate on the FortiGate unit.
  • Page 272: Enabling Vpn Access For Specific Certificate Holders

    To enable access for a specific certificate holder or a group of certificate holders Use this procedure to enhance access security if you are using digital certificates to authenticate peers. Go to VPN > IPSEC > Phase 1. “Backing up and Restoring” on page 01-28006-0012-20041105 116. Fortinet Inc.
  • Page 273: Cli Configuration

    Under Peer Options, select one of these options: • • If you want to define the DN of the FortiGate unit, select Advanced, and from the Local ID list, select the DN of the FortiGate unit. Select OK. CLI configuration This guide only covers Command Line Interface (CLI) commands, keywords, or variables (in bold) that are not represented in the web-based manager.
  • Page 274 01-28006-0012-20041105 Default Availability All models. seconds dpd must be set to enable. All models. seconds dpd must be set to enable. All models. dpd must be set to enable. All models. seconds dpd must be set to enable. Fortinet Inc.
  • Page 275: Ipsec Phase2

    Example Use the following command to edit an IPSec VPN phase 1 configuration with the following characteristics: • • • • • • • • • • • ipsec phase2 In addition to the advanced IPSec Phase 2 settings, the config vpn ipsec phase2 CLI command provides a way to bind the VPN tunnel selected in a Phase 2 configuration to a specific network interface.
  • Page 276: Ipsec Vip

    Type the name of the local FortiGate interface. config vpn ipsec phase2 edit Tunnel_1 set bindtoif internal “Configuring IPSec virtual IP addresses” on page config vpn ipsec vip edit <vip_integer> set <keyword> <variable> 01-28006-0012-20041105 Default Availability All models. default. 288. Fortinet Inc.
  • Page 277 ipsec vip command keywords and variables Keywords and variables ip <address_ipv4> out-interface <interface-name_str> Example The following commands add IPSec VIP entries for two remote hosts that can be accessed by a FortiGate unit through an IPSec VPN tunnel on the external interface of the FortiGate unit.
  • Page 278: Authenticating Peers With Preshared Keys

    “Phase 1” on page 246. “Adding firewall policies for IPSec VPN tunnels” on page “Phase 1” on page 246. “Phase 2” on page 250. “Adding firewall policies for IPSec VPN tunnels” on page 01-28006-0012-20041105 “Phase 2” on page 250. 280. 280. Fortinet Inc.
  • Page 279: Dialup Vpn

    Dialup VPN Dialup VPN allows remote users with dynamic IP addresses to use VPN to connect to a private network. Dialup VPNs use AutoIKE and can be preshared key or certificate VPNs. To configure dialup VPN Add a phase 1 configuration to define the parameters used to authenticate the remote VPN peer.
  • Page 280: Manual Key Ipsec Vpn

    To add a source address, see page “Manual key” on page 253. “Manual key” on page 253. “Adding firewall policies for IPSec VPN tunnels” on page “Policy” on page 190 200. 01-28006-0012-20041105 280. for information about firewall policies. “To add an address” on Fortinet Inc.
  • Page 281: Setting The Destination Address For Encrypted Traffic

    Setting the destination address for encrypted traffic The destination address determines which remote peers and clients will be allowed to access the specified source address. In general: • • • To add a destination address, see Adding an IPSec firewall encryption policy Use the following procedure to add an IPSec firewall encryption policy.
  • Page 282: Configuring Internet Browsing Through A Vpn Tunnel

    If required, add additional firewall policies to support internet browsing. Configure the remote VPN clients to deny split tunneling. “Phase 1” on page 246. “Phase 2” on page 280. 01-28006-0012-20041105 250. “System DHCP” on page “Adding firewall policies for IPSec Fortinet Inc.
  • Page 283: Ipsec Vpn In Transparent Mode

    The unit must have sufficient routing information to reach the management station. For any traffic to reach external destinations, a static (default) route to the router must be present in the FortiGate routing table. The router forwards packets to the Internet.
  • Page 284: Hub And Spoke Vpns

    The source address must be Internal_All. Use the following configuration for the encrypt policies: add the VPN tunnels. add a VPN concentrator. add a firewall policy. “To add an address” on page “To add an address” on page 01-28006-0012-20041105 200. 200. Fortinet Inc.
  • Page 285: Adding A Vpn Concentrator

    Source Destination Action VPN Tunnel Allow inbound Allow outbound Select allow outbound. Inbound NAT Outbound NAT Select outbound NAT if required. Arrange the policies in the following order: • • Adding a VPN concentrator The VPN concentrator collects the hub-and-spoke tunnels into a group. This allows VPN traffic to pass from one tunnel to the other through the FortiGate unit.
  • Page 286: Configuring Spokes

    The remote VPN spoke address. ENCRYPT The VPN tunnel name added in step 1. (Use the same tunnel for all encrypt policies.) Do not enable. Select inbound NAT if required. “To add a firewall policy” on page 01-28006-0012-20041105 200. 200. 196. Fortinet Inc.
  • Page 287: Redundant Ipsec Vpns

    Source Destination Action VPN Tunnel Allow inbound Allow outbound Do not enable. Inbound NAT Outbound NAT Select outbound NAT if required. Arrange the policies in the following order: • • • Note: The default non-encrypt policy is required to allow the VPN spoke to access other networks, such as the Internet.
  • Page 288: Configuring Ipsec Virtual Ip Addresses

    The source and destination of both policies must be the same. Add a different AutoIKE key tunnel to each policy. “To add a firewall policy” on page 01-28006-0012-20041105 246. “To add an address” on page 196. 200. Fortinet Inc.
  • Page 289 Consider the following example, which shows two physically separate networks. The IP addresses of the computers on both networks are in the 192.168.12.0/24 range, but no two IP addresses are the same. An IPSec VPN has been configured between FortiGate_1 and FortiGate_2. The FortiGate configuration permits Host_1 on the Finance network to transmit data to Host_2 on the HR network through the IPSec VPN tunnel.
  • Page 290: Troubleshooting

    Make sure you select the correct DH group on both ends. Enable PFS. Change the policy to internal-to-external. Re-enter the source and destination address. The encryption policy must be placed above other non-encryption policies. “ipsec Fortinet Inc.
  • Page 291: Ips

    IPS (attack) engines and definitions through the FortiProtect Distribution Network (FDN). The FortiProtect Center also provides the FortiProtect virus and attack encyclopedia and the FortiProtect Bulletin. Visit the FortiProtect Center at http://www.fortinet.com/FortiProtectCenter/. To set up automatic and push updates see FortiGate-4000 Administration Guide FortiGate-4000 Administration Guide Version 2.80 MR6...
  • Page 292: Signature

    The FortiGate IPS matches network traffic against patterns contained in attack signatures. Attack signatures reliably protect your network from known attacks. Fortinet’s FortiProtect infrastructure ensures the rapid identification of new threats and the development of new attack signatures. You can configure the FortiGate unit to automatically check for and download an updated attack definition file containing the latest signatures, or you can manually download the updated attack definition file.
  • Page 293: Predefined Signature List

    If logging is disabled and action is set to Pass, the signature is effectively disabled. The FortiGate unit drops the packet that triggered the signature. Fortinet recommends using an action other than Drop for TCP connection based attacks.
  • Page 294: Configuring Predefined Signatures

    The FortiGate unit drops the packet that triggered the signature, removes the session from the FortiGate session table, and does not send a reset. The FortiGate unit lets the packet that triggered the signature and all other packets in the session pass through the firewall. 01-28006-0012-20041105 Fortinet Inc.
  • Page 295: Configuring Parameters For Dissector Signatures

    Select the Enable box to enable the signature or clear the Enable box to disable the signature. Select the Logging box to enable logging for this signature or clear the Logging box to disable logging for this signature. Select the Action for the FortiGate unit to take when traffic matches this signature. (See Select OK.
  • Page 296: Custom

    (the default) no change is made to the codepoint in the IP header. Select the Enable custom signature box to enable the custom signature group or clear the Enable custom signature box to disable the custom signature group. Select Create New to create a new custom signature. 01-28006-0012-20041105 Fortinet Inc.
  • Page 297: Adding Custom Signatures

    Clear all custom signatures Reset to recommended settings? Name Revision Enable Logging Action Modify Adding custom signatures To add a custom signature Go to IPS > Signature > Custom. Select Create New to add a new custom signature or select the Edit icon to edit an existing custom signature.
  • Page 298: Anomaly

    The logging status for each anomaly. A white check mark in a green circle indicates logging is enabled for the anomaly. A white X in a grey circle indicates logging is disabled for the anomaly. 01-28006-0012-20041105 “Anomaly CLI configuration” on Fortinet Inc.
  • Page 299: Configuring An Anomaly

    If logging is disabled and action is set to Pass, the anomaly is effectively disabled. Drop The FortiGate unit drops the packet that triggered the anomaly. Fortinet recommends using an action other than Drop for TCP connection based attacks.
  • Page 300 FortiGate session table, and does not send a reset. Session Pass The FortiGate unit lets the packet that triggered the anomaly and all other packets in the session pass through the firewall. Session Traffic over the specified threshold triggers the anomaly. 01-28006-0012-20041105 Fortinet Inc.
  • Page 301: Anomaly Cli Configuration

    Anomaly CLI configuration Note: This guide only covers Command Line Interface (CLI) commands that are not represented in the web-based manager. For complete descriptions and examples of how to use CLI commands see the FortiGate CLI Reference Guide. (config ips anomaly) config limit Note: This command has more keywords than are listed in this Guide.
  • Page 302: Configuring Ips Logging And Alert Email

    You can change the default fail open setting using the CLI: Enable ips_open to cause the IPS to fail open and disable ips_open to cause the IPS to fail closed. “Log & Report” on page config sys global set ips-open [enable | disable] 01-28006-0012-20041105 349. Fortinet Inc.
  • Page 303: Antivirus

    Antivirus > Quarantine View and sort the list of quarantined files, configure file patterns to upload automatically to Fortinet for analysis, and configure quarantining options in AntiVirus. Antivirus > Config > Config Set the size thresholds for files and emails for each protocol in Antivirus.
  • Page 304: File Block

    IPS (attack) engines and definitions, as well as the local spam RBL, through the FortiProtect Distribution Network (FDN). The FortiProtect Center also provides the FortiProtect virus and attack encyclopedia and the FortiProtect Bulletin. Visit the FortiProtect Center at http://www.fortinet.com/FortiProtectCenter/. To set up automatic and push updates see This chapter describes: •...
  • Page 305: File Block List

    Antivirus This section describes: • • File block list The file block list is preconfigured with a default list of file patterns: • • • • • • • • • Figure 151:Default file block list File block list has the following icons and features: Create New Apply Pattern...
  • Page 306: Configuring The File Block List

    You can also submit specific files and add file patterns to the AutoSubmit list so they will automatically be uploaded to FortiNet for analysis. This section describes: •...
  • Page 307: Quarantined Files List Options

    EXP under the TTL heading. In the case of duplicate files, each duplicate found refreshes the TTL. Y indicates the file has been uploaded to Fortinet for analysis, N indicates the file has not been uploaded.
  • Page 308: Autosubmit List

    (* or ?). File patterns are applied for AutoSubmit regardless of file blocking settings. You can also upload files to Fortinet based on status (blocked or heuristics) or submit individual files directly from the quarantined files list. The FortiGate unit uses encrypted email to autosubmit files to an SMTP server through port 25.
  • Page 309: Config

    Antivirus Config Go to Config to set quarantine configuration options including whether to quarantine blocked or infected files and from which service. You can also configure the time to live and file size values, and enable AutoSubmit settings. Figure 155:Quarantine configuration Quarantine configuration has the following options: Options Age limit...
  • Page 310: Config

    1 to 25 MB. The range for each FortiGate unit is displayed in the web-based manager as shown in Virus list Config Grayware Grayware options 29. To find out how to use the Fortinet Update Center, see 118. Figure 01-28006-0012-20041105 “Changing unit 157.
  • Page 311: Grayware

    Antivirus You can enable oversized file blocking in a firewall protection profile. To access protection profiles go to Firewall > Protection Profile, select Anti-Virus > Oversized File/Email and choose to pass or block oversized email and files for each protocol. Grayware Grayware programs are unsolicited commercial software programs that get installed on computers, often without the user’s consent or knowledge.
  • Page 312: Cli Configuration

    Select enable to block download programs. Download components are usually run at Windows startup and are designed to install or download other software, especially advertising and dial software. 01-28006-0012-20041105 Antivirus Fortinet Inc.
  • Page 313: System Global Optimize

    Antivirus For more information see the FortiGate Antivirus Optimization and Operation Technical Note. Command syntax pattern Keywords and variables av_failopen {off | one-shot | pass} Example This example shows how to set av_failopen to use one-shot and bypass the antivirus system when memory is low.
  • Page 314: Heuristic

    Optimize the firmware for either antivirus performance or throughput performance. config system global set optimize antivirus config antivirus heuristic set <keyword> <variable> config antivirus heuristic unset <keyword> get antivirus heuristic show antivirus heuristic 01-28006-0012-20041105 Antivirus Default Availability No default. All models. Fortinet Inc.
  • Page 315: Quarantine

    Antivirus Table 26: antivirus heuristic command keywords and variables Keywords and variables mode {pass | block | disable} Example This example shows how to disable heuristic scanning. This example shows how to display the settings for the antivirus heuristic command. This example shows how to display the configuration for the antivirus heuristic command.
  • Page 316: Service Http

    70 set port 90 set port 443 01-28006-0012-20041105 Antivirus Default Availability FortiGate imap models smtp numbered pop3 200 and http higher. FortiGate default. models numbered 200 and higher. Default Availability All models. Fortinet Inc.
  • Page 317: Service Ftp

    Antivirus This example shows how to display the antivirus HTTP traffic settings. This example shows how to display the configuration for antivirus HTTP traffic. service ftp Use this command to configure how the FortiGate unit handles antivirus scanning of large files, how the FortiGate unit handles the buffering and uploading of files to an FTP server, and what ports the FortiGate unit virus scans for FTP traffic.
  • Page 318: Service Pop3

    You can use ports from the range 1-65535. You can add up to 20 ports. config antivirus service pop3 set port 992 set port 993 get antivirus service pop3 show antivirus service pop3 01-28006-0012-20041105 Antivirus Default Availability All models. Fortinet Inc.
  • Page 319: Service Smtp

    Antivirus Note: This command has more keywords than are listed in this Guide. See the FortiGate CLI Reference Guide for a complete list of commands and keywords. Command syntax pattern Table 30: antivirus service imap command keywords and variables Keywords and variables port <port_integer>...
  • Page 320 SMTP. You can use ports from the range 1-65535. You can add up to 20 ports. config antivirus service smtp set port 465 get antivirus service smtp show antivirus service smtp 01-28006-0012-20041105 Antivirus Default Availability All models. Fortinet Inc.
  • Page 321: Web Filter

    Web filter Web filter provides configuration access to the Web filtering and Web category filtering options you enable when you create a firewall Protection Profile. To access protection profile web filter options go to Firewall > Protection Profile, select edit or Create New, and select Web Filtering or Web Category Filtering. See “Protection profile options”...
  • Page 322: Content Block

    “Using Perl regular expressions” on page 01-28006-0012-20041105 Web Filter setting Web Filter > Category Block > Configuration Enable or disable FortiGuard and enable and set the size limit for the cache. “Protection profile” on 227. 346. Web filter “To Fortinet Inc.
  • Page 323: Web Content Block List

    Web filter Note: Perl regular expression patterns are case sensitive for Web Filter content block. 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.
  • Page 324: Configuring The Web Content Block List

    “Using Perl regular expressions” on page Select the character set for the banned word. Choose from: Chinese Simplified, Chinese Traditional, French, Japanese, Korean, Thai, or Western. Select Enable to activate the banned word in the list. 01-28006-0012-20041105 Web filter 346. Fortinet Inc.
  • Page 325: Web Url Block List

    Web 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.badsite.com. Instead, you can use firewall policies to deny FTP connections. This section describes: •...
  • Page 326: Web Pattern Block List

    FortiGate web pattern blocking supports standard regular expressions. You can add up to 20 patterns to the web pattern block list. Note: Enable Web filtering > Web URL Block in your firewall Protection Profile to activate the web pattern block settings. 01-28006-0012-20041105 Web filter Fortinet Inc.
  • Page 327: Web Pattern Block Options

    Web filter Figure 163:Sample web pattern block list Web pattern block options Web pattern block has the following icons and features: Create New Pattern Configuring web pattern block To add a pattern to the web pattern block list Go to Web Filter > URL Block. Select Web Pattern Block.
  • Page 328: Url Exempt List

    Select this icon to scroll the URL exempt list down. Select this icon to delete the entire URL exempt list. The current list of exempt URLs. Select the check box to enable all the URLs in the list. The Delete and Edit/View icons. 01-28006-0012-20041105 Web filter Fortinet Inc.
  • Page 329: Category Block

    • FortiGuard managed web filtering service FortiGuard is a managed web filtering solution provided by Fortinet. FortiGuard sorts hundreds of millions of web pages into a wide range of categories that users can allow, block, or monitor. The FortiGate unit accesses the nearest FortiGuard Service Point to determine the category of a requested web page and then follows the firewall policy configured for that user or interface.
  • Page 330: Category Block Configuration Options

    FortiGuard licensing Every FortiGate unit comes with a free 30-day FortiGuard trial license. FortiGuard license management is done by Fortinet servers, so there is no need to enter a license number. The FortiGate unit will then automatically contact a FortiGuard Service Point when you enable FortiGuard category blocking.
  • Page 331: Configuring Web Category Block

    Web filter To have a URL’s... Apply Configuring web category block To enable FortiGuard web filtering Go to Web Filter > Category Block. Select Enable Service. Select Check status to make sure the FortiGate unit can access the FortiGuard server. After a moment, the FortiGuard status should change from Unknown to Available.
  • Page 332: Category Block Reports Options

    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. 01-28006-0012-20041105 Web filter Fortinet Inc.
  • Page 333: Script Filter

    Use this command only if you need to change the host name. config webfilter catblock set ftgd_hostname guard.example.net get webfilter catblock show webfilter catblock 01-28006-0012-20041105 Script filter Default Availability guard.fortinet.com All models. service fortiguar d only.
  • Page 334: Web Script Filter Options

    You can configure the following options for script filtering: Javascript Cookies ActiveX Select Javascript to block all Javascript-based pages or applications. Select Cookies to block web sites from placing cookies on individual computers. Select ActiveX to block all ActiveX applications. 01-28006-0012-20041105 Web filter Fortinet Inc.
  • Page 335: Spam Filter

    Real-time Blackhole List and Open Relay Database List servers. IP address FortiShield check Enable or disable Fortinet’s antispam IP address black list: FortiShield. This service works like an RBL server and is continuously updated to block spam sources. See “FortiShield IP address black list and spam...
  • Page 336 You can configure the language and whether to search the email body, subject, or both. You can configure the action to take as spam or clear for each word. “Protection profile” on 227. Spam filter “To Fortinet Inc.
  • Page 337: Order Of Spam Filter Operations

    Both FortiShield antispam processes are completely automated and configured by Fortinet. With constant monitoring and dynamic updates, FortiShield is always current. You can enable or disable FortiShield in a firewall protection profile. See spam filtering options” on page This chapter describes: •...
  • Page 338: Ip Address

    Mark as Spam to apply the spam action configured in the protection profile, Mark as Clear to let the email pass to the next filter, or Mark as Reject (SMTP only) to drop the session. The Delete and Edit/View icons. 01-28006-0012-20041105 Spam filter Fortinet Inc.
  • Page 339: Rbl & Ordbl

    Spam filter Select Create New. Figure 171:Adding an IP address Enter the IP address/mask you want to add. If required, select before or after another IP address in the list to place the new IP address in the correct position. Select the action to take on email from the IP address.
  • Page 340: Rbl & Ordbl List

    The action to take on email matched by the RBLs and ORDBLs. Actions are: Mark as Spam to apply the spam action configured in the protection profile, or Mark as Reject to drop the session. The Delete and Edit/View icons. 01-28006-0012-20041105 Spam filter Fortinet Inc.
  • Page 341: Email Address

    Spam filter Email address The FortiGate unit uses the email address list to filter incoming email. The FortiGate unit compares the email address or domain of the sender to the list in sequence. If a match is found, the corresponding protection profile action is taken. If no match is found, the email is passed on to the next spam filter.
  • Page 342: Mime Headers

    You can use Perl regular expressions or wildcards to add MIME header patterns to the list. See Note: MIME header entries are case sensitive. X-mailer: outgluck X-Distribution: bulk Content_Type: text/html Content_Type: image/jpg “Using Perl regular expressions” on page 01-28006-0012-20041105 Spam filter 346. Fortinet Inc.
  • Page 343: Mime Headers List

    Spam filter This section describes: • • • MIME headers list You can configure the FortiGate unit to filter email with specific MIME header key-value pairs. You can mark each MIME header as clear or spam. Figure 176:Sample MIME headers list MIME headers options MIME headers list has the following icons and features: Create New...
  • Page 344: Banned Word

    Perl regular expressions. See expressions” on page “Using Perl regular expressions” on page Banned word list Banned word options Configuring the banned word list 346. 01-28006-0012-20041105 Spam filter 346. “Using Perl regular Fortinet Inc.
  • Page 345: Banned Word Options

    Spam filter Figure 178:Sample banned word List Banned word options Banned word has the following icons and features: Create new Total Pattern Pattern Type Language Where Action When you select Create New or Edit you can configure the following settings for the banned word.
  • Page 346: Configuring The Banned Word List

    Mark as Clear to allow the email (since Banned Word is the last filter). Select to enable scanning for the banned word. fortinet.com not only matches fortinet.com but also matches fortinetacom, fortinetbcom, fortinetccom and so on. To mach fortinet.com, the regular expression should be: fortinet\.com forti*\.com matches fortiiii.com but does not match fortinet.com...
  • Page 347 Spam filter 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 matches any word that contains the “test” such as “atest”, “mytest”, “testimony”, “atestb”.
  • Page 348 ‘/’ will be parsed as a list of regexp 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. 01-28006-0012-20041105 Spam filter Fortinet Inc.
  • Page 349: Log & Report

    FortiGate-4000 Administration Guide Version 2.80 MR6 Log & Report FortiGate units provide extensive logging capabilities for traffic, system and network protection functions. You can set the severity level of the messages that are logged, and you can choose the types of events that are logged. All types of log messages, except traffic and content, can be saved in internal memory.
  • Page 350: Log Config

    A FortiLog unit. The FortiLog unit is a log analyzer and manager that can combine the log information from various FortiGate units and other firewall units. To enable content archiving with a firewall to select the FortiLog option and define its IP address. 01-28006-0012-20041105 Log & Report Protection profile, you need Fortinet Inc.
  • Page 351 Log & Report Disk Memory Syslog WebTrends Figure 181:Log setting options for all log locations To configure Log Setting Go to Log&Report > Log Config > Log Setting. Select the check box to enable logging to a location. Select the blue arrow beside the location. The setting options appear.
  • Page 352 Select the log files to upload to the FTP server. You can upload the Traffic Log file, Event Log file, Antivirus Log file, Web Filter Log file, Attack Log file, Spam Filter Log file, and Content Archive file. 01-28006-0012-20041105 Log & Report Table 36, “Logging Fortinet Inc.
  • Page 353: Syslog Settings

    Log & Report To configure log file uploading Select the blue arrow to expand Log file upload settings. Select Upload When Rolling. Enter the IP address of the logging server. Enter the port number on the logging server. The default is 21 (FTP). Enter the Username and Password required on the logging server.
  • Page 354: Alert E-Mail Options

    The interval to wait before sending an alert e-mail for error level log messages. The interval to wait before sending an alert e-mail for warning level log messages. The interval to wait before sending an alert e-mail for notification level log messages. 01-28006-0012-20041105 Log & Report Fortinet Inc.
  • Page 355: Log Filter Options

    Log & Report Information Apply Note: If more than one log message is collected before an interval is reached, the messages are combined and sent out as one alert email. You can select specific events to trigger alert email in Log Filter, described in filter options”...
  • Page 356: Traffic Log

    The FortiGate unit logs all system-related events, such as ping server failure and gateway status. The FortiGate unit logs all IPSec negotiation events, such as progress and error reports. The FortiGate unit logs all DHCP-events, such as the request and response log. 01-28006-0012-20041105 Log & Report “Enabling Fortinet Inc.
  • Page 357 Log & Report L2TP/PPTP/PPPoE service event Admin event HA activity event Firewall authentication event Pattern update event Chassis anomaly event Anti-virus log The Anti-virus Log records virus incidents in Web, FTP, and email traffic, such as when the FortiGate unit detects an infected file, blocks a file type, or blocks an oversized file or email.
  • Page 358: Configuring Log Filters

    The FortiGate unit logs all instances of blocked email in SMTP traffic. The FortiGate unit logs all instances of blocked email in POP3 traffic. The FortiGate unit logs all instances of blocked email in IMAP traffic. 01-28006-0012-20041105 Log & Report Fortinet Inc.
  • Page 359 Log & Report To enable traffic logging for a firewall policy You can enable traffic logging for a firewall policy. All connections accepted by the firewall policy are recorded in the traffic log. Go to Firewall > Policy. Select the Edit icon for a policy. Select Log Traffic.
  • Page 360: Log Access

    Clear log icon. Delete the log entries from the log file (but not the file). Download icon. Download the log as a text or CSV file. View icon. Display the log file through the web-based manager. 01-28006-0012-20041105 Log & Report Fortinet Inc.
  • Page 361: Viewing Log Messages

    Log & Report Select the log type you wish to access. Select Disk from the Type list. You can clear or delete, download, or view the log files by selecting the corresponding icon. To download log files from the FortiGate disk When downloading a log file, you can save the log in plain text or CSV format.
  • Page 362 Type a search word and select Go. Column settings button. Select to choose columns for log display. Select Raw to switch to an unformatted log message display. Select Formatted to switch to a log message display organized into columns. 01-28006-0012-20041105 Log & Report Fortinet Inc.
  • Page 363 Log & Report Figure 186:Column settings for viewing log messages Available fields The fields that you can add to the log message display. Show these fields in this order Move up Move down The Detailed Information column provides the entire raw log entry and is not needed unless the log contains information not available in any of the other, more specific columns.
  • Page 364: Searching Log Messages

    The log message list shows only the logs that meet your log search criteria. 361. 361. The message must contain all of the keywords The message must contain at least one of the keywords The message must contain none of the keywords 01-28006-0012-20041105 Log & Report “Viewing log “Viewing log Fortinet Inc.
  • Page 365: Cli Configuration

    Log & Report CLI configuration This guide only covers Command Line Interface (CLI) commands and command keywords that are not represented in the web-based manager. For complete descriptions of working with CLI commands see the FortiGate CLI Reference Guide. fortilog setting Note: The command keywords for fortilog setting that are not represented in the web- based manager are localid and psksecret.
  • Page 366: Syslogd Setting

    Enter enable to enable the FortiGate unit to produce the log in Comma Separated Value (CSV) format. If you do not enable CSV format the FortiGate unit produces plain text files. 01-28006-0012-20041105 Log & Report Default Availability All models. disable Fortinet Inc.
  • Page 367 Log & Report log syslogd setting command keywords and variables Keywords and variables facility {alert | audit | auth | authpriv | clock | cron | daemon | ftp | kernel | local0 | local1 | local2 | local3 | local4 | local5 | local6 | local7 | lpr | mail | news...
  • Page 368 If the show command returns you to the prompt, the settings are at default. config log syslogd setting set status enable set server 220.210.200.190 set port 601 set facility user get log syslogd setting show log syslogd setting 01-28006-0012-20041105 Log & Report Fortinet Inc.
  • Page 369: Fortiguard Categories

    FortiGuard categories FortiGuard is a web filtering solution provided by Fortinet. FortiGuard sorts thousands of Web pages into a wide variety of categories that users can allow, block, or monitor. The FortiGate unit accesses the nearest FortiGuard server to determine the category of a requested Web page and then follows the policy configured for that user or interface.
  • Page 370 Sites with content that is gratuitously offensive or shocking, but not violent or frightening. Includes sites devoted in part or whole to scatology and similar topics or to improper language, humor, or behavior. 01-28006-0012-20041105 FortiGuard categories Fortinet Inc.
  • Page 371 FortiGuard categories Table 38: FortiGuard categories Category name 16. Weapons Potentially Non-productive 17. Advertisement 18. Brokerage and Trading 19. Freeware and Software Download 20. Games 21. Internet Communication 22. Pay to Surf 23. Web-based Email Potentially Bandwidth Consuming 24. File Sharing and Storage 25.
  • Page 372 Political Organizations -- Sites sponsored by or providing information about political parties and interest groups focused on elections or legislation. 01-28006-0012-20041105 FortiGuard categories Fortinet Inc.
  • Page 373 FortiGuard categories Table 38: FortiGuard categories Category name 39. Reference Materials 40. Religion 41. Search Engines and Portals 42. Shopping and Auction 43. Social Organizations 44. Society and Lifestyles 45. Special Events 46. Sports 47. Travel 48. Vehicles FortiGate-4000 Administration Guide Description Sites that offer reference-shelf content such as atlases, dictionaries, encyclopedias, formularies,...
  • Page 374 IP addresses. Private IP Addresses -- IP addresses defined in RFC 1918, 'Address Allocation for Private Intranets. Web Hosting -- Sites of organizations that provide hosting services, or top-level domain pages of Web communities. 01-28006-0012-20041105 FortiGuard categories Fortinet Inc.
  • Page 375: Fortigate Maximum Values

    FortiGate maximum values The following table contains the maximum number of table, field, and list entries for FortiGate features. Feature system vdom (NAT/Route) system vdom (Transparent) system zone** system interface system interface secondaryip system interface ip6 prefix list system ipv6_tunnel system accprofile system admin system snmp...
  • Page 376 1000 1000 6000 6000 10000 10000 10000 10000 10000 1024 1024 2000 2000 5000 5000 5000 8000 20000 30000 50000 50000 50000 50000 3000 3000 5000 5000 5000 4000 5000 1000 1000 1024 1024 5000 5000 5000 5000 Fortinet Inc.
  • Page 377 key**...
  • Page 378 2, 25, 50, 100, or 250 VDOMs, determined by firmware. FortiGate model 100A 200A 300A 400A 10, 25, 50, 100, or 250 VDOMs, determined by firmware. 01-28006-0012-20041105 FortiGate maximum values 1000 3000 3600 500A 1000 1000 1000 4000 5000 1000 1000 Fortinet Inc.
  • Page 379: Glossary

    Glossary Connection: A link between machines, applications, processes, and so on that can be logical, physical, or both. DMZ, Demilitarized Zone: Used to host Internet services without allowing unauthorized access to an internal (private) network. Typically, the DMZ contains servers accessible to Internet traffic, such as Web (HTTP) servers, FTP servers, SMTP (email) servers and DNS servers.
  • Page 380 ISP system. Router: A device that connects LANs into an internal network and routes traffic between them. Routing: The process of determining a path to use to send data to its destination.
  • Page 381 SSH, Secure shell: A secure Telnet replacement that you can use to log into another computer over a network and run commands. SSH provides strong secure authentication and secure communications over insecure channels. Subnet: A portion of a network that shares a common address component.
  • Page 382 Glossary 01-28006-0012-20041105 Fortinet Inc.
  • Page 383: Index

    Index abr-type 165 access-list 176 active sessions HA monitor 96 address 198 virtual IP 214 administrator account netmask 110, 111 trusted host 111 advertise 172, 186 alert email enabling 355 options 354 anomaly 298 list 298 antivirus 303 antivirus updates 121 through a proxy server 122 area 179 attack updates...
  • Page 384 33 upgrading using the CLI 33, 35 upgrading using the web-base manager 33, 34 Fortilog logging settings 351 fortilog setting 365 Fortinet customer service 24 FortiProtect Distribution Network 118 FortiProtect Distribution Server 118 from IP system status 31...
  • Page 385 Gateway Name 246, 247 HA monitor 95 GRE protocol 262 group ID HA 86 grouping services 209 groups user 239 guaranteed bandwidth 195, 196 HA 84, 85 add a new unit to a functioning cluster 93 cluster ID 95 cluster members 86 configuration 85 configure a FortiGate unit for HA operation 90 configure weighted-round-robin weights 94...
  • Page 386 NTP server 82 setting system date and time 81 one-time schedule creating 211, 213 optimize 314 Optional Information 271 options changing system options 82 OSPF 164 out-interface 277 override master HA 87 P2 Proposal 252 passive-interface 166 01-28006-0012-20041105 Fortinet Inc.
  • Page 387 37 rfc1583-compatible 166 Round-Robin HA schedule 88 routemap 185 router next hop 56 router-id 166 routing 380 configuring 61 policy 145 routing table 380 schedule 210 automatic antivirus and attack definition updates 121 creating one-time 211, 213...
  • Page 388 206, 207 unit priority HA 86 up time HA monitor 96 update push 123 upgrade firmware 33 upgrading firmware using the CLI 33, 35 firmware using the web-based manager 33, 34 Uploading a local certificate 271 01-28006-0012-20041105 Fortinet Inc.
  • Page 389 URL block 324 URL exempt 327 URL options 325 User Group 250 user groups configuring 239 User-defined signatures 296 user-defined TCP services 206, 207 user-defined UDP services 206, 207 Username 249, 258 virtual domain properties 132 virtual IP 214 dynamic port forwarding 218 port forwarding 214 static NAT 214 virus detected...
  • Page 390 Index 01-28006-0012-20041105 Fortinet Inc.

Table of Contents