
Checking the Package Contents
Planning the Configuration
Esc Enter
CONSOLE 10/100 10/100/1000USB
1 2 3 4 5 6
FortiMail-400 LED Indicators
FortiMail-40 0
Copyright 2006 Fort inet Incorp orated. All rights rese rved.
Trademarks
Products mentioned in this doc ument are t rademarks.
Qu i c kS t ar t Gu i de
Esc Enter
CONSOLE 10/100 10/100/1000USB
1 2 3 4 5 6
Power Cabl e
Rack- Mount Brac kets
Docum entat ion
Ether net C ables :
Orang e - C rosso ver
Grey - Str aight -thro ugh
Front
LCD
Contr ol
Butto ns
Power
LED
Back
Power
Conne ction
Power
Switc h
USB
(Fut ure u se)
Port 1
Port 2
-
RJ-45 to
DB-9 Conso le Ca ble
Port 6
Port 5
Port 4
Port 3
RJ-45 Console
Esc Enter
CONSOLE 10/100 10/100/1000USB
1 2 3 4 5 6
Esc Enter
CONSOLE 10/100 10/100/1000USB
1 2 3 4 5 6
-
Crossover Ethernet cable connects to management
computer on private network. Straight-through Ethernet
cable connects to LAN or switch on private network.
Power cable connects to power outlet
LED State Description
Power
Port 1 to 6
On The FortiMail unit is on.
Off The FortiMail unit is off.
Amber (Left LED) The correct cable is in use and the connected equipment has
power.
Flashing Amber
Network activity at this interface.
(Left LED)
Off (Right LED) Ports connected at 10Mbps.
Green (Right LED) Ports connected at up to 100 Mbps.
Red (Right LED) Port 5 and 6 connected at 1000 Mbps
© Copyright 2008 Fortinet Incorporated. All rights reserved.
Products mentioned in this document are trademarks or registered trademarks of their respective holders.
Regulatory Compliance
FCC Class A Part 15 CSA/CUS
9 September 2008
FortiMail-400
06-30004-0155-20080909
Connector Type Speed Protocol Description
Ports 1, 2, 3, 4 RJ-45 10/100 Base-T Ethernet Connection to the network.
Ports 5 and 6 RJ-45 10/100/1000
Ethernet Connection to the network.
Base-T
CONSOLE RJ-45 9600 bps RS-232 Connection to the management
computer. Provides access to the
command line interface (CLI).
Connect the FortiMail unit to a power outlet and to the network hub or switch.
Place the FortiMail unit on a stable surface or mount it in a 19-inch rack. It requires 1.5
•
inches (3.75 cm) clearance on each side to allow for cooling.
Make sure the power is not plugged into the wall before connecting the power cable
•
and turning on the unit.
The Status light ashes while the unit is starting up and remains lit when the system is
•
up and running.
Gateway mode
In Gateway mode, the FortiMail unit protects your email server by scanning the SMTP trafc
for viruses and spam messages as it passes through the FortiMail unit.
You can congure your rewall or DNS server to ensure that incoming SMTP trafc goes
through the FortiMail unit before reaching the email server. Optionally, you can congure the
email server to use the FortiMail unit as the relay server for outgoing SMTP trafc.
The FortiMail unit integrates into your existing network with only minor changes to your
network conguration.
Transparent mode
In Transparent mode, the FortiMail unit protects your email server by scanning the SMTP traf-
c for viruses and spam messages as it passes through the FortiMail unit.
The FortiMail unit provides seamless integration into existing networks. You can place the
FortiMail unit in front of the existing email server without any conguration changes to the
existing network topology, for ltering email messages. This means that all of the FortiMail
interfaces are on the same IP subnet and appears to other devices as a bridge. Alternatively,
you can congure the FortiMail unit as a combination of a bridge and a router by assigning
IP addresses to some of its interfaces. In this situation, the interfaces can be on different
subnets.
Server mode
In Server mode, the FortiMail unit provides basic email server functionality, supporting
WebMail, SMTP, POP3 and IMAP email protocols. In addition, the FortiMail Server provides
antivirus, antispam, email archiving, logging and reporting services.

