background image

NAT/Route Mode

Port

IP:

____.____.____.____

Netmask:

____.____.____.____

Port

IP:

____.____.____.____

Netmask:

____.____.____.____

Port

IP:

____.____.____.____

Netmask:

____.____.____.____

Port

IP:

____.____.____.____

Netmask:

____.____.____.____

Port

IP:

____.____.____.____

Netmask:

____.____.____.____

The internal interface IP address and netmask must be valid for the internal network.

 

Transparent mode

Management IP:

IP:

____.____.____.____

Netmask:

____.____.____.____

The management IP address and netmask must be valid for the network from which you will 

manage the FortiGate unit.

General settings

Administrator password: 
Network Settings: 

Default Gateway: 

____.____.____.____

Primary DNS Server:

____.____.____.____

Secondary DNS Server:

____.____.____.____

A default gateway is required for the FortiGate unit to route connections to the Internet.

Factory default settings

NAT/Route mode

Transparent mode

Port 1 interface

192.168.1.99

Management IP

0.0.0.0

Port 2 interface

192.168.100.99

Administrative account settings

Port 3 interface

192.168.101.99

User name

admin

DHCP server on Internal 

interface

192.168.1.110 

– 192.168.1.210

Password

(none)

To reset the FortiGate unit to the factory defaults, in the CLI type the command 

 

execute factory reset

Web-based Manager

Connect the FortiGate internal 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. 

Configure the management computer to be on the same subnet as the internal interface 

2. 

of the FortiGate 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 FortiGate web-based manager, start Internet Explorer and browse to 

3. 

https://192.168.1.99 (remember to include the “s” in https://). 

Type admin in the Name field and select Login.

4. 

NAT/Route mode

To change the administrator password

Go to 

1. 

System > Admin > Administrators

.

Select Change Password for the admin administrator and enter a new password. 

2. 

To configure interfaces

Go to 

1. 

System > Network > Interface

.

Select the edit icon for each interface to configure.

2. 

Set the addressing mode for the interface. (See the online help for information.)

3. 

For manual addressing, enter the IP address and netmask for the interface.

• 

For DHCP addressing, select DHCP and any required settings.

• 

For PPPoE addressing, select PPPoE, and enter the username and password and 

• 

any other required settings. 

To configure the Primary and Secondary DNS server IP addresses

Go to 

1. 

System > Network > Options

, enter the Primary and Secondary DNS IP ad-

dresses that you recorded above and select Apply. 

To configure a Default Gateway

Go to 

1. 

Router > Static

 and select Edit icon for the static route.

Set Gateway to the Default Gateway IP address you recorded above and select OK.

2. 

Transparent mode

 

To switch from NAT/route mode to transparent mode

Go to 

1. 

System > Config > Operation Mode

 and select Transparent.

Set the Management IP/Netmask to 192.168.1.99/24.

2. 

Set a default Gateway and select Apply. 

3. 

To change the administrator password

Go to 

1. 

System > Admin > Administrators

.

Select Change Password for the admin administrator and enter a new password. 

2. 

To change the management interface

Go to 

1. 

System > Config > Operation Mode

.

Enter the Management IP address and netmask that you recorded above and select 

2. 

Apply. 

To configure the Primary and Secondary DNS server IP addresses

Go to 

1. 

System > Network > Options

, enter the Primary and Secondary DNS IP ad-

dresses that you recorded above and select Apply.

Command Line Interface

Use the RJ-45 to DB9 serial cable to connect the FortiGate Console port to the man-

1. 

agement computer serial port. 

Start a terminal emulation program (HyperTerminal) on the management computer. Use 

2. 

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).

4. 

NAT/Route mode

Configure the FortiGate internal interface. 

1. 

config system interface

    edit internal 

         set ip <interface_ipv4mask>

end

Repeat to configure each interface, for example, to configure the WAN1 interface.

2. 

config system interface

    edit wan1 

        ...

Configure the primary and secondary DNS server IP addresses.

3. 

config system dns

    set primary <dns_ipv4>

    set secondary <dns_ipv4>

end

Configure the default gateway.

4. 

config router static

    edit 1

        set gateway <gateway_address_ipv4>

end

Transparent Mode

Change from NAT/Route mode to Transparent mode and configure the Management IP 

1. 

address.

config system settings

    set opmode transparent

    set manageip <manage_ipv4>

    set gateway <gw_ipv4>

end

Configure the DNS server IP address.

2. 

config system dns 

    set primary <dns_ipv4>

    set secondary <dns_ipv4>

end

Collecting Information

Configuring

NAT/Route mode

You would typically use NAT/Route mode when the FortiGate unit is deployed as a gateway 

between private and public networks. In its default NAT/Route mode configuration, the unit 

functions as a firewall. Firewall policies control communications through the FortiGate unit. 

Transparent mode

You would typically use the FortiGate unit in Transparent mode on a private network behind 

an existing firewall or behind a router. In its default Transparent mode configuration, the unit 

functions as a firewall.

Refer to the Tools and Documentation CD for information on how to control traffic, and how to configure HA, antivirus protection, FortiGuard, Web content filtering, Spam filtering, intrusion 

prevention (IPS), and virtual private networking (VPN).

Reviews: