ABACAS, APSecure, FortiASIC, FortiBIOS, FortiBridge, FortiClient, FortiGate, FortiGuard, FortiGuardAntispam, FortiGuard-Antivirus, FortiGuard-Intrusion, FortiGuard-Web, FortiLog, FortiManager, Fortinet,
FortiOS, FortiPartner, FortiProtect, FortiReporter, FortiResponse, FortiShield, FortiVoIP, and FortiWiFi are
trademarks of Fortinet, Inc. in the United States and/or other countries. The names of actual companies
and products mentioned herein may be the trademarks of their respective owners.
Regulatory compliance
FCC Class A Part 15 CSA/CUS
Caution: If you install a battery that is not the correct type, it could
!
explode. Dispose of used batteries according to local regulations.
FortiBridge Version 3.0 Administration Guide
09-30000-0163-200611095
Contents
FortiBridge Version 3.0 Administration Guide
609-30000-0163-20061109
Introduction About FortiBridge
Introduction
This chapter introduces you to the FortiBridge-1000 and FortiBridge-1000F
products that provide fail open protection for FortiGate Antivirus Firewalls
operating in transparent mode. Fail open protection keeps network traffic flowing
in the event of a FortiGate unit failure. This chapter contains the following topics:
•About FortiBridge
•About this document
•Fortinet documentation
•Customer service and technical support
About FortiBridge
The FortiBridge products are a solution for enterprise or ganizations to provide fail
open protection for FortiGate units deployed inline in transparent mode. The
FortiBridge products use multiple probe protocols to detect failures in the
FortiGate unit. FortiBridge zero power fail open technology means that the
FortiBridge unit also fails open if a power failure occurs.
Figure 1: FortiBridge unit
A FortiBridge unit functions as a pass-through device when a FortiGate unit or
FortiGate HA cluster operating in transparent mode fails or loses power. The
FortiBridge unit bypasses the FortiGate unit to make sur e th at the ne tw or k can
continue processing traffic. The FortiBridge unit is not a firewall or antivirus
device. FortiGate services are not applied when the FortiBridge unit bypasses
traffic.
About this document
This document describes how to install, configure and maintain the
FortiBridge-1000 and the FortiBridge-1000F products.
This document contains the following chapters:
•FortiBridge operating principles contains general information about how
FortiBridge units work.
•Setting up FortiBridge units contains hardware reference and general
installation procedures for FortiBridge units.
•Configuration and operating procedures contains procedures for connecting
and configuring FortiBridge units.
PWR
INT 1
INT 2
EscEnter
FortiGate
EXT 1
EXT 2
BYPASS MODE
NORMAL
MODE FACTORY RESET
FortiBridge Version 3.0 Administration Guide
09-30000-0163-200611097
Fortinet documentationIntroduction
•Using the CLI describes how to use the FortiBridge CLI.
•config CLI commands is the FortiBridge config CLI command reference.
•execute CLI commands is the FortiBridge execute CLI command reference.
Fortinet documentation
The most up-to-date publications and previous releases of Fortinet product
documentation are available from the Fortinet Technical Documentation web site
at http://docs.forticare.com.
The following FortiBridge product documentation is available:
•FortiBridge QuickStart Guides
Provide basic information about connecting and installing a FortiBridge unit.
•FortiBridge Administration Guide
Describes how to install, configure, and manage a FortiBri dge unit.
Fortinet tools and documentation CD
All Fortinet documentation is available from the Fortine t Tools and Documentation
CD shipped with your Fortinet product. The documents on this CD are current for
your product at shipping time. For the latest versions of all Fortinet document ation
see the Fortinet Technical Documentation web site at http://docs.forticare.com.
Fortinet Knowledge Center
Additional Fortinet technical documentation is available from the Fortinet
Knowledge Center. The knowledge center contains troubleshooting and how-to
articles, FAQs, technical notes, and more. Visit the Fortinet Knowledge Center at
http://kc.forticare.com.
Comments on Fortinet technical documentation
Please send information about any errors or omissions in this document, or any
Fortinet technical documentation, to techdoc@fortinet.com.
Customer service and technical support
Fortinet Technical Support provides services designed to make sure that your
Fortinet systems install quickly, configure easily, and operate reliably in your
network.
Please visit the Fortinet Technical Support web site at http://support.fortinet.com
to learn about the technical support services that Fortinet provides.
FortiBridge Version 3.0 Administration Guide
809-30000-0163-20061109
FortiBridge operating principles Example FortiBridge application
FortiBridge operating principles
This chapter describes a typical transparent mode FortiGate network and how to
add a FortiBridge unit to this network to provide fail open protection. This chapter
also contains detailed information about how FortiBridge units operate and
concludes with descriptions of adding a FortiBridge unit to an HA cluster and
connecting a FortiBridge unit other FortiGate interfaces.
This chapter contains the following sections:
•Example FortiBridge application
•Normal mode operation
•Bypass mode operation
•FortiBridge power failure
•Example FortiGate HA cluster FortiBridge application
•Example configuration with other FortiGate interfaces
Example FortiBridge application
A typical application of a FortiGate unit operating in transparent mode is to insert
the FortiGate unit into an internal network, between the network and the router
that connects the network to the Internet. In this configuration, the FortiGate unit
can provide security services for all traffic passing between the internal network
and the internet. These security services can include:
•applying firewall policies and IPS attack prevention to all traffic,
•applying virus scanning to HTTP, FTP, POP3, SMTP, and IMAP traffic,
•applying web filtering to HTTP traffic,
•applying Sp am filtering to POP3, SMTP, and IMAP traffic.
The internal network is connected to the FortiGate unit internal interface. The
router is connected to the FortiGate unit external interface. The FortiGate unit can
be added to the network without changing the configuration of the network (except
to add the FortiGate management IP address).
Figure 2: Example transparent mode network
Internal network
InternalExternal
(Transparent mode)
Internet
Router
To allow users on the internal network to connect to resources on the Internet, add
Internal -> External firewall policies to the FortiGate unit. Add protection profiles
to the firewall policies to apply security services such as virus scanning, web
filtering, spam filtering and IPS to the traffic that passes through the FortiGate unit.
FortiBridge Version 3.0 Administration Guide
09-30000-0163-200611099
Example FortiBridge applicationFortiBridge operating principles
The FortiGate unit acts as an extra layer of protection for your internal network.
While it is operating, the FortiGate unit protects the internal network from threats
originating on the Internet. All users on the internal network connect through the
FortiGate unit to the Internet. This also means that if a failure or other interruption
caused the FortiGate unit to stop functioning, users on the inter nal network woul d
not be able to connect to the Internet.
You can install a FortiBridge unit to maintain internet connectivity for the internal
network if the FortiGate unit stops functioning. The FortiBridge unit provides fail
open protection for your network by bypassing the FortiGate unit if a failure
occurs.
Connecting the FortiBridge unit
Operating in normal mode, the FortiBridge unit functions like a layer-2 bridge,
passing all traffic to the FortiGate unit. The FortiGate unit processes the traffic,
which then passes through the FortiBridge unit again and then to its final
destination.
In most cases, you do not have to make changes to the FortiGate unit
configuration or to the network to add a FortiBridge unit. The only network
requirement for FortiBridge is the availability of a single management IP address
for the FortiBridge unit. The FortiBridge management IP address is required in
addition to the FortiGate management IP address.
The connection procedure is different depending on whether the FortiBridge unit
uses copper gigabit ethernet network connections or fiber giga bit ethernet network
connections. This section includes the following connection procedures:
•Connecting the FortiBridge-1000 (copper gig abit ethernet)
•Connecting the FortiBridge-1000F (fiber gigabit ethernet)
Figure 3: FortiBridge unit providing fail open protection
(Normal mode)
Internal network
INT 1
INT 2
Internal
(Transparent mode)
EXT 1
EXT 2
External
Internet
Router
Connecting the FortiBridge-1000 (copper gigabit ethernet)
The FortiBridge-1000 unit contains 4 auto-sensing 10/100/1000 Ethern e t
interfaces that connect to the internal and external networks and to the FortiGate
interfaces that were connected to these networks. Use the following steps to
connect a FortiBridge-1000 unit to the network as shown in Figure 3.
Note: Normally, you would use straight-through ethernet cables to connect the
FortiBridge-1000 unit to the FortiGate unit and to your networks. However, for some
connections you may need a crossover ethernet cable (for example, for compatibility with
network devices that do not support Auto MDI/MDIX).
FortiBridge Version 3.0 Administration Guide
1009-30000-0163-20061109
FortiBridge operating principles Normal mode operation
1Connect the FortiBridge-1000 INT 2 interface to the FortiGate internal interface.
2Connect the FortiGate external interface to the FortiBridge-1000 EXT 2 interface.
3Connect the internal network to the FortiBridge-1000 INT 1 interface.
4Connect the FortiBridge-1000 EXT 1 interface to the router.
Connecting the FortiBridge-1000F (fiber gigabit ethernet)
The FortiBridge-1000F unit contains 4 multimode fiber optic gigab it interfaces that
connect to the internal and external networks and to the FortiGate interfaces that
were connected to these networks. Use the following steps to connect a
FortiBridge-1000F unit to the network as shown in Figure 3.
1Connect the FortiBridge-1000F INT 2 interface to the FortiGate internal interface.
2Connect the FortiGate external interface to the FortiBridge-1000F EXT 2
interface.
3Connect the internal network to the FortiBridge-1000F INT 1 interface.
4Connect the FortiBridge-1000F EXT 1 interface to the router.
Normal mode operation
If the FortiGate unit is operating normally, the FortiBridge unit operates in Normal
mode. Traf fic from the internal network enter s the FortiBridg e INT 1 interface then
exits the INT 2 interface to the Fort iGate unit. The traffic from the FortiBridge
INT 2 interface enters the FortiGate internal interface. Firewall policies and
protection profiles are applied to the traffic by the FortiGate unit. Accepted traffic
then exits the FortiGate External interface and enters the FortiBridge EXT 2
interface. The traffic then exits the FortiBrid ge EXT 1 interface and goes to the
external network. Traffic from the external network reverses this sequence .
Figure 4: Normal mode traffic flow
Internal network
(Normal mode)
INT 1
INT 2
Internal
(Transparent mode)
EXT 1
EXT 2
External
Internet
Router
How the FortiBridge unit monitors the FortiGate unit
To monitor the FortiGate unit for failure, you must enable probes on the
FortiBridge unit. When you enable a probe, the FortiBridge unit sends packets
from the FortiBridge INT 2 interface, through the FortiGate unit to the FortiBridge
EXT 2 interface. If the EXT 2 interface receives the probe packets, the FortiGate
unit is operating normally. If the EXT 2 interface does not receive probe packets
the FortiBridge unit assumes that the FortiGate unit has failed.
FortiBridge Version 3.0 Administration Guide
09-30000-0163-2006110911
Normal mode operationFortiBridge operating principles
Figure 5: FortiBridge unit operating in normal mode sending probe packets
Internal network
You can enable ICMP (ping), HTTP, FTP, POP3, SMTP, and IMAP probes to test
connectivity through the FortiGate unit for each of these protocols. The
FortiBridge unit simultaneously tests connectivity through the FortiGate unit for
each probe that is enabled.
The first probe that registers a failure causes the FortiBridge unit to stop sending
all probe packets. The FortiBridge unit responds to the failure according to the
action on failure that you configure. The actio n on failu re can inc lud e fa il ope n,
send alert email, send a syslog message, and send an SNMP trap. You can
enable any combination of these actions on failure. Fail open switches the
FortiBridge unit to bypass mode. Other actions on failure alert system
administrators that the FortiBridge has determined that a failure occurred.
Probes and FortiGate firewall policies
(Normal mode)
INT 1
INT 2
InternalExternal
(Transparent mode)
EXT 2
EXT 1
Internet
Router
Probe packets
Probe packets are accepted and passed through the FortiGate unit by firewall
policies added to the FortiGate unit. When enabling probes, you must make sure
that the firewall policies added to the FortiGate unit can acce pt probe p acket s. For
example, if your FortiGate unit does not accept FTP packets, you should not
enable the FTP probe. Table 1 describes FortiGate firewall policy requirements for
each FortiBridge probe.
Table 1: FortiBridge probes and FortiGate firewall policy requirements
FortiGate Firewall policy
Probe Description
PingICMP packets are sent from the INT 2
interface to the EXT 2 interface. The EXT 2
interface responds to the ping.
HTTP HTTP requests are sent from an HTTP
client at the INT 2 interface to a web server
at the EXT 2 interface. The web server
sends a response from the EXT 2 interface
to the INT 2 interface.
FTPFTP requests are sent from an FTP client at
the INT 2 interface to an FTP server at the
EXT 2 interface. The FTP server sends a
response from the EXT 2 interface to the
INT 2 interface.
DirectionService
Internal -> External ICMP or ANY
Internal -> External HTTP or ANY
Internal -> External FTP or ANY
FortiBridge Version 3.0 Administration Guide
1209-30000-0163-20061109
FortiBridge operating principles Normal mode operation
Table 1: FortiBridge probes and FortiGate firewall policy requirements (Continued)
FortiGate Firewall policy
Probe Description
POP3 POP3 packets are sent from a POP3 client
at the INT 2 interface to a POP3 server at
the EXT 2 interface. The POP3 server
sends a response from the EXT 2 interface
to the INT 2 interface.
SMTP SMTP packets are sent from an SMTP
server at the INT 2 interface to an SMTP
server at the EXT 2 interface. The SMTP
server sends a response from the EXT 2
interface to the INT 2 interface.
IMAP IMAP packets are sent from an IMAP client
at the INT 2 interface to an IMAP server at
the EXT 2 interface. The IMAP server sends
a response from the EXT 2 interface to the
INT 2 interface.
DirectionService
Internal -> External POP3 or ANY
Internal -> External SMTP or ANY
Internal -> External IMAP or ANY
Enabling probes to detect FortiGate hardware failure
A FortiGate unit can stop processing network traffic be cause of a hardwa re failure
such as the failure of a hardware component, a loss of power, or a loss of
connectivity if a network cable is unplugged.
If a hardware failure occurs, the FortiGate unit stops processing all traffic. You can
enable any FortiBridge probe for the FortiBridge unit to detect a FortiGate
hardware failure.
Enabling probes to detect FortiGate software failure
A FortiGate unit can also stop processing network traffic because of a software
failure. For example, a firmware issue could cause a specific software process to
crash. Also, network traffic could increase to a point where the FortiGate unit
cannot process all traffic. As a result, the FortiGate unit could stop processing
some or all traffic without a hardware failure occurring.
To detect a FortiGate software failure, you can enable probes for FortiGate
services that you want to provide fail open protection for. For example, if it is a
high priority for your network to provide SMTP email services, you should enable
the SMTP probe. If the SMTP probe detects a failure of SMTP traffic through the
FortiGate unit, the FortiBridge unit switches to bypass mode to maintain SMTP
traffic flow.
If you do not consider FTP traffic a high priority, you can leave the FTP probe
disabled. In this configuration, if only FTP traffic fails, the FortiBridge does not
switch to bypass mode.
Probe interval and probe threshold
For each probe, you set a probe interval and a probe threshold. The probe interval
defines how often to test the connection. The probe threshold defines how many
consecutive failed probes can occur before the FortiBridge considers the
connection to have failed.
FortiBridge Version 3.0 Administration Guide
09-30000-0163-2006110913
When the FortiBridge unit operates in bypass mode, the FortiBridge INT 1 and
EXT 1 interfaces are directly connected. All traffic between the internal and
external network segments flows, whether or not the FortiGate unit is operating
normally.
Because the INT 1 and EXT 1 interfaces are directly connected, you cannot use
Telnet or SSH to connect to the FortiBridge CLI. Instead you must use a console
connection.
The FortiBridge unit remains in bypass mode even if the FortiGate unit recovers.
To restore the FortiGate unit, you must manually switch the FortiBridge unit back
to normal mode. You can switch the FortiBridge unit to normal mode by pressing
the mode switch on the FortiBridge front pa nel or by using a console con nection to
the CLI and entering the command execute switch-mode. You can also use
the mode switch and the execute switch-mode command to manually switch
the FortiBridge unit from normal mode to bypass mode.
Figure 6: FortiBridge unit operating in bypass mode
Internal network
When the FortiBridge unit is operating in bypass mode you can still connect to the
FortiBridge CLI and manage the FortiBridge unit (for example to switch the
FortiBridge unit to normal mode). When the FortiBridge unit operates in bypass
mode, you cannot connect to the FortiGate interfaces that are connected to the
FortiBridge unit.
FortiBridge power failure
If a power failure occurs and the FortiBridg e unit loses power , zero power fail open
technology causes FortiBridge unit to fail open. T he For tiBridg e unit bypasses the
FortiGate unit and all traffic passes between the FortiBridge INT 1 and EXT 1
interfaces. If power is restored to the FortiBridge unit, it starts up in bypass mode
and then switches to normal mode when its start up sequence is complete,
reconnecting the FortiGate unit to the network.
(Bypass mode)
INT 1
INT 2
Internal
(Transparent mode)
EXT 1
EXT 2
External
Internet
Router
Note: The FortiBridge-1000F contains a battery to keep the fibers lit in fail open mode. If
the FortiBridge-1000F unit loses power, the battery will power the fail open condition for
approximately three hours. When power is restored, the battery requires approximately
three hours to recharge if completely drained. The FortiBridge-1000 unit does not use a
battery and can maintain a fail open condition indefinitely.
FortiBridge Version 3.0 Administration Guide
1409-30000-0163-20061109
FortiBridge operating principles Example FortiGate HA cluster FortiBridge application
Example FortiGate HA cluster FortiBridge application
A FortiBridge unit can provide fail open protection for a FortiGate HA cluster
operating in transparent mode in much the same way as for a sta ndalone
FortiGate unit. To provide fail open protection for an HA cluster, connect the
FortiBridge unit to the switches that connect the internal and external interfaces of
the cluster. Use the following step s to conn ect a F ortiBridge un it to the HA clu ster,
as shown in Figure 7:
Figure 7: FortiBridge unit providing fail open protection for a FortiGate HA cluster
(Normal mode)
Internal network
INT 1
EXT 1
Internet
INT 2
InternalExternal
HA cluster
(Transparent mode)
EXT 2
Router
Probe packets
The network configuration and FortiBridge configuration are the same fo r a cluster
and for a standalone FortiGate unit. In normal mode, packets pass through the
FortiBridge unit and through the FortiG ate HA cluster and back through the
FortiBridge unit. For the cluster to process this traffic, you must add
Internal -> External firewall policies to the cluster configuration. If a failure occurs
and the cluster no longer processes traffic, the Fort iBridge unit switches to bypass
mode, bypassing the cluster.
The connection procedure is different depending on whether the FortiBridge unit
uses copper gigabit ethernet netw o rk co nn ec tio ns or fi be r gig ab it et he rn et
network connections. This section includes the following connection procedures:
•Connecting the FortiBridge-1000 (copper gigabit ethernet)
•Connecting the FortiBridge-1000F (fiber gigabit ethernet)
Connecting the FortiBridge-1000 (copper gigabit ethernet)
The FortiBridge-1000 unit contains 4 auto-sensing 10/100/1000 Ethernet
interfaces that connect to the internal and external networks and to the cluster
interfaces that were connected to these networks. Use the following steps to
connect a FortiBridge-1000 unit to the network as shown in Figure 7.
Note: Normally, you would use straight-through ethernet cables to connect the
FortiBridge-1000 unit to the FortiGate unit and to your networks. However, for some
connections you may need a crossover ethernet cable (for example, for compatibility with
network devices that do not support Auto MDI/MDIX).
FortiBridge Version 3.0 Administration Guide
09-30000-0163-2006110915
Example configuration with ot he r Fo rti Gate interfacesFortiBridge operating principles
1Connect the FortiBridge-1000 INT 2 interface to th e switc h co nn ec te d to the HA
cluster internal interface.
2Connect the switch connected to the HA cluster external interface to the
FortiBridge-1000 EXT 2 interface.
3Connect the internal network to the FortiBridge-1000 INT 1 interface.
4Connect the FortiBridge-1000 EXT 1 interface to the router.
Connecting the FortiBridge-1000F (fiber gigabit ethernet)
The FortiBridge-1000F unit conta ins 4 mult imode fi ber optic giga bit interfaces that
connect to the internal and external networks and to the FortiGate cluster
interfaces that were connected to these networks. Use the following steps to
connect a FortiBridge-1000F unit to the network as shown in Figure 3.
1Connect the FortiBridge-1000F INT 2 interface to the switch conne cted to the HA
cluster internal interface.
2Connect the switch connected to the HA cluster external interface to the
FortiBridge-1000F EXT 2 interface.
3Connect the internal network to the FortiBridge-1000F INT 1 interface.
4Connect the FortiBridge-1000F EXT 1 interface to the router.
Example configuration with other FortiGate interfaces
All of the examples in this chapter describe using the FortiBridge unit to provide
fail open protection for traffic passing between the FortiGate unit internal and
external interfaces. You can actually use a FortiBridge unit to provide fail open
protection for any two FortiGate unit interfaces. No limitation is implied by naming
the FortiBridge interfaces INT and EXT. These names are used to simplify
installation procedures. Figure 8 shows a FortiBridge-1000 unit providing fail open
protection for network traffic between ports 5 and 6 of a FortiGate-500A unit.
Figure 8: FortiBridge unit providing fail open protection for a single FortiGate unit
(Normal mode)
Internal network
INT 1
INT 2
Port 5
(Transparent mode)
EXT 1
EXT 2
Port 6
-500A
Router
Internet
To connect a FortiBridge-1000 unit to the network shown in Figure 8:
1Connect the FortiBridge-1000 INT 2 interface to the FortiGate-500A port 5
interface.
2Connect the FortiGate-500A port 6 interface to the FortiBridg e-1000 EXT 2
interface.
FortiBridge Version 3.0 Administration Guide
1609-30000-0163-20061109
FortiBridge operating principles Example configuration with other FortiGate interfaces
3Connect the internal network to the FortiBridge-1000 INT 1 interface.
4Connect the FortiBridge-1000 EXT 1 interface to the router.
You must add port 5 -> port 6 firewall policies to the FortiGate-50 0A un it
configuration.
FortiBridge Version 3.0 Administration Guide
09-30000-0163-2006110917
Example configuration with ot he r Fo rti Gate interfacesFortiBridge operating principles
FortiBridge Version 3.0 Administration Guide
1809-30000-0163-20061109
Setting up FortiBridge units FortiBridge unit basic information
Setting up FortiBridge units
This chapter contains the information you need to un pack, connect, an d configure
your FortiBridge unit:
•FortiBridge unit basic information
•Connecting and turning on the FortiBridge unit
•Connecting to the command line interface (CLI)
•Completing the basic FortiBridge configuration
•Resetting to the factory default configuration
•Installing FortiBridge unit firmware
When you complete the procedures in this chapter, the FortiBridge unit will be
operating and connected to your network and to your FortiGate unit. See
“Configuration and operating procedur es” on p a ge 35 to configure the FortiBridge
unit to monitor the status of the FortiGate unit and to fail open if the FortiBridge
unit detects that the FortiGate unit has failed.
FortiBridge unit basic information
This section describes the following basic information about the FortiBridge units:
•FortiBridge-1000 Package contents
•Mounting instructions
•Technical specifications
•LED indicators
•Connectors
•Factory default configuration
FortiBridge-1000 Package contents
The FortiBridge-1000 package contains the follo wing items:
•the FortiBridge-1000 unit
•two orange crossover Ethernet cables (Fortinet part number CC300248)
•one RJ-45 to DB-9 serial cable (Fortinet part number CC300302)
•FortiBridge-1000 QuickStart Guide
•CD containing the Fortinet user documentation
•one AC adapter
FortiBridge Version 3.0 Administration Guide
09-30000-0163-2006110919
FortiBridge unit basic informationSetting up FortiBridge units
Change
Bypass
Figure 9: FortiBridge-1000 package contents
Front
PWRSTATUS
PWR
Power
INT 1
INT 2
Back
DC+5V
PWR
Power
CONSOLE
Console
EXT 2
Connection
FortiGate unit
connections
FortiBridge-1000F Package contents
The FortiBridge-1000F package contai ns the following items:
•the FortiBridge-1000F unit
•one RJ-45 to DB-9 serial cable (Fortinet part number CC300302)
•four 1000Base-SX SFP Transceivers
•FortiBridge QuickStart Guide
•CD containing the Fortinet user documentation
•one AC adapter
INT 1
INT 2
TO FORTIGATE
EXT 2
EscEnter
FortiGate
EXT 1
EXT 2
INT 2
INT 2
Mode
EXT 1
EXT 2
Mode
BYPASS MODE
MODE FACTORY RESET
NORMAL
Normal
Mode
INT 1EXT 1
EXT 1
INT 1
Network
connections
Factory
Reset
Power Cable
USER MANUAL
Documentation
2 Orange Crossover
Ethernet Cables
Power Supply
RJ-45 to
DB-9 Serial Cable
FortiBridge-1000
INT 1
EXT 1
BYPASS MODE
MODE FACTORY RESET
EscEnter
NORMAL
PWR
FortiGate
INT 2
EXT 2
QuickStart Guide
Copyright 2005 Fortinet Incorporated. All rights reserved.
Trademarks
Products mentioned in this document are trademarks.
Figure 10: FortiBridge-1000F package contents
DC+5V
PWR
Power
Mounting instructions
Install the FortiBridge unit on any stable surface. Make sure that the unit has at
least 1.5 in. (3.75 cm) of clearance on each side to allow for adequate air flow and
cooling.
F
Management
CONSOLE
Console
PWR
Power
MODEM
Modem
Front
INT 1
MANAGEMENT
INT 2
INT 1
INT 2
Back
TO FORTIGATE
INT 2
FortiGate unit
connections
EscEnter
FortiGate
EXT 1
EXT 2
EXT 2INT 2
EXT 2
Bypass
Mode
EXT 1
EXT 2
INT 1
INT 1
Change
Mode
BYPASS MODE
MODE
NORMAL
EXT 1
Factory
Reset
MANAGEMENT
Normal
Mode
Management
EXT 1
Network
connections
FACTORY RESET
Power Cable
Documentation
Power Supply
RJ-45 to
DB-9 Serial Cable
4 1000Base-SX
SFP Transceivers
FortiBridge-1000
INT 1
EXT 1
BYPASS MODE
MODE FACTORY RESET
EscEnter
NORMAL
PWR
FortiGate
INT 2
EXT 2
QuickStart Guide
Copyright 2005 Fortinet Incorporated. All rights reserved.
Trademarks
Products mentioned in this document are trademarks.
FortiBridge Version 3.0 Administration Guide
2009-30000-0163-20061109
Setting up FortiBridge units FortiBridge unit basic information
Technical specifications
Table 2: FortiBridge-1000 and 1000F technical specifications
Dimensions8.63 x 6.13 x 1.38 in. (21.9 x 15.6 x 3.5 cm)
Weight1.5 lb. (0.68 kg)
Power
Requirements
Environmental
specifications
DC input voltage: 5 V
DC input current: 5 A
Operating temperature: 32 to 104°F (0 to 40°C)
Storage temperature: -13 to 158°F (-25 to 70°C)
Humidity: 5 to 95% non-condensing
LED indicators
Table 3: FortiBridge-1000 LED indicato rs
LEDStateDescription
PWRGreenThe FortiBridge unit is powered on.
OffThe FortiBridge unit is powered off.
INT 1
INT 2
EXT 1
EXT 2
INT 1
INT 2
EXT 1
EXT 2
(back)
Green The correct cable is in use and the connected equipment
has power .
Flashing GreenNetwork activity at this interface.
OffNo link established or the interface has been turned off.
GreenThe correct cable is in use, and the connected equipment
has power .
Flashing amberNetwork activity at this interface.
OffNo link established.
Table 4: FortiBridge-1000F LED indicators
LEDStateDescription
PWRGreenThe FortiBridge unit is powered on.
OffThe FortiBridge unit is powered off.
INT 1,
INT 2,
EXT 1, and
EXT 2
FortiBridge Version 3.0 Administration Guide
09-30000-0163-2006110921
GreenThe correct optical fiber patch cable is connected to the
gigabit fiber interface.
FlashingNetwork activity at the gigabit fiber interface.
FortiBridge unit basic informationSetting up FortiBridge units
Connectors
Table 5: FortiBridge-1000 connectors
Connector TypeSpeedProtocol Description
INT 1RJ- 4510/100/1000
Base-T
EXT 1RJ-4510/100/1000
Base-T
INT 2RJ- 4510/100/1000
Base-T
EXT 2RJ-4510/100/1000
Base-T
CONSOLERJ-459600 bpsRS-232
Table 6: FortiBridge-1000F connectors
EthernetCopper gigabit ethernet connection to the internal
EthernetCopper gigabit ethernet connection to the
EthernetCopper gigabit ethernet connection to the
EthernetCopper gigabit ethernet connection to the
serial
network.
external network.
FortiGate unit internal interface.
FortiGate unit external interface.
Optional connection to the management
computer.
Provides access to the command line interface
(CLI).
to gigabit optical networks. The
FortiBridge-1000F is shipped with
4 1000Base-SX Small Formfactor
Pluggable (SFP) transceivers that
you must insert into the INT 1, INT
2, EXT 1, and EXT 2 sockets on
the back panel. The management
connection is optional.
Console connection to the
serial
command line interface (CLI).
interface. No management access to the EXT 1
interface.
FortiBridge Version 3.0 Administration Guide
2209-30000-0163-20061109
Setting up FortiBridge units Connecting and turning on the FortiBridge unit
p
Connecting and turning on the FortiBridge unit
In most cases, you can connect the FortiBridge unit without making any
configuration changes to your network or your FortiGate unit. All that is required is
to move and reconnect network cables.
Note: The default FortiBridge management IP address is 192.1 68.1.99. If this IP address
conflicts with an IP address on your network, you can use the procedure “Changing the
management IP address” on page 27 to change this IP address.
Right out of the box you can connect, power on, and configu re the FortiBridge unit
without interrupting network traffic (except for the interruption required to move
and re-connect network cables). When connected and powered on, the
FortiBridge unit operates in Normal mode. Probes are not configured. The
FortiBridge unit does not provide fail open protection until probes are configured.
Connecting and turning on the FortiBridge-1000 unit
Note: This procedure describes how to connect a FortiBridge-1000 unit to provide fail open
protection for network traffic passing between FortiGate unit internal and external
interfaces. If the FortiBridge-1000 unit provides fail open protection for traffic between
different FortiGate interfaces, you can use the same procedure but substitute FortiGate
interface names as required.
The FortiBridge-1000 unit contains 4 auto-sensing 10/100/1000 Ethernet
interfaces that connect to the internal and external networks and to the FortiGate
interfaces that were connected to these networks. Use the following steps to
connect a FortiBridge-1000 unit to the network as shown in Figure 11.
Figure 11: Connecting the FortiBridge-1000 unit
Power cable connects to power supply
Optional RJ-45 serial cable connects to management computer
INT 1
INT 2
Internal
(Trans
TO FORTIGATE
INT 2
EXT 2
arent mode)
INT 1EXT 1
Ethernet connection to Internal network
Ethernet connection to External network
EXT 1
EXT 2
External
Switch
Router
Internet
DC+5V
PWR
Ethernet connection to FortiGate External interface
Ethernet connection to FortiGate Internal interface
Internal network
CONSOLE
Switch
Note: Normally, you would use straight-through ethernet cables to connect the
FortiBridge-1000 unit to the FortiGate unit and to your networks. However, for some
connections you may need a crossover ethernet cable (for example, for compatibility with
network devices that do not support Auto MDI/MDIX).
FortiBridge Version 3.0 Administration Guide
09-30000-0163-2006110923
Connecting and turning on the FortiBridge unitSetting up FortiBridge units
To connect and turn on the FortiBridge-1000 unit
1Connect the FortiBridge-1000 INT 2 interface to the FortiGate unit internal
interface.
2Connect the FortiBridge-1000 EXT 2 interface to the FortiGate unit external
interface.
3Connect the FortiBridge-1000 INT 1 interface to the internal network.
4Connect the FortiBridge-1000 EXT 1 interface to the external network.
5Turn on the FortiGate unit and any network equipment that was turned off.
6Connect the AC adapter to the power connection at the back of the
FortiBridge-1000 unit and to a power outlet.
The FortiBridge-1000 unit start s. The PWR and Bypass Mode LEDs turn on. After
a short time, the FortiBridge unit switches to Normal mode. The Bypass LED goes
out and the Normal LED turns on.
If the FortiGate unit and connected ne tw or k c om p on en ts are turn ed on th e
FortiBridge-1000 INT 1, INT 2, EXT 1, and EXT 2 LEDs are also on.
Connecting and turning on the FortiBridge-1000F unit
Note: This procedure describes how to connect a FortiBridge-1000F unit to provide fail
open protection for network traffic passing between FortiGate unit internal and extern al
interfaces. If the FortiBridge-1000F unit provides fail open protection for traffic between
different FortiGate interfaces, you can use the same procedure but subst i tu te Fort iGate
interface names as required.
The FortiBridge-1000F unit conta ins 4 mult imode fi ber optic giga bit interfaces that
connect to the internal and external networks and to the FortiGate interfaces that
were connected to these networks. Use the following steps to connect a
FortiBridge-1000F unit to the network as shown in Figure 12.
Figure 12: Connecting the FortiBridge-1000F unit
Power cable connects to power supply
Optional RJ-45 serial cable connects to management computer
MODEM
INT 1
INT 2
Gigabit
Fiber
Internal
TO FORTIGATE
EXT 2INT 2
MANAGEMENT
EXT 1
INT 1
Gigabit Fiber connection to External network
Gigabit Fiber connection to Internal network
EXT 1
Gigabit
Fiber
EXT 2
Gigabit
Fiber
External
Optional Gigabit Fiber connection
for out of band management
Switch
Internet
Router
DC+5V
CONSOLE
PWR
Gigabit Fiber connection to FortiGate Internal interface
Gigabit Fiber connection to FortiGate External interface
Internal network
Gigabit
Switch
Fiber
(Transparent mode)
To connect and turn on the FortiBridge-1000F unit
1Connect the FortiBridge-1000F INT 2 interface to the FortiGate internal interface.
2Connect the FortiGate external interface to the FortiBridge -1000F EXT 2 interface.
FortiBridge Version 3.0 Administration Guide
2409-30000-0163-20061109
Setting up FortiBridge units Connecting to the command line interface (CLI)
3Connect the internal network to the FortiBridge-1000F INT 1 interface.
4Connect the FortiBridge-1000F EXT 1 interface to the router.
Connecting to the command line interface (CLI)
Y ou configure and manage the FortiBridge unit from the FortiBr idge command line
interface (CLI). You can use a direct console connection, SSH, or Telnet to
connect to the FortiBridge CLI. This section describes how to connect directly to
the FortiBridge console and how to connect to the FortiBridge CLI across an
ethernet network using Telnet. See also “Connecting to the FortiBridge CLI using
Telnet” on page 26 for more information about connecting to the FortiBridge CLI.
Connecting to the FortiBridge console
You require:
•A computer with an available communications port,
•An RJ-45 to DB-9 serial cable,
•Terminal emulation software such as HyperTerminal for Windows.
Note: The following procedure describes how to connect to the FortiBridge CLI using
Windows HyperTerminal software. You can use any terminal emulation software.
To connect to the FortiBridge console for the first time
1Connect the FortiBridge console port to the available communications port on
your computer.
2Make sure the FortiBridge unit is powered on.
3Start HyperTerminal, enter a name for the connection, and select OK.
4Configure HyperTerminal to connect directly to the communications port on the
computer to which you have connected the FortiBridge console port.
5Select OK.
6Select the following port settings and select OK.
Bits per second 9600
Data bits8
ParityNone
Stop b its1
Flow controlNone
7Press the escape key (Esc) to connect to the FortiBridge CLI.
A prompt similar to the following appears (shown for the FortiBridge-1000):
FortiBridge-1000 login:
8Type a valid administrator name and press Enter.
The default administrator account is admin.
FortiBridge Version 3.0 Administration Guide
09-30000-0163-2006110925
Completing the basic FortiBridge configurationSetting up FortiBridge units
9Type the password for this administrator and press Enter.
The default admin account does not require a password. For improved security,
you should add a password for this account as soon as possible. Use the
procedure “Adding an administrator password” on page 27 to add a password.
The following prompt appears:
Welcome !
FortiBridge-1000 #
You have connected to the FortiBridge CLI, and you can enter CLI commands.
Connecting to the FortiBridge CLI using Telnet
By default, you can use a Telnet client running on a management computer to
connect to the FortiBridge CLI. The management computer must be connected to
the same network as the FortiBridge INT 1 interface.
The default FortiBridge management IP address is 192.168.1.99. Your
management PC should be configured to connect to this IP address. Alternatively,
you can connect to the FortiBridge console and use the procedure “Changing the
management IP address” on page 27 to change the management IP address.
Note: A maximum of 5 Telnet connections to the FortiBridge unit can be open at the same
time.
To connect to the CLI using Telnet
1On the management computer, Telnet to the IP address 192.168.1.99.
If you have changed the management IP address, Telnet to this address instead.
2Type a valid administrator name and press Enter.
The default administrator account is admin.
3Type the password for this administrator and press Enter.
The default admin account does not require a password. For improved security,
you should add a password for this account as soon as possible. Use the
procedure “Adding an administrator password” on page 27 to add a password.
The following prompt appears:
Welcome !
FortiBridge-1000 #
You have connected to the FortiBridge CLI, and you can enter CLI commands.
Completing the basic FortiBridge configuration
Now that you have connected the FortiBridge unit to your network and connected
to the FortiBridge CLI, use the following procedures to complete the basic
configuration of the FortiBridge unit.
FortiBridge Version 3.0 Administration Guide
2609-30000-0163-20061109
Setting up FortiBridge units Completing the basic FortiBridge configuration
Note: Not all of the following procedures are required to complete the basic FortiBridge unit
configuration. Choose the procedures that apply to your installation.
•Adding an administrator password
•Changing the management IP address
•Changing DNS server IP addresses
•Adding static routes
•Allowing management access to the EXT 1 interface
•Changing the system time and date
•Adding administrator accounts
Adding an administrator password
Add an administrator password to the default admin administrator account to
prevent unauthorized users from connecting to and managing the FortiBridge uni t.
To add an administrator password
1Log in to the CLI.
2Change the admin administrator password. Enter:
config system admin
edit admin
set password <psswrd>
end
For example:
config system admin
edit admin
set password passWORD
end
Changing the management IP address
Change the FortiBridge unit management IP address so that you can connect to
the FortiBridge CLI from your network (instead of be ing req u ire d to use a dir ec t
console connection). The management IP should be a valid IP address for your
network.
To change the management IP address
1Log in to the CLI.
2Change management IP address. Enter:
config system manageip
set ip <address_ipv4mask>
end
For example:
config system manageip
set ip 192.168.20.23/24
end
FortiBridge Version 3.0 Administration Guide
09-30000-0163-2006110927
Completing the basic FortiBridge configurationSetting up FortiBridge units
Changing DNS server IP addresses
Change the FortiBridge DNS server IP addresses to the IP addresses of your
DNS servers. The correct DNS server configuration is required for alert email.
To change DNS server IP addresses
1Log in to the CLI.
2Change the primary and secondary DNS server IP addresses. Enter:
config system dns
set primary <address_ipv4>
set secondary <address_ipv4>
end
For example:
config system dns
set primary 192.168.30.23
set secondary 192.168.30.24
end
Adding static routes
Add static routes if you need to route packets from the FortiBridge unit through a
router to another network. For example, if aler t email sends email messa ges from
the internal network to an email server on the Internet, you should add a route to
the Internet.
To add static routes
1Log in to the CLI.
2Add the default route. Enter:
config system route
edit <sequence_integer>
set gateway
end
For example:
config system route
edit 1
set gateway 192.168.20.1
end
3If required for your network configuration, add a static route. Enter:
config system route
edit <sequence_integer>
set gateway <gateway-address_ipv4>
set dst <destination-address_ipv4mask>
end
<gateway-address_ipv4>
For example:
config system route
edit 2
set gateway 192.168.20.3
set dst 192.168.22.0 255.255.255.0
end
FortiBridge Version 3.0 Administration Guide
2809-30000-0163-20061109
Setting up FortiBridge units Completing the basic FortiBridge configuration
Allowing management access to the EXT 1 interface
By default no management access is configured for the EXT 1 interface. Use the
following procedure to add management access to this interface if required.
To allow management access to the EXT 1 interface
1Log in to the CLI.
2Allow Telnet and ping management access to the EXT 1 interface. Enter:
config system interface external
set allowaccess telnet ping
end
Changing the system time and date
Use the following procedure to change the system time and date.
To change the system time and date
1Log in to the CLI.
2Change the system time. Enter:
execute time <hh:mm:ss>
For example:
execute time 12:24:34
3Change the system date. Enter:
execute date <mm/dd/yyyy>
For example:
execute date 04/26/2005
4Change the FortiBridge system time zone. Enter:
config system global
set timezone <timezone_integer>
end
Enter the number corresponding to your time zone. Type ? to list time zones and
their numbers. Choose the time zone from the list and enter the correct number.
For example, to set the time zone to Central time (time zone number 8), enter:
config system global
set timezone 8
end
For information about configuring other global settings, see “system global” on
page 66.
Adding administrator accounts
The factory default FortiBridge configuration includes the admin administrator
account. Use this procedure to add more administrator account s.
To add administrator accounts
1Log in to the CLI.
2Add an administrator. Enter:
FortiBridge Version 3.0 Administration Guide
09-30000-0163-2006110929
Resetting to the factory default configurationSetting up FortiBridge units
config system admin
edit <admin_name_str>
set password <password>
set accprofile prof_admin
end
For example:
config system admin
edit new_admin
set password p8ssw0rd
set accprofile prof_admin
end
For more information about config u rin g ad m inistrators see “system admin” on
page 59.
Resetting to the factory default configuration
Use the following procedure to reset the FortiBridge unit to the factory default
configuration. You might want to rest the FortiBridge to the factory default
condition if the FortiBridge unit is not functioning as expected and you would like
to re-start the configuration process. Resetting to the factory default configuration
resets all configuration changes that you have made, including the management
IP address. See “Factory default configuration” on page 22.
To reset to factory default configuration from the FortiBridge front panel
1Press and release the Factory reset button.
Use a pen or other pointed object to press the button.
After a few seconds the FortiBridge unit restarts; reset to the factory default
configuration. You can now re-configure the FortiBridge unit.
To reset to factory defaults from the FortiBridge CLI
1Log into the CLI.
2Enter the following command:
execute factoryreset
3Type y and press Enter.
After a few seconds the FortiBridge unit restarts; reset to the factory default
configuration. You can now re-configure the FortiBridge unit.
Installing FortiBridge unit firmware
Select a procedure from Table 8 to install FortiBridge unit firmware.
Before beginning any of the procedures in this section, you must have the
FortiBridge firmware image file that you are going to install on the FortiBridg e unit.
During these procedures you are required to enter the name of the firmware
image file.
FortiBridge Version 3.0 Administration Guide
3009-30000-0163-20061109
Setting up FortiBridge units Installing FortiBridge unit firmware
Table 8: Firmware upgrade procedures
ProcedureDescription
Upgrading to a new
firmware version
Reverting to a
previous firmware
version
Installing firmware
from a system reboot
Upgrade to a new FortiBridge firmware version or to a more
recent build of the same firmware version.
Revert to a previous firmware version. This procedure reverts
the FortiBridge unit to its factory default configuration.
Install a new firmware version or revert to a previous firmware
version. To use this procedure you must connect to the CLI
using the FortiBridge console port. This procedure reverts the
FortiBridge unit to its factory default configuration.
Upgrading to a new firmware version
You cannot use this procedure to re-install the current firmware or to revert to an
older version of the firmware. If you need to re-install the current firmware or
revert to an older firmware version, see “Reverting to a p revious firmware version”
on page 32.
The following procedure requires a TFTP server that you can connect to from the
FortiBridge unit.
To upgrade to a new firmware version
1Make sure that the TFTP server is running.
2Copy the new firmware image file to the root directory of your TFTP server.
3Log into the CLI as an administrator with sysshutdowngrp access.
Normally this would be the admin administrator. But you can use access profiles
to control administrative access. See “system accprofile” on page 57 for more
information.
4Make sure the FortiBridge unit can connect to the TFTP server.
You can use the following command to ping the computer running the TFTP
server. For example, if the TFTP server IP address is 192.168.1.168:
execute ping 192.168.1.168
5Enter the following command to copy the firmware image from the TFTP server to
the FortiBridge unit:
execute restore image <name_str> <tftp_ip>
Where <name_str> is the name of the firmware image file on the TFTP server
and <tftp_ip> is the IP address of the TFTP server. For example, if the
firmware image file name is FBG_1000-v10-build010-FORTINET.out and
the IP address of the TFTP server is 192.168.1.23, enter:
The FortiBridge unit uploads the firmware image file, upgrades to the new
firmware version, and restarts. This process takes a few minutes.
6Reconnect to the CLI.
7To confirm that the new firmware image has been loaded, enter:
get system status
FortiBridge Version 3.0 Administration Guide
09-30000-0163-2006110931
Installing FortiBridge unit firmwareSetting up FortiBridge units
Reverting to a previous firmware version
This procedure reverts the FortiBridge unit to a previous firmware version and
rests the unit to its factory default configuration.
Before using this procedure you can backup the FortiBridge unit configuration
using the command execute backup config.
To use the following procedure you must have a TFTP server that you can
connect to from the FortiBridge unit.
To revert to a previous firmware version
1Make sure that the TFTP server is running.
2Copy the new firmware image file to the root directory of the TFTP server.
3Log into the CLI as an administrator with sysshutdowngrp access.
Normally this would be the admin administrator. But you can use access profiles
to control administrative access. See “system accprofile” on page 57 for more
information.
4Make sure the FortiBridge unit can connect to the TFTP server.
You can use the following command to ping the computer running the TFTP
server. For example, if the TFTP server's IP address is 192.168.1.168:
execute ping 192.168.1.168
5Enter the following command to copy the firmware image from the TFTP server to
the FortiBridge unit:
execute restore image <name_str> <tftp_ip>
Where <name_str> is the name of the firmware image file on the TFTP server
and <tftp_ip> is the IP address of the TFTP server. For example, if the
firmware image file name is FBG_1000-v10-build010-FORTINET.out and
the IP address of the TFTP server is 192.168.1.23, enter:
The FortiBridge unit uploads the firmware im ag e file . Onc e th e file ha s be en
uploaded a message similar to the following is displayed:
Get image from tftp server OK.
This operation will downgrade the current firmware version!
Do you want to continue? (y/n)
6Type Y.
The FortiBridge unit reverts to the o ld firmware ve rsion, resets the configuration to
factory defaults, and restarts. This process takes a few minutes.
7Reconnect to the CLI.
8To confirm that the older version of the firmware image has been loaded, enter:
get system status
FortiBridge Version 3.0 Administration Guide
3209-30000-0163-20061109
Setting up FortiBridge units Installing FortiBridge unit firmware
Installing firmware from a system reboot
This procedure installs a specified firmware image and rese ts the FortiBridge unit
to default settings. You can use this procedure to upgrade to a new firmware
version, revert to an older firmware version, or to re-install the current firmware.
To use this procedure you:
•access the CLI by connecting to the FortiBridge console port,
•install a TFTP server that you can connect to from the FortiBridge EXT 2
interface. The TFTP server should be on the same network as the EXT 2
interface. The FortiBridge unit cannot access the TFTP server if its behind a
router.
During this procedure you will be asked to enter a local IP address for the
FortiBridge unit. This is a temporary address used for downloading the firmware
image.
This procedure reverts your FortiBridge unit to its factory default configuration.
Before running this procedure you can backup the FortiBridge unit configuration
using the command execute backup config.
To install firmware from a system reboot
1Connect to the CLI using the FortiBridge console port.
2Make sure the TFTP server is running.
3Copy the new firmware image file to the root directory of the TFTP server.
4Make sure the EXT 2 interface of the FortiBridge unit can connect to the TFTP
server.
5Enter the following command to restart the FortiBridge unit:
execute reboot
As the FortiBridge unit starts, a series of system startup messages are displayed.
When the following messages appears:
Hit any key to stop autoboot:
6Immediately press any key to interrupt the system startup.
Note: You only have 3 seconds to press any key. If you do not press any key soon enough,
the FortiBridge unit reboots and you must log in and repeat the execute reboot
command.
When you successfully interrupt the startup proces s, the => prompt appears:
7Type upgrade and press Enter to get the new firmware image from the TFTP
server.
The following message appears:
Enter TFTP server address [192.168.1.168]:
8Type the address of the TFTP server and press Enter.
The following message appears:
Enter local address [192.168.1.188]:
9Type an IP address that the For tiBridge unit can use to connect to the TFTP
server press Enter.
FortiBridge Version 3.0 Administration Guide
09-30000-0163-2006110933
Installing FortiBridge unit firmwareSetting up FortiBridge units
Note: The local IP address is a temporary address used to download the firmware image.
The local IP address should be on the same subnet as the TFTP server IP address.
The following message appears:
Enter firmware image file [image.out]:
10Type the firmware image file name and pr es s Ente r.
The TFTP server uploads the firmware image file to the FortiBridge unit and the
FortiBridge unit installs the new firmware image, reset s the configuration to factory
defaults, and restarts. This proces s takes a few minutes.
11Reconnect to the CLI.
12To confirm that the firmware image has been loaded, enter:
get system status
FortiBridge Version 3.0 Administration Guide
3409-30000-0163-20061109
Configuration and operating procedures Example network settings
Configuration and operating
procedures
This chapter describes how to configure a FortiBridge unit to provide fail open
protection for a FortiGate unit operating in transparent mode. This chapter also
describes some commonly required FortiBridge operating procedures such as
recovering from a fail open event, manually switching between FortiBridge
operating modes and backing up and restoring the FortiBridge configuration.
The procedures in this chapter assume that you have connected the FortiBridge
unit to your network and completed its basic configuration as described in “Setting
up FortiBridge units” on page 19.
Note: The information in this chapter can be applied to any standalone FortiGate
transparent mode network configuration. These procedures can also be applied to a
FortiBridge unit providing fail open protection for a FortiGate HA cluster operating in
transparent mode.
This chapter describes:
•Example network settings
•Configuring FortiBridge probes
•Configuring FortiBridge alerts
•Recovering from a FortiGate failure
•Manually switching between FortiBridge operating modes
•Backing up and restoring the FortiBridge configuration
Example network settings
The descriptions and procedures in this chapter assume that the FortiGate unit is
installed between an internal network and the router that connects the internal
network to the Internet as show in Figure 13. The FortiGate unit can provide the
following security services for all traffic passing between the internal network and
the internet:
•Internal -> External firewall policies for HTTP, FTP, POP3, SMTP, and IMAP
connections from Internal network to the Internet.
•Virus scanning of HTTP, FTP, POP3, SMTP, and IMAP traffic,
•Web filtering of HTTP traffic,
•Spam filtering of POP3, SMTP, and IMAP traffic.
FortiBridge Version 3.0 Administration Guide
09-30000-0163-2006110935
Configuring FortiBridge probesConfiguration and operating procedures
Figure 13: Example FortiBridge application
(Normal mode)
Internal network
INT 1
EXT 1
Internet
Router
Syslog server SNMP Manager
INT 2
InternalExternal
(Transparent mode)
EXT 2
Table 9 lists the internal network configuration.
Table 9: Internal network configuration
FortiGate management IP address172.20.120.10/24
Internal network subnet IP address172.20.120.0/24
Router internal IP address172.20.120.1/24
Internal network default route172.20.120.1
Primary DNS server172.20.120.2
Secondary DNS server172.20.120.3
Syslog Server IP address172.20.120.11
SNMP Manager IP address172.20.120.12
Mail Server Namemail.myorg.com
Table 10 lists the basic FortiBridge unit configuration settings.
Mail server
Table 10: Basic FortiBridge unit configurations settings
Administrator passwordpassWORD
Management IP address172.20.120.20/24
Default route172.20.120.1
Primary DNS server172.20.120.2
Secondary DNS server172.20.120.3
Configuring FortiBridge probes
To monitor a FortiGate unit for failure, you configure the For tiBr idg e un it to se nd
probe packets through the FortiGate unit. Using probe packets, the FortiBridge
unit can confirm that the FortiGate unit can process ICMP (ping), HTTP, FTP,
POP3, SMTP, and IMAP traffic. Until you configure probes, the FortiBridge unit
cannot detect if the FortiGate unit has failed.
FortiBridge Version 3.0 Administration Guide
3609-30000-0163-20061109
Configuration and operating procedures Configuring FortiBridge probes
This section describes:
•Probe settings
•Enabling probes
•Verifying that probes are functioning
•Tuning the failure threshold and probe interval
Probe settings
Configure probe settings to control the response when a FortiBridge probe
detects that the FortiGate unit has failed. Probe settings consist of:
Table 11: Probe settings
Probe SettingDescriptionDefault
Action on failureSet the FortiBridge unit response when a probe detects that
Dynamic IP
pattern
FortiGate unit
serial number
the FortiGate unit has failed. The FortiBridge unit can.
•Send alertmail
•Fail open
•Send an SNMP trap
•Send a message to a syslog server
You can add up to four actions on failure. All of the
configured actions on failure occur when the FortiBridge
unit detects a failure.
Configure the INT 2 and EXT 2 interfaces with dynamic
probe IP addresses. The dynamic probe IP addresses
should not conflict with IP addresses on the network that
the FortiGate unit is connected to. These IP addresses are
not visible from the outside network, but they should not
conflict with IP addresses in packets passing through the
FortiBridge unit. You cannot change the dynamic IP pattern
if any probes are enabled.
The serial number of the FortiGate unit that the FortiBridge
unit is connected to. The serial number appears in
FortiBridge alert mail, and syslog messages to identify the
FortiGate unit.
fail open
(none)
(none)
To configure probe settings
This procedure shows how to configure the following probe settings:
•The FortiBridge unit responds to a FortiGate unit failure by failing open and by
sending an alert email, a syslog message, and an SNMP trap
•The dynamic IP pattern is 2.2.2.*
•The FortiGate unit serial number is FGT8002803923050
Note: The FortiBridge unit does not have to fail open if the FortiGate unit fails. The
FortiBridge unit can be configured just to send alerts if the FortiGate unit fails.
1Log in to the FortiBridge CLI.
FortiBridge Version 3.0 Administration Guide
09-30000-0163-2006110937
Configuring FortiBridge probesConfiguration and operating procedures
2Configure probe settings. Enter:
config probe setting
set action_on_failure alertmail failopen snmp syslog
set dynamic_ip_pattern 2.2.2.*
set fgt_serial FGT8002803923050
end
Enabling probes
Enable probes to control the protocols that the FortiBridge unit uses to confirm
that the FortiGate unit is functioning normally. You can configure probes for ping
(ICMP), HTTP, FTP, POP3, SMTP, and IMAP protocols. For all probes you can
configure the probe interval (the time between consecutive probe packets), and
the probe threshold (the number of probe packets lost before the FortiBridge unit
registers a failure). For HTTP, FTP, POP3, SMTP, and IMAP probes you can also
change the probe port. You would change the probe port for a protocol if the
FortiGate unit uses a non-standard port for that protocol.
The FortiBridge unit simultaneously tests connectivity through the FortiGate unit
for each probe that you have enabled. The first probe that registers a failure
causes all probes to stop and the configured action on failure to occur.
Before you configure probes, the FortiGate unit must be configured to pass the
probe traffic. A single Internal->External firewall policy that allows all traffic also
allows all probe packets. You can also configure individual policies for each
protocol. For example, you could add the policies shown in Figure 14 to the
FortiGate unit.
Figure 14: Sample firewall policies
Policy 1 processes any network traffic. Policy 2 processes all FTP traffic. Policy 2
is above Policy 1 in the policy list, so FTP traffic is matched by policy 2. In the
same way, Policy 3 processes all IMAP traffic.
FTP and IMAP probes would be processed by policies 2 and 3 respectively. All
other probes would be processed by policy 1. This would include pings, SMTP
traffic and so on.
To enable and configure FortiBridge probes
The following steps show examples for configuring ping, HTTP, FTP, POP3,
SMTP, and IMAP probes. For a complete description of FortiBridge probes see
1Log into the FortiBridge CLI.
2Enable the ping probe using the default ping probe parameters. Enter:
config probe probe_list ping
set status enable
end
FortiBridge Version 3.0 Administration Guide
3809-30000-0163-20061109
Configuration and operating procedures Configuring FortiBridge probes
3Display ping probe settings, enter:
get probe probe_list ping
name : ping
failure_threshold : 3
probe_interval : 1
status : enable
4Enable the FTP probe. Increase the failure thresh o l d to 5 an d the pr ob e inte rva l
to 8.
config probe probe_list ftp
set status enable
set failure_threshold 8
set probe_interval 5
end
The FortiBridge unit sends an FTP probe every 5 seconds and fails open if 8
consecutive FTP probe packets are not received.
5Display FTP probe settings. Enter:
get probe probe_list ftp
name : ftp
failure_threshold : 8
probe_interval : 5
status : enable
test_port : 21
6Enable the IMAP probe. Enter:
config probe probe_list IMAP
set status enable
end
7Enable the SMTP probe and change the port used by the probe from 25 to 26.
Enter:
config probe probe_list SMTP
set status enable
set test_port 26
end
Verifying that probes are functioning
You verify that the probes are functioning by viewing the sessions being
processed by the FortiGate unit.
To verify that probes are functioning
1Log into the FortiGate unit web-based manager.
2Go to System > Status > Session.
3View the sessions on the Session list.
FortiBridge Version 3.0 Administration Guide
09-30000-0163-2006110939
Configuring FortiBridge alertsConfiguration and operating procedures
Figure 15: FortiGate Session list showing FortiBridge probes
This session list shows the following:
•The FortiBridge dynamic probe IP addresses are 2.2.2.213 and 2.2.2.214.
•IMAP probe packets (port 143) are processed by firewall policy 3.
•FTP probe packets (port 21) are processed by firewall policy 2.
•ping probe packets are processed by firewall policy 1.
•SMTP packets using port 26 are processed by firewall policy 1.
Tuning the failure threshold and probe interval
If you find the FortiBridge unit failing open when the FortiGate unit has not failed
or if the FortiGate unit fails and there is an unacceptably long delay before the
FortiBridge unit fails open, you should adjus t the failu re thr esho l d an d pr ob e
interval.
Failing open when the FortiGate unit has not failed indicates that you should
increase the time the FortiBridge unit waits to fail open. During startup, if the
FortiBridge unit begins sending probe packets before the FortiGate unit has
completed its start up sequence the FortiBridge unit may detect a failure and
switch to bypass mode. Also, if the FortiGate unit is processing high traffic
volumes, a fail open could occur if the FortiGate unit delays FortiBridge probe
packets. You can increase the fail open delay by increasing the failure threshold
and probe interval.
An unacceptable delay before failing open means network traffic can be
interrupted for the time period between wh en the FortiG ate unit fails and the
FortiBridge unit fails open. You can minimize the delay by reducing the failure
threshold and probe interval.
Configuring FortiBridge alerts
Configure FortiBridge alerts so that the alertemail, syslog, and snmp actions
on failure cause the FortiBridge unit to notify system administrators that the
FortiGate unit has failed. Until you configure alert email, syslog, and SNMP alerts,
the FortiBridge cannot notify system administrators of a FortiGate failure.
You can configure the following FortiBridge alerts:
•FortiBridge alert email
•FortiBridge syslog
•FortiBridge SNMP
FortiBridge Version 3.0 Administration Guide
4009-30000-0163-20061109
Configuration and operating procedures Configuring FortiBridge alerts
FortiBridge alert email
If you set the probe action on failure to alertmail, you can configure alert email
so that the FortiBridge unit sends an email message to up to three email
addresses if the FortiBridge unit detects a failure. The alert email informs the
recipient that a FortiGate unit has failed, includes the protocol for which the failure
was detected, and includes the serial number of the FortiGate unit that failed.
Only the first probe to detect a failure triggers the actions on failure. So, even if
multiple probes are configured, when a failure is detected, the FortiBridg e unit
sends one alert email.
Figure 16:Sample FortiBridge alert email message
FortiBridge detect FortiGate failure
Time: Tue Feb 1 19:58:46 2005
failed protocol: http
failed FortiGate serial number: FGT8002803923050
To configure alert email
Configuring FortiBridge alert email is similar to configuring FortiGate alert email.
1Log into the CLI.
2Configure alert email. Enter:
config alertemail setting
FortiBridge syslog
If you set the probe action on failure to syslog, you can configure FortiBridge
syslog so that the FortiBridge unit sends a syslo g message to one syslog server if
the FortiBridge unit detects a failure. The message informs the recipient that a
FortiGate unit has failed, includes the protocol for which the failure was detected,
and includes the serial number of the FortiGate unit that failed.
Only the first probe to detect a failure triggers the actions on failure. So, even if
multiple probes are configured, when a failure is detected, the FortiBridg e unit
sends one message.
set server mail.myorg.com
set username user@company.com
set password PassWORD
set mailto1 user@company.com
set mailto1 user2@company.co.uk
set mailto1 user3@company.com
end
FortiBridge Version 3.0 Administration Guide
09-30000-0163-2006110941
Configuring FortiBridge alertsConfiguration and operating procedures
In most cases you should only need to configure the IP address of the syslog
server to receive FortiBridge syslog messages. See “log syslogd setting” on
page 54 for more FortiBridge syslog options.
1Log into the CLI.
2Configure syslog settings. Enter:
FortiBridge SNMP
If you set the probe action on failure to snmp, you can configure FortiBridge SNMP
settings so that the FortiBridge unit sends SNMP v1 and v2c compliant traps to
SNMP v1 and v2c compliant SNMP managers if the FortiBridge unit detects a
failure. The traps inform the recipient that a FortiGate unit has failed and include
the protocol for which the failure was detected.
Only the first probe to detect a failure triggers the actions on failure. So, even if
multiple probes are configured, when a failure is detected, the FortiBridge unit
sends one v1 SNMP trap and one v2c SNMP trap.
Configure FortiBridge SNMP by adding and configuring an SNMP community. An
SNMP community is a grouping of equipment for network administration
purposes. You can add up to three SNMP communities. Each community can
have a different configuration for SNMP tr aps. You can add the IP addresses of up
to 8 SNMP managers to each community.
config log syslogd setting
set server 172.20.120.11
end
FortiBridge Version 3.0 Administration Guide
4209-30000-0163-20061109
Configuration and operating procedures Recovering from a FortiGate failure
To add and enable an SNMP community
1Log into the CLI.
2Add the first SNMP community and name it snmp1. Enter:
config system snmp community
edit 1
set name snmp_1
end
The new SNMP community is enabled by default. SNMP v1 and v2 traps are also
enable by default. You can disable traps and change ports. See “system snmp
community” on page 71 for more information.
3Add the IP addresses of two SNMP managers that can receive traps. Enter
config system snmp community
edit 1
config hosts
edit 1
set ip 172.20.120.12
next
edit 2
set ip 192.168.20.102
end
end
Recovering from a FortiGate failure
After the FortiBridge probe detects a FortiGate failure the FortiBridge unit stops
sending probes. To restart probes you can restart the FortiBridge unit, connect to
the FortiBridge CLI and enter the execute switch-mode command, or press
the mode button on the FortiBridge unit front panel.
Normally, an action on failure causes the FortiBridge unit to fail open. When the
FortiBridge unit fails open, it begins operating in Bypass mode. In bypass mode
the INT 1 and EXT 1 interfaces are directly connected and you cannot use Telnet
or SSH to connect to the FortiBridge CLI. Use the following procedure to recover
from bypass mode after a FortiGate failure and resume normal operation.
To resume normal operation from bypass mode
When the FortiBridge unit is operating in bypass mode, you need to do the
following to resume normal operation:
1Review FortiBridge alerts and check the status of your FortiGate unit and netwo rk
components to determine the source of the failure.
A network component or the FortiGate unit could have experienced a general
hardware failure or a specific software failure.
FortiBridge Version 3.0 Administration Guide
09-30000-0163-2006110943
Manually switching between FortiBridge operating modesConfiguration and operating procedures
2Make the required changes to fix the problem.
Depending on the cause, this could mean re-connecting and restarting the
FortiGate unit, or diagnosing a problem with the FortiGate unit or other network
component.
If all network and FortiGate unit hardware and software is functioning normally,
you may have to adjust FortiBridge probe settings. See “Tuning the failure
threshold and probe interval” on page 40.
3Manually switch the FortiBridge unit from bypass to normal mode.
Connect to the FortiBridge CLI using the console connection and enter the
command:
execute switch-mode
Or press the Mode button on the FortiBridge unit front panel.
Or restart the FortiBridge unit by cycling the power or from the console using he
execute reboot command. The FortiBridge unit always restarts on normal
mode.
Manually switching between FortiBridge operating modes
You can manually switch between FortiBridge operating modes from the
FortiBridge CLI or by pressing the Mode button on the FortiBridge front panel. To
switch operating modes from the CLI enter:
execute switch-mode
Backing up and restoring the FortiBridge configuration
Use the following procedures to backup and restore your FortiBridge
configuration. For both of these procedures, you must have a TFTP server that
you can connect to from any FortiBridge unit interface. The FortiBridge unit must
be operating in normal mode.
To back up the FortiBridge configuration
1Make sure that the TFTP server is running.
2Log into the FortiBridge CLI.
3Backup the system configuration to a text file on the TFTP server. Enter:
The config file is copied from the TFTP server to the FortiBridge unit. The
FortiBridge unit reboots loading the new configuration. While the FortiBridge unit
is rebooting, all network traffic passes directly from INT 1 and EXT 1 bypassing
the FortiGate unit.
FortiBridge Version 3.0 Administration Guide
09-30000-0163-2006110945
Backing up and restoring the FortiBridge configurationConfiguration and operating procedures
FortiBridge Version 3.0 Administration Guide
4609-30000-0163-20061109
Using the CLI CLI basics
Using the CLI
This chapter explains how to connect to the command line interface (CLI) and
contains some basic information about using the CLI. You use CLI commands to
view all system information and to change all system configuration settings.
This chapter describes:
•CLI basics
•Connecting to the FortiBridge CLI using SSH or Telnet
CLI basics
The FortiBridge CLI functions the same as the FortiOS v2.80 CLI. For information
about the CLI structure, how to get command help, how to use command
completion, and other CLI features, see the FortiOS v2.80FortiGate CLI
Reference Guide.
Connecting to the FortiBridge CLI using SSH or Telnet
You can use a direct console connection, SSH, or Telnet to connect to the
FortiBridge CLI.
•Setting administrative access for SSH or Telnet
•Connecting to the FortiBridge CLI using SSH
To connect to the FortiBridge CLI using Telnet, see “Connecting to the FortiBridge
CLI using Telnet” on page 26.
Setting administrative access for SSH or Telnet
To configure the FortiBridge unit to accept SSH or Telnet connections, you must
set administrative access to SSH or Telnet for the FortiBridge interface to which
your management computer connects.
To use the CLI to configure SSH or Telnet access
1Log into the CLI.
2Use the following command to configure an interface to accept SSH connections:
config system interface
edit <name_str>
set allowaccess ssh
end
Where <name_str> is the name of the FortiBridge interface to be configured to
accept SSH connections. Internal means the FortiBridge INT 1 interface. Externa l
means the FortiBridge EXT 1 interface.
FortiBridge Version 3.0 Administration Guide
09-30000-0163-2006110947
Connecting to the FortiBridge CLI using SSH or TelnetUsing the CLI
For example, to configure the internal interface to accept SSH connections, enter:
config system interface
edit internal
set allowaccess ssh
end
3Use the following command to configure an interface to accept Telnet
connections:
config system interface
edit <name_str>
set allowaccess telnet
end
Where <name_str> is the name of the FortiBridge interface to be configured to
accept Telnet connections.
For example, to configure the internal interface to accept Telnet connections,
enter:
config system interface
edit internal
set allowaccess telnet
end
Note: Remember to press Enter at the end of each line in the command example. Also,
type end and press Enter to commit the changes to the FortiBridge configuration.
4To confirm that you have configured SSH or Telnet access correctly, enter the
following command to view the access settings for th e in te r fac e:
get system interface <name_str>
The CLI displays the settings, including the management access settings, for the
named interface.
Other access methods
The procedure above shows how to allow access only for Telnet or only for SSH.
If you want to allow both or any of the other management access types you must
include all the options you want to apply. For example to allow ping, Telnet and
SSH access to an interface, the set portion of the command is
set allowaccess ping telnet ssh.
Connecting to the FortiBridge CLI using SSH
Secure Shell (SSH) provides strong secure authentication and secure
communications to the FortiBridge CLI from your internal network or the internet.
Once the FortiBridge unit is configured to accept SSH connections, you can run
an SSH client on your management computer and use this client to connect to the
FortiBridge CLI.
Note: A maximum of 5 SSH connections can be open at the same time.
FortiBridge Version 3.0 Administration Guide
4809-30000-0163-20061109
Using the CLI Connecting to the FortiBridge CLI using SSH or Telnet
To connect to the CLI using SSH
1Install and start an SSH client.
2Connect to a FortiBridge interface that is configured for SSH connections.
3Type a valid administrator name and press Enter.
4Type the password for this administrator and press Enter.
The FortiBridge model name followed by a # is displayed.
You have connected to the FortiBridge CLI, and you can enter CLI commands.
FortiBridge Version 3.0 Administration Guide
09-30000-0163-2006110949
Connecting to the FortiBridge CLI using SSH or TelnetUsing the CLI
pop3 | smtp | imap}
probe setting
system accprofile
system admin
system console
system dns
get system status
system fail_close
system global
system interface {internal |
external}
system manageip
system route
system snmp community
FortiBridge Version 3.0 Administration Guide
09-30000-0163-2006110951
alertemail settingconfig CLI commands
alertemail setting
Use this command to configure the FortiBridge unit to send alert email to up to three recipients when
action on failure is set to send a alert email message.
Command syntax pattern
config alertemail setting
set <keyword> <variable>
end
config alertemail setting
unset <keyword>
get alertemail setting
show alertemail setting
Keywords and variablesDescriptionDefault
authenticate
{disable | enable}
mailto1
<email-address_str>
mailto2
<email-address_str>
mailto3
<email-address_str>
password
<password_str>
server
{<name_str> |
<address_ipv4>}
username
<user-name_str>
Enable SMTP authentication if the FortiBridge unit is required to
authenticate to connect to the SMTP server.
Enter an email address. This is one of the email addresses to which
the FortiBridge unit sends alert email.
Enter an email address. This is one of the email addresses to which
the FortiBridge unit sends alert email.
Enter an email address. This is one of the email addresses to which
the FortiBridge unit sends alert email.
Enter the password that the FortiBridge unit needs to access the
SMTP server.
Enter the name of the SMTP server, in the format
smtp.domain.com,
email. The SMTP server can be located on any network connected
to the FortiBridge unit.
Enter a valid email address in the format user@domain.com. This
address appears in the From header of the alert email.
to which the FortiBridge unit should send
disable
No
default.
No
default.
No
default.
No
default.
No
default.
No
default.
Examples
This example shows how to configure the SMTP server and user name and password, enable
authentication and add two email addresses.
config alertemail setting
set server mail.ourcompany.com
set username fortigate@ourcompany.com
set authenticate enable
set password pwd23
set mailto1 admin1@ourcompany.com
set mailto2 admin2@ourcompany.com
end
This example shows how to display the alertemail settings.
get alertemail setting
This example shows how to display the configuration of the alertemail setting command.
show alertemail setting
FortiBridge Version 3.0 Administration Guide
5209-30000-0163-20061109
config CLI commands alertemail setting
Related Commands
•probe setting
FortiBridge Version 3.0 Administration Guide
09-30000-0163-2006110953
log syslogd settingconfig CLI commands
log syslogd setting
Use this command to configure the FortiBridge unit to send a syslog message to a remote syslog
server when action on failure is set to send a syslog message.
Command syntax pattern
config log syslogd setting
set <keyword> <variable>
end
config log syslogd setting
unset <keyword>
get log syslogd setting
show log syslogd setting
Keywords and variablesDescriptionDefault
csv {disable | enable}Enable formatting log messages in Comma Separated Value
port <port_integer>Enter the port number for communication with the syslog server. 514
server <address_ipv4>Enter the IP address of the syslog server that stores the logs.No default.
status {disable | enable} Enter enable to enable logging to a remote syslog server.disable
(CSV) format. If you do not enable CSV format the FortiBridge
unit produces plain text log messages.
Enter the facility type, which identifies the source of the log
message to the syslog server. You might want to change facility
to distinguish log messages from different FortiBridge units.
disable
local7
Example
This example shows how to enable logging to a remote syslog server, configure an IP address and
port for the server, and enable logging in CSV format.
config log syslogd setting
set status enable
set server 220.210.200.190
set port 601
set csv enable
end
This example shows how to display the log setting for logging to a remote syslog server.
get log syslogd setting
This example shows how to display the configuration for logging to a remote syslog server.
show log syslogd setting
If the show command returns you to the prompt, the settings are at default.
Use this command to configure probes for ping, HTTP, FTP, POP3, SMTP, and IMAP traffic. Probes
monitor different types of traffic. For each protocol you configure the time interval between probes
(interval) and how many lost probes are required to register a failure (threshold). You can also enable
each probe and in all cases except ping you can specify the port used by the probe.
Use the following command to enable HTTP probes and change the HTTP failure thre shold to 5 and
the probe interval to 3.
config probe probe_list http
set status enable
set failure_threshold 5
set probe_interval 3
end
This example shows how to display the settings for the probe probe_list command.
get probe probe_list
This example shows how to display the settings for the http probe.
get probe probe_list http
This example shows how to display the configuratio n fo r the probe probe_list command.
show probe probe_list
Related Commands
•probe setting
FortiBridge Version 3.0 Administration Guide
09-30000-0163-2006110955
probe settingconfig CLI commands
probe setting
Use this command to configure how the FortiBridge unit responds when a probe determines that the
FortiGate unit has failed. You can also configure the dynamic IP pattern used by probes and add the
FortiGate serial number, which is used in FortiBridge alert messages.
Set how the FortiBridge unit responds when a probe detects that
the FortiGate unit has failed. You can enter one or more of the
action types separated by spaces. Enter all of the action options
required. 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.
Configure the INT 2 and EXT 2 interfaces with dynamic probe IP
addresses. The dynamic probe IP addresses should not conflict
with IP addresses on the network that the FortiGate unit is
connected to. These IP addresses are not visible from the
outside network, but they should not conflict with IP addresses in
packets passing through the FortiBridge unit. Y ou cannot change
the dynamic IP pattern if any probes are enabled.
The serial number of the FortiGate unit that the FortiBridge unit is
connected to. This number is used in FortiBridge alert messages
to identify the FortiGate unit.
failopen
none
none
Example
Use the following command to configure the FortiBridge unit to send alert email and fail open when a
probe detects a failure, set the IP pattern to 2.2.2.* and add the FGT8002803923050 FortiGate serial
number
config probe setting
set action_on_failure alertmail failopen
set dynamic_ip_pattern 2.2.2.*
set fgt_serial FGT8002803923050
Use this command to add access profiles that control administrator access to FortiBridge features.
Each administrator account must include an access profile. You can create access profiles that deny
access to or allow read only, write only, or both read and write access to FortiBridge features.
Command syntax pattern
config system accprofile
edit <profile-name_str>
set <keyword> <variable>
end
config system accprofile
edit <profile-name_str>
unset <keyword>
end
config system accprofile
delete <profile-name_str>
end
get system accprofile [<profile-name_str>]
show system accprofile [<profile-name_str>]
Keywords and variablesDescriptionDefault
admingrp {none | r | rw | w} Control administrator access to FortiBridge administrator
loggrp {none | r | rw | w}Control administrator access to log and alert email settings.
sysgrp {none | r | rw | w}Control administrator access to system configuration settings.
sysshutdowngrp {none | r |
rw | w}
accounts and access profiles.
none deny access.
r read only access.
rw read write access.
w write only access.
none deny access.
r read only access.
rw read write access.
w write only access.
none deny access.
r read only access.
rw read write access.
w write only access.
Control administrator access to system shutdown, system,
reboot, and firmware upgrade functions.
none deny access.
r read only access.
rw read write access.
w write only access.
none
none
none
none
FortiBridge Version 3.0 Administration Guide
09-30000-0163-2006110957
system accprofileconfig CLI commands
Example
Use the following commands to add a new access profile named policy_profile that allows read
and write access system shutdown. An administrator a ccount with this access profile can shut down the
system and upgrade firmware.
config system accprofile
edit policy_profile
set secgrp rw
end
This example shows how to display the settings for the system accprofile command.
get system accprofile
This example shows how to display the settings for the policy_profile access profile.
get system accprofile policy_profile
This example shows how to display the configuration for the system accprofile command.
show system accprofile
This example shows how to display the configuration for the policy_profile access profile.
get system accprofile policy_profile
Related Commands
•system admin
FortiBridge Version 3.0 Administration Guide
5809-30000-0163-20061109
config CLI commands system admin
system admin
Use this command to add, edit, and delete administrator accounts.
Use the admin account or an account with system configuration read and write privileges to add new
administrator accounts and control their permission levels. Each administrator account must include
an access profile. You cannot delete the admin administrator account. You cannot change the admin
administrator account permiss io n s.
Command syntax pattern
config system admin
edit <name_str>
set <keyword> <variable>
end
config system admin
edit <name_str>
unset <keyword>
end
config system admin
delete <name_str>
end
get system admin [<name_str>]
show system admin [<name_str>]
Keywords and variablesDescriptionDefault
accprofile
<profile-name_str>
password <password_str> Enter a password for the administrator account. For improved
trusthost1
<address_ipv4mask>
trusthost2
<address_ipv4mask>
trusthost3
<address_ipv4mask>
Enter the name of the access profile to assign to this administrator
account. Access profiles control administrator access to FortiBridge
features.
security, the password should be at least 6 characters long.
An IP address or subnet address and netmask from which the
administrator can connect to the FortiBridge unit.
If you want the administrator to be able to access the FortiBridge unit
from any address, set one of the trusted hosts to 0.0.0.0 and the
netmask to 0.0.0.0.
An IP address or subnet address and netmask from which the
administrator can connect to the FortiBridge unit.
If you want the administrator to be able to access the FortiBridge unit
from any address, set one of the trusted hosts to 0.0.0.0 and the
netmask to 0.0.0.0.
An IP address or subnet address and netmask from which the
administrator can connect to the FortiBridge unit.
If you want the administrator to be able to access the FortiBridge unit
from any address, set one of the trusted hosts to 0.0.0.0 and the
netmask to 0.0.0.0.
No
default.
No
default.
0.0.0.0/
0.0.0.0
0.0.0.0/
0.0.0.0
0.0.0.0/
0.0.0.0
FortiBridge Version 3.0 Administration Guide
09-30000-0163-2006110959
system adminconfig CLI commands
Example
Use the following commands to add a new administrator account named new_admin with the
password set to p8ssw0rd and that includes an access profile named policy_profile.
Administrators that log in to this account will have administrator access to the FortiBridge unit from any
IP address.
config system admin
edit new_admin
set password p8ssw0rd
set accprofile policy_profile
end
This example shows how to display the settings for the system admin command.
get system admin
This example shows how to display the settings for the new_admin administrator account.
get system admin new_admin
This example shows how to display the configuration for the system admin command.
show system admin
Related Commands
•system accprofile
FortiBridge Version 3.0 Administration Guide
6009-30000-0163-20061109
config CLI commands system console
system console
Use this command to set the console command mode and output setting.
Command syntax pattern
config system console
set <keyword> <variable>
end
config system console
unset <keyword>
end
get system console
show system console
Keywords and variablesDescriptionDefault
mode {batch | line}Set the console mode to line or batch. Used for auto testing only. line
output {standard | more}Set console output to standard (no pause) or more (pause after
each screen, resume on keypress).
standard
Example
This example shows how to set the number of lines per page to 25.
config system console
set page 25
end
This example shows how to display the settings for the console command.
get system console
This example shows how to display the configuratio n fo r the console command.
show system console
FortiBridge Version 3.0 Administration Guide
09-30000-0163-2006110961
system dnsconfig CLI commands
system dns
Use this command to set the DNS server addresses. Sev eral Fo r tiBrid g e functions, including sending
email alerts and URL blocking, use DNS.
On models numbered 100 and lower, you can use this command to set up DNS forwarding.
Command syntax pattern
config system dns
set <keyword> <variable>
end
config system dns
unset <keyword>
end
get system dns
show system dns
Keywords and variablesDescriptionDefault
primary <address_ipv4>Enter the primary DNS server IP address. 65.39.139.53
secondary <address_ipv4> Enter the secondary DNS IP server address. 65.39.139.63
Example
This example shows how to set the primary FortiBridge DNS server IP address to 45.37.121.76 and
the secondary FortiBridge DNS server IP address to 45.37.121.77.
config system dns
set primary 45.37.121.76
set secondary 45.37.121.77
end
This example shows how to display the settings for the system dns command.
get system dns
This example shows how to display the configuration for the system dns command.
show system dns
FortiBridge Version 3.0 Administration Guide
6209-30000-0163-20061109
config CLI commands get system status
get system status
Use this command to display system status information. This command displays:
•FortiBridge unit firmware version and build numbe r
•FortiBridge unit host name
•FortiBridge unit operation mode (normal or bypass)
•FortiBridge unit serial number
Command syntax pattern
get system status
FortiBridge Version 3.0 Administration Guide
09-30000-0163-2006110963
system fail_closeconfig CLI commands
system fail_close
Use this command to configure the fail close feature.
Command syntax pattern
config system fail_close
set <keyword> <variable>
end
config system fail_close
unset <keyword>
end
get system fail_close
show system fail_close
Keywords and variablesDescriptionDefault
status {disable |
fail_close |
fail_bypass}
threshold
<seconds_integer>
The fail_bypass option is only available on the
FBG-1000F.
When the FortiBridge detects an upstream or downstream
network disconnection (whether due to a cut/disconnected
cable, failure of the connected device, or failure of the
FortiBridge unit’s own interface), it will bring down its own
network interface after waitin g th e amount of time set for
the threshold variable. If the fail close status is set to
fail_close and a switch connected to EXT1 fails, the
FortiBridge would bring down its own INT1. This way, the
device connected to INT1 will be able to determine there is
a problem Similarly, if a device connected to INT1 fails, the
FortiBridge would bring down its own EXT1.
When the problem is corrected, the FortiBridge will enable
its own network interface after waiting the amount of time
set for the threshold variable.
Some early FBG-1000 units will return an Not supported by this hardware error when this command is invoked. This
is normal as hardware support for fail_close was only
added in later units.
When using a FBG-1000F, some fiber-connected
equipment doesn’t properly detect the status of a
FortiBridge interface brought down by the fail_close
option. To prevent this problem, use fail_bypass
instead. If a network problem is detected with
fail_bypass set, the FortiBridge will switch to bypass
mode. This way, the network devices can detect the
problem directly through the FortiBridge. Note that
fail_bypass causes the FortiBridge to remove itself
from the network when a problem is detected so manual
intervention is required to switch back to normal mode.
Enter how long, in seconds, the FortiBridge will wait after
detecting a network problem before activating the fail close
feature. Except when fail_bypass is set, the FortiBridge
will wait the specified time before deactivating the fail close
feature when the problem is corrected.
disable
3
FortiBridge Version 3.0 Administration Guide
6409-30000-0163-20061109
config CLI commands system fail_close
Example
This example shows how to enable the FortiBridge fail_close feature, and set the thre shold time to five
seconds.
config system fail_close
set status fail_close
set threshold 5
end
This example shows how to display the configuratio n fo r the system fail_close command.
show system fail_close
FortiBridge Version 3.0 Administration Guide
09-30000-0163-2006110965
system globalconfig CLI commands
system global
Use this command to configure global settings that affect various FortiBridge systems and
configurations.
Command syntax pattern
config system global
set <keyword> <variable>
end
config system global
unset <keyword>
end
get system global
show system global
Keywords and variablesDescriptionDefault
admintimeout
<minutes_integer>
dst {disable | enable}Enable or disable daylight saving time.
heartbeat {disable |
enable }
hostname <name_str>Type a name for this FortiBridge unit. FortiBridge model
Set the administrator idle timeout to control the
amount of inactive time before the administrator must
log in again. The maximum admintimeout is 480
minutes (8 hours). To improve security keep the idle
timeout at the default value.
If you enable daylight saving time, the FortiBridge unit
adjusts the system time when the time zone changes
to daylight saving time and back to standard time.
For future use.disable
This command is only available for the FBG-1000.
Set the network interface speed or allow each
interface to auto-sense the correct speed. Set to
auto, each FortiBridge network interface will
autosense the correct speed and adjust accordingly. If
the interface-speed command is used to specify a
speed, all FortiBridge interfaces are locked to the
selected speed.
Although the FortiBridge supports 10/100/1000mbps
speeds when set to auto, 1000half and 1000full are
not available for manual selection.
Some early units will return an Not supported by this hardware error when this command is invoked. This is
normal as hardware support for interface-speed
was only added in later units.
Enter the domain name or IP address of a Network
Time Protocol (NTP) server.
Enable or disable automatically updating the system
date and time by connecting to a Network Time
Protocol (NTP) server. For more information about
NTP and to find the IP address of an NTP server that
you can use, see http://www.ntp.org.
5
disable
name.
auto
132.246.168.148
disable
FortiBridge Version 3.0 Administration Guide
6609-30000-0163-20061109
config CLI commands system global
Keywords and variablesDescriptionDefault
syncinterval
<minutes_integer>
timezone
<timezone_integer>
Enter how often, in minutes, the FortiGate unit should
synchronize its time with the Network Time Protocol
(NTP) server. The syncinterval number can be 1
to 1440; 0 disables time synchronization.
The number corresponding to your time zone. Press ?
to list time zones and their numbers. Choose the time
zone for the FortiBridge unit from the list and enter the
correct number.
60
00
Example
This example shows how to set the FortiBridge system timezone, add the IP address of an NTP
server, and enable synchronization with the NTP server. The IP address of the NTP server is
192.168.20.1.
config system global
set timezone 16
set ntpserver 192.168.20.1
set ntpsync enable
end
This example shows how to display the settings for the system global command.
get system global
This example shows how to display the configuratio n fo r the system global command.
show system global
FortiBridge Version 3.0 Administration Guide
09-30000-0163-2006110967
system interface {internal | external}config CLI commands
system interface {internal | external}
Use this command to configure management access to the FortiBridge internal or external interface.
The internal interface in the INT 1 interface. The external interface is the EXT 1 interface.
Command syntax pattern
Entering a name string for the edit keyword that is not the name of a physical inter face a dd s a VL AN
subinterface.
config system interface {internal | external}
set <keyword> <variable>
end
config system interface {internal | external}
unset <keyword>
end
get system interface <name_str>
show system interface <name_str>
Keywords and variablesDescriptionDefault
allowaccess {ping ssh
telnet}
Allow management access to the interface. You can enter one or
more of the management access types separated by spaces.
Enter all the management access options for the interface. Use a
space to separate the options. 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.
INT 1
(internal)
ping,
ssh,
telnet
EXT 1
(external)
none
Example
This example shows how to set management access for the INT 1 interface to ping, and ssh.
config system interface internal
set allowaccess ping ssh
end
This example shows how to display the settings for the INT 1interface.
get system interface internal
This example shows how to display the configuration for the INT 1interface.
show system interface internal
FortiBridge Version 3.0 Administration Guide
6809-30000-0163-20061109
config CLI commands system manageip
system manageip
Configure the FortiBridge management IP address. Use th e management IP a ddress for managem ent
access to the FortiBridge unit.
Command syntax pattern
config system manageip
set <keyword> <variable>
end
config system manageip
unset <keyword>
end
get system manageip
show system manageip
Keywords and variablesDescriptionDefault
ip <address_ipv4mask>Set the IP address and netmask of the FortiBridge
management interface.
192.168.1.99
255.255.255.0
Example
This example shows how to set the manageme nt IP add re ss to 19 2. 168 .2 .8 0 an d th e ne tm a sk to
255.255.255.0.
config system manageip
set ip 192.168.2.80 255.255.255.0
end
This example shows how to display the settings for the manageip command.
get system manageip
This example shows how to display the configuratio n fo r the manageip command.
show system manageip
Related Commands
•system interface {internal | external}
FortiBridge Version 3.0 Administration Guide
09-30000-0163-2006110969
system routeconfig CLI commands
system route
Use this command to add or edit FortiBridge static routes.
Command syntax pattern
config system route
edit <sequence_integer>
set <keyword> <variable>
end
config router static
unset <keyword>
get system route
show system route
Keywords and variablesDescriptionDefault
distance
<distance_integer>
dst <destinationaddress_ipv4mask>
gateway <gatewayaddress_ipv4>
The administrative distance for the route. Using administrative
distance you can specify the relative priorities of different routes to the
same destination. A lower administrative distance indicates a more
preferred route. Distance can be an integer from 1-255.
The destination IP address and netmask for this route.
Enter 0.0.0.0 0.0.0.0 for the destination IP address and netmask
to add a default route.
The IP address of the first next hop router to which this route directs
traffic.
10
0.0.0.0
0.0.0.0
No
default.
Example
This example shows how to edit a FortiBridge static route.
config system route
edit 2
set dst 192.168.22.0 255.255.255.0
set gateway 192.168.22.44
end
This example shows how to display the list of static route numbers.
get system route
This example shows how to display the settings for static route 2.
get system route 2
This example shows how to display the static route configuration.
show system route
This example shows how to display the configuration for static route 2.
show system route 2
FortiBridge Version 3.0 Administration Guide
7009-30000-0163-20061109
config CLI commands system snmp community
system snmp community
Use this command to configure SNMP communities. Add SNMP communities so that the FortiBridge
unit can send SNMP v1 and v2c traps to SNMP managers when action on failure is set to send SNMP
traps. You can add up to three SNMP communities. Each community can have a different configur ation
for SNMP traps. You can also the add IP addresses of up to 8 SNMP managers to each community.
Command syntax pattern
config system snmp community
edit <id_integer>
set <keyword> <variable>
end
config system snmp community
edit <id_integer>
unset <keyword>
end
config system snmp community
delete <id_integer>
end
get system snmp community [<id_integer>]
show system snmp community [<id_integer>]
The config system snmp community command has one subcommand.
config hosts
Keywords and variablesDescriptionDefault
name <name_str>The name of the SNMP community.No default.
status {disable | enable} Enable or disable the SNMP community.enable
trap_v1_lport
<local-port_integer>
trap_v1_rport
<remote-port_integer>
trap_v1_status {disable
| enable}
trap_v2c_lport
<local-port_integer>
trap_v2c_rport
<remote-port_integer>
trap_v2c_status {disable
| enable}
SNMP v1 local port number used for sending traps to the
SNMP managers added to this SNMP community.
SNMP v1 remote port number used for sending traps to the
SNMP managers added to this SNMP community.
Enable or disable SNMP v1 traps for this SNMP community.enable
SNMP v2c local port number used for sending traps to the
SNMP managers added to this SNMP community.
SNMP v2c remote port number used for sending traps to the
SNMP managers added to this SNMP community.
Enable or disable SNMP v2c traps for this SNMP community.enable
162
162
162
162
config hosts
Access the hosts subcommand using the snmp community command. Use this command to add
SNMP manager IP addresses to an SNMP community.
FortiBridge Version 3.0 Administration Guide
09-30000-0163-2006110971
system snmp communityconfig CLI commands
Command syntax pattern
config hosts
edit <id_integer>
set <keyword> <variable>
end
config hosts
edit <id_integer>
unset <keyword>
end
config hosts
delete <id_integer>
end
get system snmp community [<id_integer>]
show system snmp community [<id_integer>]
Keywords and variablesDescriptionDefault
ip <address_ipv4>The IP address of the SNMP manager.0.0.0.0
Example
This example shows how to add a new SNMP community named SNMP_Com1. The default
configuration can be used in most cases with only a few modifications. In the example below the
community is added, given a name, and then because this co mmunity is for an SNMP manager that is
SNMP v1 compatible, v2c functionality is disabled. After the community is configured the SNMP
manager is added. The SNMP manager IP address is 192.168.20.34.
config system snmp community
edit 1
set name SNMP_Com1
set trap_v2c_status disable
config hosts
edit 1
set ip 192.168.10.34
end
end
This example shows how to display the settings for the system snmp community command.
get system snmp community
This example shows how to display the settings for the SNMP community with ID 1.
get system snmp community 1
This example shows how to display the configuration for the snmp community command.
show system snmp community
This example shows how to display the configuration for the SNMP community with ID 1.
show system snmp community 1
FortiBridge Version 3.0 Administration Guide
7209-30000-0163-20061109
execute CLI commands
execute CLI commands
backup
date
factoryreset
ping
reboot
restore
switch-mode
time
FortiBridge Version 3.0 Administration Guide
09-30000-0163-2006110973
backupexecute CLI commands
backup
Backup the FortiBridge configuration to a file on a TFTP server.
configBack up the FortiBridge configuration.
<filename_str>The name to give the file that is copied to the TFTP server.
<tftp-server_ipv4>The TFTP server IP address.
Example
This example shows how to backup a system configuration file from the FortiBridge unit to a TFTP
server. The name to give the configuration file on the TFTP serve r is fbdg.cfg. The IP addres s of the
TFTP server is 192.168.1.23.
execute backup config fbdg.cfg 192.168.1.23
FortiBridge Version 3.0 Administration Guide
7409-30000-0163-20061109
execute CLI commands date
date
Get or set the system date.
Command syntax
execute date [<date_str>]
date_str has the form mm/dd/yyyy, where
•mm is the month and can be 01 to 12
•dd is the day of the month and can be 01 to 31
•yyyy is the year and can be 2001 to 2100
If you do not specify a date, the command returns the current system date.
Example
This example sets the date to 17 September 2004:
execute date 09/17/2004
FortiBridge Version 3.0 Administration Guide
09-30000-0163-2006110975
factoryresetexecute CLI commands
factoryreset
Reset the FortiBridge configuration to factory default settings.
Command syntax
execute factoryreset
Caution: This procedure deletes all changes that you have made to the FortiBridge configuration and reverts the
!
system to its original configuration, including resetting the management IP address.
FortiBridge Version 3.0 Administration Guide
7609-30000-0163-20061109
execute CLI commands ping
ping
Send five ICMP echo requests (pings) to test the network connection between the FortiBridge unit and
another network device.
Command syntax
execute ping {<address_ipv4> | <host-name_str>}
Example
This example shows how to ping a host with the IP address 192.168.1.23.
execute ping 192.168.1.23
FortiBridge Version 3.0 Administration Guide
09-30000-0163-2006110977
rebootexecute CLI commands
reboot
Restart the FortiBridge unit.
Command syntax
execute reboot
FortiBridge Version 3.0 Administration Guide
7809-30000-0163-20061109
execute CLI commands restore
restore
Use this command to restore a backup configuration and to change the FortiBridge firmware.
configRestore a system configuration. The new configuration replaces the existing
imageUpload a firmware image from a TFTP server to the FortiBridge unit. The
<filename_str>The name of file that is uploaded from the TFTP server.
<tftp-server_ipv4>The TFTP server IP address.
Example
This example shows how to upload a configuration file from a TFTP server to the FortiBridge unit and
restart the FortiBridge unit with this configuration. The name of the configuration file on the TFTP
server is backupconfig. The IP address of the TFTP server is 192.168.1.23.
execute restore config backupconfig 192.168.1.23
configuration, including administrator accounts and passwords.
FortiBridge unit reboots, loading the new firmware.
FortiBridge Version 3.0 Administration Guide
09-30000-0163-2006110979
switch-modeexecute CLI commands
switch-mode
Use this command to switch between bypass and normal mode.
Command syntax
execute switch-mode
FortiBridge Version 3.0 Administration Guide
8009-30000-0163-20061109
execute CLI commands time
time
Get or set the system time.
Command syntax
execute time [<time_str>]
time_str has the form
•hh is the hour and can be 00 to 23
•mm is the minutes and can be 00 to 59
•ss is the seconds and can be 00 to 59
If you do not specify a time, the command returns the current system time.
Example
This example sets the system time to 15:31:03:
execute time 15:31:03
hh:mm:ss, where
FortiBridge Version 3.0 Administration Guide
09-30000-0163-2006110981
FortiBridge Version 3.0 Administration Guide
09-30000-0163-2006110985
Index
v2c 42
snmp
action_on_failure 56
SSH
access to CLI 47
standalone FortiGate unit 9
static route
adding 28
status 54
status {disable | enable} 54, 55, 71
switch
switching between modes 14
switching
between operating modes 44
switch-mode 14, 80
execute 44
syncinterval 67
sysgrp 57
syslog 41
action_on_failure 56
configuring 42
sample message 41
syslog message 37
sysshutdowngrp 57
system accprofile 57
system admin 59
system console 61
system dns 62
system global 66
system interface {internal | external} 68
system manageip 69
system route 70
system snmp community 71