Completing the Configuration
7
Configuring the FortiMail Unit
Choosing a Configuration Tool
Web-based manager
Command Line Interface (CLI)
The FortiMail web-based manager is an easy to use management tool.
Use it to congure the administrator password, the interface and default gateway addresses,
and the DNS server addresses.
Requirements:
An Ethernet connection between the FortiMail unit and management computer.
•
Internet Explorer 6.0 or higher on the management computer.
•
Gateway/Server mode
Port 1 IP: ____.____.____.____
Netmask: ____.____.____.____
Port 2
Port 3 IP: ____.____.____.____
Port 4 IP: ____.____.____.____
Port 5 IP: ____.____.____.____
Port 6 IP: ____.____.____.____
IP: ____.____.____.____
Netmask: ____.____.____.____
Netmask: ____.____.____.____
Netmask: ____.____.____.____
Netmask: ____.____.____.____
Netmask: ____.____.____.____
Transparent mode
Management IP IP: ____.____.____.____
Netmask: ____.____.____.____
The CLI is a text-based management tool. Use it to congure the administrator password,
the interface addresses, the default gateway address, and the DNS server addresses. To
congure advanced settings, see the FortiMail Administration Guide.
Requirements:
The RJ-45 to DB-9 serial connection between the FortiMail unit and management com-
•
puter.
A terminal emulation application (HyperTerminal) on the management computer.
•
General settings
Administrator password:
Network Settings: Default Gateway:
Primary DNS Server: ____.____.____.____
Secondary DNS Server: ____.____.____.____
A default gateway is required for the FortiMail unit to route connections to the Internet.
____.____.____.____
Factory default settings
Gateway mode Transparent mode
Port 1 192.168.1.99 Management IP 192.168.1.99
Port 2 192.168.2.99
Port 3 255.255.255.255 Administrative account settings
Port 4 255.255.255.255 User name admin
Port 5 255.255.255.255 Password (none)
Port 6 255.255.255.255
Web-based Manager
Connect the FortiMail Port 1 interface to a management computer Ethernet interface.
1.
Use a cross-over Ethernet cable to connect the devices directly. Use straight-through
Ethernet cables to connect the devices through a hub or switch.
Congure the management computer to be on the same subnet as the internal interface
2.
of the FortiMail unit. To do this, change the IP address of the management computer to
192.168.1.2 and the netmask to 255.255.255.0.
To access the FortiMail web-based manager, start Internet Explorer and browse to
3.
https://192.168.1.99/admin (remember to include the “s” in https://).
Type admin in the Name eld and select Login.
4.
The web-based manager has two conguration modes: Basic and Advanced. You can switch
between the basic mode and advanced mode of the web-based manager at any time with no
conguration loss. To switch between the two modes, go to either Basic >> or Advanced >>.
The following congurations are described for Basic mode (the default conguration mode).
Server mode
To switch to Server mode
Go to Management > Status.
1.
Select Change for the Operation Mode.
2.
Select Server. The FortiMail unit will reset to factory default settings.
3.
To change the administrator password
Go to Settings > Cong > Admin.
1.
Select Change Password for the admin administrator and enter a new password.
2.
To congure interfaces
Go to Settings > Network > Interface.
1.
Select the Modify icon for each interface to congure.
2.
Set the addressing mode for the interface. (See the online help for information.)
3.
To congure the Primary and Secondary DNS server IP addresses
Go to Settings > Network > DNS, enter the Primary and Secondary DNS IP addresses.
1.
To congure a Default Gateway
Go to Settings > Network > Routing and select Edit icon for the static route.
1.
Set Gateway to the Default Gateway IP address you recorded above and select OK.
2.
Transparent mode
To switch to Transparent mode
1.
Go to Management > Status.
2.
Select Change for the Operation Mode.
3.
Select Transparent. The FortiMail unit will reset to factory default settings.
To change the administrator password
1.
Go to Settings > Cong > Admin.
2.
Select Change Password for the admin administrator and enter a new password.
To change the management interface
1.
Go to Settings > Network > Management IP.
2.
Enter the Management IP address and netmask.
To congure the Primary and Secondary DNS server IP addresses
Go to Settings > Network > DNS, enter the Primary and Secondary DNS IP addresses.
Command Line Interface
1.
Use the RJ-45 to DB-9 serial cable to connect the FortiMail Console port to the management computer serial port.
2.
Start a terminal emulation program (HyperTerminal) on the management computer. Use
these settings:
Baud Rate (bps) 9600, Data bits 8, Parity None, Stop bits 1, and Flow Control None.
3.
At the Login: prompt, type admin and press Enter twice (no password required).
Conguring the FortiMail unit
The CLI commands to congure the FortiMail unit are the same for all three modes.
1.
Congure the interface IP addresses.
set system interface <port_number> mode static
ip <ip_address><netmask>
3.
Congure the primary and secondary DNS server IP addresses.
set system dns primary <dns-server_ip>
set system dns secondary <dns-server_ip>
Gateway mode
To switch to Gateway mode
Go to Management > Status.
1.
Select Change for the Operation Mode.
2.
Select Gateway. The FortiMail unit will reset to factory default settings.
3.
To change the administrator password
Go to Settings > Cong > Admin.
1.
Select Change Password for the admin administrator and enter a new password.
2.
To congure interfaces
Go to Settings > Network > Interface.
1.
Select the Modify icon for each interface to congure.
2.
Set the addressing mode for the interface. (See the online help for information.)
3.
To congure the DNS server and default gateway IP addresses
Go to Settings > Network > Network, enter the Primary and Secondary DNS, and
1.
Default Gateway IP addresses.
Congratulations!
You have nished conguring the basic settings. To explore the full range of conguration
options, see the online help or the Tools and Documentation CD.
4.
Congure the default gateway.
set system route number <route_number>gw1 <gateway_ip>
Changing Modes
1.
To change modes
set system opmode {gateway | server | transparent}
2.
Set the management IP for Transparent mode.
set system managementip <ip_address> netmask <netmask>
Visit these links for more information and documentation for your Fortinet product.
Technical Documentation - http://docs.forticare.com
•
Fortinet Knowledge Center - http://kc.forticare.com
•
Fortinet Technical Support - http://support.fortinet.com
•